From ba16094e63ef08b4633db6c41167535f68539382 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sat, 25 Jan 2020 20:01:01 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Lean/Elab/Quotation.lean | 10 +- stage0/src/Init/Lean/Elab/Syntax.lean | 18 +- stage0/src/Init/Lean/Elab/TermBinders.lean | 8 +- stage0/src/Init/Lean/Parser/Parser.lean | 5 +- stage0/src/Init/Lean/Parser/Term.lean | 14 +- .../stdlib/Init/Lean/Elab/BuiltinNotation.c | 46 +- stage0/stdlib/Init/Lean/Elab/Command.c | 10 +- stage0/stdlib/Init/Lean/Elab/Quotation.c | 19133 +++++++------- stage0/stdlib/Init/Lean/Elab/Syntax.c | 2796 +- stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c | 10 +- stage0/stdlib/Init/Lean/Elab/Term.c | 16 +- stage0/stdlib/Init/Lean/Elab/TermBinders.c | 21162 ++++++++-------- stage0/stdlib/Init/Lean/Elab/Util.c | 4 +- stage0/stdlib/Init/Lean/Parser/Command.c | 46 +- stage0/stdlib/Init/Lean/Parser/Level.c | 24 +- stage0/stdlib/Init/Lean/Parser/Parser.c | 900 +- stage0/stdlib/Init/Lean/Parser/Syntax.c | 32 +- stage0/stdlib/Init/Lean/Parser/Tactic.c | 26 +- stage0/stdlib/Init/Lean/Parser/Term.c | 3863 ++- stage0/stdlib/Init/Lean/Parser/Transform.c | 4 +- 20 files changed, 24136 insertions(+), 23991 deletions(-) diff --git a/stage0/src/Init/Lean/Elab/Quotation.lean b/stage0/src/Init/Lean/Elab/Quotation.lean index 68e5f2141b..9e393169c8 100644 --- a/stage0/src/Init/Lean/Elab/Quotation.lean +++ b/stage0/src/Init/Lean/Elab/Quotation.lean @@ -381,15 +381,15 @@ private unsafe partial def toPreterm : Syntax → TermElabM Expr e ← toPreterm stx; pure $ lctx.mkLambda #[mkFVar n] e | `Lean.Parser.Term.let => do - let ⟨n, val⟩ := show Name × Syntax from match (args.get! 1).getKind with - | `Lean.Parser.Term.letIdDecl => ((args.get! 1).getIdAt 0, (args.get! 1).getArg 4) - | `Lean.Parser.Term.letPatDecl => (((args.get! 1).getArg 0).getIdAt 0, (args.get! 1).getArg 3) - | _ => unreachable!; + let decl := args.get! 1; + let n := if (decl.getArg 0).isIdent then (decl.getArg 0).getId else (decl.getArg 0).getIdAt 0; + let val := decl.getArg 4; + let body := args.get! 3; val ← toPreterm val; lctx ← getLCtx; let lctx := lctx.mkLetDecl n n exprPlaceholder val; adaptReader (fun (ctx : Context) => { lctx := lctx, .. ctx }) $ do - e ← toPreterm $ args.get! 3; + e ← toPreterm $ body; pure $ lctx.mkLambda #[mkFVar n] e | `Lean.Parser.Term.let_core => -- parser! "let_core " >> termParser >> ":=" >> termParser >> "; " >> termParser diff --git a/stage0/src/Init/Lean/Elab/Syntax.lean b/stage0/src/Init/Lean/Elab/Syntax.lean index ccd725db13..65d415692e 100644 --- a/stage0/src/Init/Lean/Elab/Syntax.lean +++ b/stage0/src/Init/Lean/Elab/Syntax.lean @@ -180,16 +180,18 @@ fun stx => do trace `Elab stx $ fun _ => d; withMacroExpansion stx d $ elabCommand d -@[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := -adaptExpander $ fun stx => match_syntax stx with -| `(macro_rules $alts*) => do - -- TODO: clean up with matchAlt quotation - k ← match_syntax ((alts.get! 0).getArg 1).getArg 0 with +def elabMacroRulesAux (alts : Array Syntax) : CommandElabM Syntax := do +k ← match_syntax ((alts.get! 0).getArg 0).getArg 0 with | `(`($quot)) => pure quot.getKind | stx => throwUnsupportedSyntax; - -- TODO: meaningful, unhygienic def name for selective macro `open`ing? - `(@[macro $(Lean.mkIdent k)] def myMacro : Macro := fun stx => match_syntax stx with $alts* | _ => throw Lean.Macro.Exception.unsupportedSyntax) -| _ => throwUnsupportedSyntax +-- TODO: meaningful, unhygienic def name for selective macro `open`ing? +`(@[macro $(Lean.mkIdent k)] def myMacro : Macro := fun stx => match_syntax stx with $alts:matchAlt* | _ => throw Lean.Macro.Exception.unsupportedSyntax) + +@[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := +adaptExpander $ fun stx => match_syntax stx with +| `(macro_rules $alts:matchAlt*) => elabMacroRulesAux alts +| `(macro_rules | $alts:matchAlt*) => elabMacroRulesAux alts +| _ => throwUnsupportedSyntax /- We just ignore Lean3 notation declaration commands. -/ @[builtinCommandElab «mixfix»] def elabMixfix : CommandElab := fun _ => pure () diff --git a/stage0/src/Init/Lean/Elab/TermBinders.lean b/stage0/src/Init/Lean/Elab/TermBinders.lean index 20f7984693..a39b46f52e 100644 --- a/stage0/src/Init/Lean/Elab/TermBinders.lean +++ b/stage0/src/Init/Lean/Elab/TermBinders.lean @@ -305,20 +305,18 @@ let type := expandOptType ref (decl.getArg 2); let val := decl.getArg 4; elabLetDeclAux ref n binders type val body expectedType? -/- @[builtinTermElab «let»] def elabLetDecl : TermElab := fun stx expectedType? => match_syntax stx with -| `(let $id $args* := $val; $body) => +| `(let $id:ident $args* := $val; $body) => elabLetDeclAux stx id.getId args (mkHole stx) val body expectedType? -| `(let $id $args* : $type := $val; $body) => +| `(let $id:ident $args* : $type := $val; $body) => elabLetDeclAux stx id.getId args type val body expectedType? | `(let $id:id := $val; $body) => do -- HACK: support single Term.id pattern let (as produced by quotations) by translation to ident let for now let id := id.getArg 0; - stx ← `(let $id:ident := $val; $body); + stx ← `(let $id := $val; $body); elabTerm stx expectedType? | _ => throwUnsupportedSyntax --/ @[init] private def regTraceClasses : IO Unit := do registerTraceClass `Elab.let; diff --git a/stage0/src/Init/Lean/Parser/Parser.lean b/stage0/src/Init/Lean/Parser/Parser.lean index 166f0edb11..c1ffa238bd 100644 --- a/stage0/src/Init/Lean/Parser/Parser.lean +++ b/stage0/src/Init/Lean/Parser/Parser.lean @@ -1460,7 +1460,7 @@ private def noImmediateColon {k : ParserKind} : Parser k := else s } -private def pushNone {k : ParserKind} : Parser k := +def pushNone {k : ParserKind} : Parser k := { fn := fun a c s => s.pushSyntax mkNullNode } /- @@ -1490,6 +1490,9 @@ node kind $ try $ dollarSymbol >> checkNoWsBefore "no space before" >> antiquotE /- End of Antiquotations -/ /- ===================== -/ +def nodeWithAntiquot {k : ParserKind} (name : String) (kind : SyntaxNodeKind) (p : Parser k) : Parser k := +mkAntiquot name kind false <|> node kind p + def ident {k : ParserKind} : Parser k := mkAntiquot "ident" identKind <|> identNoAntiquot diff --git a/stage0/src/Init/Lean/Parser/Term.lean b/stage0/src/Init/Lean/Parser/Term.lean index b2e7b368da..4542f6698b 100644 --- a/stage0/src/Init/Lean/Parser/Term.lean +++ b/stage0/src/Init/Lean/Parser/Term.lean @@ -81,8 +81,8 @@ def simpleBinder := parser! many1 binderIdent @[builtinTermParser] def «forall» := parser! unicodeSymbol "∀" "forall" >> many1 (simpleBinder <|> bracktedBinder) >> ", " >> termParser def matchAlt : Parser := - let k := `Lean.Parser.Term.matchAlt; - mkAntiquot "matchAlt" k false <|> node k (sepBy1 termParser ", " >> darrow >> termParser) +nodeWithAntiquot "matchAlt" `Lean.Parser.Term.matchAlt $ + sepBy1 termParser ", " >> darrow >> termParser def matchAlts (optionalFirstBar := true) : Parser := withPosition $ fun pos => @@ -100,11 +100,11 @@ withPosition $ fun pos => @[builtinTermParser] def «match_syntax» := parser! "match_syntax" >> termParser >> " with " >> matchAlts /- Remark: we use `checkWsBefore` to ensure `let x[i] := e; b` is not parsed as `let x [i] := e; b` where `[i]` is an `instBinder`. -/ -def letIdLhs : Parser := ident >> checkWsBefore "expected space before binders" >> many bracktedBinder >> optType -def letSimpleDecl : Parser := try (letIdLhs >> " := ") >> termParser -def letPatDecl : Parser := try (termParser >> optType >> " := ") >> termParser -def letEqnsDecl : Parser := letIdLhs >> matchAlts false -def letDecl := letSimpleDecl <|> letPatDecl <|> letEqnsDecl +def letIdLhs : Parser := ident >> checkWsBefore "expected space before binders" >> many bracktedBinder >> optType +def letIdDecl : Parser := nodeWithAntiquot "letDecl" `Lean.Parser.Term.letDecl $ try (letIdLhs >> " := ") >> termParser +def letPatDecl : Parser := node `Lean.Parser.Term.letDecl $ try (termParser >> pushNone >> optType >> " := ") >> termParser +def letEqnsDecl : Parser := node `Lean.Parser.Term.letDecl $ letIdLhs >> matchAlts false +def letDecl := letIdDecl <|> letPatDecl <|> letEqnsDecl @[builtinTermParser] def «let» := parser! "let " >> letDecl >> "; " >> termParser @[builtinTermParser] def «let_core» := parser! "let_core " >> termParser >> ":=" >> termParser >> "; " >> termParser diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index 85c6893833..15e7de06c5 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -405,7 +405,6 @@ lean_object* l_Lean_Elab_Term_elabAnd___boxed(lean_object*, lean_object*, lean_o lean_object* l_Lean_Elab_Term_elabMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMap___closed__2; lean_object* l_Lean_Elab_Term_elabGE___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__5; lean_object* l_Lean_Elab_Term_elabMap___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabGE___closed__2; @@ -614,6 +613,7 @@ lean_object* l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_elabBEq___closed__1; lean_object* l_Lean_Elab_Term_elabNe___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnd___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabSub___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHave(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLE___closed__2; @@ -939,7 +939,7 @@ x_70 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_71 = lean_array_push(x_70, x_69); x_72 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_73 = lean_array_push(x_71, x_72); -x_74 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_74 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___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); @@ -1011,7 +1011,7 @@ x_113 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_114 = lean_array_push(x_113, x_112); x_115 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_116 = lean_array_push(x_114, x_115); -x_117 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_117 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___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); @@ -1957,7 +1957,7 @@ x_122 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_123 = lean_array_push(x_122, x_121); x_124 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_125 = lean_array_push(x_123, x_124); -x_126 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_126 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); @@ -2044,7 +2044,7 @@ x_173 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_174 = lean_array_push(x_173, x_172); x_175 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_176 = lean_array_push(x_174, x_175); -x_177 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_177 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); @@ -2407,7 +2407,7 @@ x_43 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_44 = lean_array_push(x_43, x_42); x_45 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_46 = lean_array_push(x_44, x_45); -x_47 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_47 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -2489,7 +2489,7 @@ x_92 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_93 = lean_array_push(x_92, x_91); x_94 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_95 = lean_array_push(x_93, x_94); -x_96 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_96 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -2663,7 +2663,7 @@ x_168 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_169 = lean_array_push(x_168, x_167); x_170 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_171 = lean_array_push(x_169, x_170); -x_172 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_172 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_173 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_173, 0, x_172); lean_ctor_set(x_173, 1, x_171); @@ -2753,7 +2753,7 @@ x_221 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_222 = lean_array_push(x_221, x_220); x_223 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_224 = lean_array_push(x_222, x_223); -x_225 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_225 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_226 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_226, 0, x_225); lean_ctor_set(x_226, 1, x_224); @@ -3472,7 +3472,7 @@ x_33 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_34 = lean_array_push(x_33, x_32); x_35 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_36 = lean_array_push(x_34, x_35); -x_37 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_37 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -3541,7 +3541,7 @@ x_73 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_74 = lean_array_push(x_73, x_72); x_75 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_76 = lean_array_push(x_74, x_75); -x_77 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_77 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_77); lean_ctor_set(x_78, 1, x_76); @@ -3821,7 +3821,7 @@ x_45 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_46 = lean_array_push(x_45, x_44); x_47 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_48 = lean_array_push(x_46, x_47); -x_49 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_49 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -3895,7 +3895,7 @@ x_89 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_90 = lean_array_push(x_89, x_88); x_91 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_92 = lean_array_push(x_90, x_91); -x_93 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_93 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___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); @@ -4015,7 +4015,7 @@ x_150 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_151 = lean_array_push(x_150, x_149); x_152 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_153 = lean_array_push(x_151, x_152); -x_154 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_154 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___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); @@ -4089,7 +4089,7 @@ x_194 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_195 = lean_array_push(x_194, x_193); x_196 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_197 = lean_array_push(x_195, x_196); -x_198 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_198 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_199 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_199, 0, x_198); lean_ctor_set(x_199, 1, x_197); @@ -4244,7 +4244,7 @@ x_266 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_267 = lean_array_push(x_266, x_265); x_268 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_269 = lean_array_push(x_267, x_268); -x_270 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_270 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_271 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_271, 0, x_270); lean_ctor_set(x_271, 1, x_269); @@ -4311,7 +4311,7 @@ x_305 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_306 = lean_array_push(x_305, x_304); x_307 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_308 = lean_array_push(x_306, x_307); -x_309 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_309 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_310 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_310, 0, x_309); lean_ctor_set(x_310, 1, x_308); @@ -4426,7 +4426,7 @@ x_363 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_364 = lean_array_push(x_363, x_362); x_365 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_366 = lean_array_push(x_364, x_365); -x_367 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_367 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_368 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_368, 0, x_367); lean_ctor_set(x_368, 1, x_366); @@ -4493,7 +4493,7 @@ x_402 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_403 = lean_array_push(x_402, x_401); x_404 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_405 = lean_array_push(x_403, x_404); -x_406 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_406 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_407 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_407, 0, x_406); lean_ctor_set(x_407, 1, x_405); @@ -5217,7 +5217,7 @@ x_94 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_95 = lean_array_push(x_94, x_93); x_96 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_97 = lean_array_push(x_95, x_96); -x_98 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_98 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -5307,7 +5307,7 @@ x_141 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_142 = lean_array_push(x_141, x_140); x_143 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_144 = lean_array_push(x_142, x_143); -x_145 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_145 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); @@ -5408,7 +5408,7 @@ x_193 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_194 = lean_array_push(x_193, x_192); x_195 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_196 = lean_array_push(x_194, x_195); -x_197 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_197 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_198 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_198, 0, x_197); lean_ctor_set(x_198, 1, x_196); @@ -5516,7 +5516,7 @@ x_250 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_251 = lean_array_push(x_250, x_249); x_252 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_253 = lean_array_push(x_251, x_252); -x_254 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_254 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_254); lean_ctor_set(x_255, 1, x_253); diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 6ff7b005b6..0c840c8212 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -31,7 +31,6 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Command_elabComma extern lean_object* l_Lean_Meta_check___closed__1; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getOptions(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; extern lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__3; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__3; @@ -325,7 +324,6 @@ extern lean_object* l_Lean_Parser_Command_open___elambda__1___closed__2; uint8_t l_Array_contains___at_Lean_findField_x3f___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__1; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Command_elabEnd___closed__2; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -380,6 +378,7 @@ extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__4; lean_object* l___private_Init_Lean_Elab_Command_2__getState(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_universe___elambda__1___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Command_elabCommand___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___closed__2; extern lean_object* l_Bool_HasRepr___closed__1; extern lean_object* l_Lean_Syntax_inhabited; @@ -476,6 +475,7 @@ lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg(lean_o extern lean_object* l_Lean_Parser_Command_openOnly___elambda__1___closed__2; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___lambda__3(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Command_setOption___closed__3; lean_object* l_Lean_Elab_Command_registerBuiltinCommandElabAttr___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Command_4__modifyGetState___rarg(lean_object*, lean_object*, lean_object*); @@ -3398,7 +3398,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -3503,7 +3503,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3830,7 +3830,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index d127755a7d..3da3616fb8 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -57,7 +57,6 @@ 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*); -lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__54; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,7 +135,6 @@ extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l_List_range(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___lambda__1___closed__2; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Name_inhabited; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__12; extern lean_object* l_String_splitAux___main___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; @@ -386,14 +384,12 @@ lean_object* l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHe lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___rarg___closed__3; lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__4; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; lean_object* l_Lean_KVMap_setName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__27; extern lean_object* l_Lean_Parser_appPrec; lean_object* l_Lean_Array_hasQuote(lean_object*); @@ -446,7 +442,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda_ lean_object* l_Lean_List_hasQuote___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__16; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__10; -lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__22; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__32; lean_object* l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1; @@ -580,9 +575,9 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__14; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__9; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__37; -lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm___boxed(lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__3___closed__1; extern lean_object* l_Lean_mkAppStx___closed__1; uint8_t l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(lean_object*, lean_object*); @@ -595,6 +590,7 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* lean_expand_match_syntax(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__6; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_2__quoteList___main___rarg___closed__1; @@ -610,6 +606,7 @@ lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___boxed(lean_object lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___closed__3; +uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__22; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__27; lean_object* _init_l_Lean_Syntax_HasQuote() { @@ -3364,7 +3361,7 @@ x_340 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_341 = lean_array_push(x_340, x_339); x_342 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_343 = lean_array_push(x_341, x_342); -x_344 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_344 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_345 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_345, 0, x_344); lean_ctor_set(x_345, 1, x_343); @@ -3515,7 +3512,7 @@ x_423 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_424 = lean_array_push(x_423, x_422); x_425 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_426 = lean_array_push(x_424, x_425); -x_427 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_427 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_428 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); @@ -3715,7 +3712,7 @@ x_528 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_529 = lean_array_push(x_528, x_527); x_530 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_531 = lean_array_push(x_529, x_530); -x_532 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_532 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_533 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_533, 0, x_532); lean_ctor_set(x_533, 1, x_531); @@ -4306,7 +4303,7 @@ x_93 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_94 = lean_array_push(x_93, x_92); x_95 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_96 = lean_array_push(x_94, x_95); -x_97 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_97 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -4491,7 +4488,7 @@ x_194 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_195 = lean_array_push(x_194, x_193); x_196 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_197 = lean_array_push(x_195, x_196); -x_198 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_198 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_199 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_199, 0, x_198); lean_ctor_set(x_199, 1, x_197); @@ -5669,7 +5666,7 @@ x_45 = lean_box(0); x_46 = lean_name_eq(x_44, x_45); lean_dec(x_44); x_47 = l_Lean_Syntax_getArg(x_14, x_13); -x_48 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_48 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_inc(x_47); x_49 = l_Lean_Syntax_isOfKind(x_47, x_48); x_50 = l_Lean_Elab_Term_Quotation_isAntiquotSplice(x_14); @@ -9682,7 +9679,7 @@ x_659 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_660 = lean_array_push(x_659, x_658); x_661 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_662 = lean_array_push(x_660, x_661); -x_663 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_663 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_664 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_664, 0, x_663); lean_ctor_set(x_664, 1, x_662); @@ -10052,7 +10049,7 @@ x_847 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43; x_848 = lean_array_push(x_847, x_846); x_849 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_850 = lean_array_push(x_848, x_849); -x_851 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_851 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_852 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_852, 0, x_851); lean_ctor_set(x_852, 1, x_850); @@ -10581,7 +10578,7 @@ x_1060 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__43 x_1061 = lean_array_push(x_1060, x_1059); x_1062 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_1063 = lean_array_push(x_1061, x_1062); -x_1064 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1064 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_1065 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1065, 0, x_1064); lean_ctor_set(x_1065, 1, x_1063); @@ -10976,7 +10973,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_7 = l_Lean_Syntax_inhabited; x_8 = lean_unsigned_to_nat(1u); x_9 = lean_array_get(x_7, x_2, x_8); -x_10 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_10 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_inc(x_9); x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); if (x_11 == 0) @@ -11388,7 +11385,7 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_2 = l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -14527,2712 +14524,2838 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Name_inhabited; -x_2 = l_Lean_Syntax_inhabited; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("letIdDecl"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("letPatDecl"); -return x_1; -} -} lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_96; lean_object* x_97; +lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = l_Lean_Syntax_getArgs(x_1); lean_inc(x_1); -x_96 = l_Lean_Syntax_getKind(x_1); -if (lean_obj_tag(x_96) == 1) +x_5 = l_Lean_Syntax_getKind(x_1); +if (lean_obj_tag(x_5) == 1) { -lean_object* x_106; -x_106 = lean_ctor_get(x_96, 0); -lean_inc(x_106); -switch (lean_obj_tag(x_106)) { +lean_object* x_15; +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +switch (lean_obj_tag(x_15)) { case 0: { -lean_object* x_107; lean_object* x_108; uint8_t x_109; +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_dec(x_4); -x_107 = lean_ctor_get(x_96, 1); -lean_inc(x_107); -x_108 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__4; -x_109 = lean_string_dec_eq(x_107, x_108); -lean_dec(x_107); -if (x_109 == 0) +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +x_17 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__4; +x_18 = lean_string_dec_eq(x_16, x_17); +lean_dec(x_16); +if (x_18 == 0) { -lean_object* x_110; -x_110 = lean_box(0); -x_97 = x_110; -goto block_105; +lean_object* x_19; +x_19 = lean_box(0); +x_6 = x_19; +goto block_14; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec(x_96); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_5); lean_dec(x_2); -x_111 = lean_unsigned_to_nat(0u); -x_112 = l_Lean_Syntax_getArg(x_1, x_111); +x_20 = lean_unsigned_to_nat(0u); +x_21 = l_Lean_Syntax_getArg(x_1, x_20); lean_dec(x_1); -x_113 = l_Lean_Expr_Inhabited; -x_114 = x_112; -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_3); -return x_115; +x_22 = l_Lean_Expr_Inhabited; +x_23 = x_21; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; } } case 1: { -lean_object* x_116; -x_116 = lean_ctor_get(x_106, 0); -lean_inc(x_116); -if (lean_obj_tag(x_116) == 1) +lean_object* x_25; +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 1) { -lean_object* x_117; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -if (lean_obj_tag(x_117) == 1) +lean_object* x_26; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 1) { -lean_object* x_118; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -if (lean_obj_tag(x_118) == 0) +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_119; uint8_t x_120; -x_119 = lean_ctor_get(x_96, 1); -lean_inc(x_119); -x_120 = !lean_is_exclusive(x_106); -if (x_120 == 0) +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_5, 1); +lean_inc(x_28); +x_29 = !lean_is_exclusive(x_15); +if (x_29 == 0) { -size_t x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = lean_ctor_get_usize(x_96, 2); -x_122 = lean_ctor_get(x_106, 1); -x_123 = lean_ctor_get(x_106, 0); -lean_dec(x_123); -x_124 = !lean_is_exclusive(x_116); -if (x_124 == 0) +size_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get_usize(x_5, 2); +x_31 = lean_ctor_get(x_15, 1); +x_32 = lean_ctor_get(x_15, 0); +lean_dec(x_32); +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) { -lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_125 = lean_ctor_get(x_116, 1); -x_126 = lean_ctor_get(x_116, 0); -lean_dec(x_126); -x_127 = !lean_is_exclusive(x_117); -if (x_127 == 0) +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_25, 1); +x_35 = lean_ctor_get(x_25, 0); +lean_dec(x_35); +x_36 = !lean_is_exclusive(x_26); +if (x_36 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_128 = lean_ctor_get(x_117, 1); -x_129 = lean_ctor_get(x_117, 0); -lean_dec(x_129); -x_130 = l_Lean_mkAppStx___closed__1; -x_131 = lean_string_dec_eq(x_128, x_130); -lean_dec(x_128); -if (x_131 == 0) +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_26, 1); +x_38 = lean_ctor_get(x_26, 0); +lean_dec(x_38); +x_39 = l_Lean_mkAppStx___closed__1; +x_40 = lean_string_dec_eq(x_37, x_39); +lean_dec(x_37); +if (x_40 == 0) { -lean_object* x_132; -lean_free_object(x_117); -lean_free_object(x_116); -lean_dec(x_125); -lean_free_object(x_106); -lean_dec(x_122); -lean_dec(x_119); +lean_object* x_41; +lean_free_object(x_26); +lean_free_object(x_25); +lean_dec(x_34); +lean_free_object(x_15); +lean_dec(x_31); +lean_dec(x_28); lean_dec(x_4); -x_132 = lean_box(0); -x_97 = x_132; -goto block_105; +x_41 = lean_box(0); +x_6 = x_41; +goto block_14; } else { -uint8_t x_133; -x_133 = !lean_is_exclusive(x_96); -if (x_133 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_5); +if (x_42 == 0) { -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_134 = lean_ctor_get(x_96, 1); -lean_dec(x_134); -x_135 = lean_ctor_get(x_96, 0); -lean_dec(x_135); -x_136 = l_Lean_mkAppStx___closed__3; -x_137 = lean_string_dec_eq(x_125, x_136); -if (x_137 == 0) +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_5, 1); +lean_dec(x_43); +x_44 = lean_ctor_get(x_5, 0); +lean_dec(x_44); +x_45 = l_Lean_mkAppStx___closed__3; +x_46 = lean_string_dec_eq(x_34, x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_4); +lean_ctor_set(x_26, 1, x_39); +x_47 = l_System_FilePath_dirName___closed__1; +x_48 = l_Lean_Name_toStringWithSep___main(x_47, x_5); +x_49 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_52 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Elab_Term_throwError___rarg(x_1, x_52, x_2, x_3); +lean_dec(x_1); +return x_53; +} +else +{ +lean_object* x_54; uint8_t x_55; +lean_dec(x_34); +x_54 = l_Lean_mkAppStx___closed__5; +x_55 = lean_string_dec_eq(x_31, x_54); +if (x_55 == 0) +{ +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_dec(x_4); +lean_ctor_set(x_26, 1, x_39); +lean_ctor_set(x_25, 1, x_45); +x_56 = l_System_FilePath_dirName___closed__1; +x_57 = l_Lean_Name_toStringWithSep___main(x_56, x_5); +x_58 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_61 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = l_Lean_Elab_Term_throwError___rarg(x_1, x_61, x_2, x_3); +lean_dec(x_1); +return x_62; +} +else +{ +lean_object* x_63; uint8_t x_64; +lean_dec(x_31); +x_63 = l_Lean_mkTermIdFromIdent___closed__1; +x_64 = lean_string_dec_eq(x_28, x_63); +if (x_64 == 0) +{ +lean_object* x_65; uint8_t x_66; +x_65 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_66 = lean_string_dec_eq(x_28, x_65); +if (x_66 == 0) +{ +lean_object* x_67; uint8_t x_68; +x_67 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_68 = lean_string_dec_eq(x_28, x_67); +if (x_68 == 0) +{ +lean_object* x_69; uint8_t x_70; +x_69 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; +x_70 = lean_string_dec_eq(x_28, x_69); +if (x_70 == 0) +{ +lean_object* x_71; uint8_t x_72; +x_71 = l_Lean_mkAppStx___closed__7; +x_72 = lean_string_dec_eq(x_28, x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_74 = lean_string_dec_eq(x_28, x_73); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_76 = lean_string_dec_eq(x_28, x_75); +if (x_76 == 0) +{ +lean_object* x_77; uint8_t x_78; +x_77 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_78 = lean_string_dec_eq(x_28, x_77); +if (x_78 == 0) +{ +lean_object* x_79; uint8_t x_80; +x_79 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_80 = lean_string_dec_eq(x_28, x_79); +if (x_80 == 0) +{ +lean_object* x_81; uint8_t x_82; +lean_dec(x_4); +x_81 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_82 = lean_string_dec_eq(x_28, x_81); +if (x_82 == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_84 = lean_string_dec_eq(x_28, x_83); +if (x_84 == 0) +{ +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_ctor_set(x_26, 1, x_39); +lean_ctor_set(x_25, 1, x_45); +lean_ctor_set(x_15, 1, x_54); +x_85 = l_System_FilePath_dirName___closed__1; +x_86 = l_Lean_Name_toStringWithSep___main(x_85, x_5); +x_87 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_90 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_Lean_Elab_Term_throwError___rarg(x_1, x_90, x_2, x_3); +lean_dec(x_1); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_92 = lean_unsigned_to_nat(0u); +x_93 = l_Lean_Syntax_getArg(x_1, x_92); +lean_dec(x_1); +x_94 = l_Lean_numLitKind; +x_95 = l_Lean_Syntax_isNatLitAux(x_94, x_93); +lean_dec(x_93); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_3); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_95, 0); +lean_inc(x_98); +lean_dec(x_95); +x_99 = l_Lean_mkNatLit(x_98); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_3); +return x_100; +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_101 = lean_unsigned_to_nat(0u); +x_102 = l_Lean_Syntax_getArg(x_1, x_101); +lean_dec(x_1); +x_103 = l_Lean_Syntax_isStrLit_x3f(x_102); +lean_dec(x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; +x_104 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_3); +return x_105; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_103, 0); +lean_inc(x_106); +lean_dec(x_103); +x_107 = l_Lean_mkStrLit(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_3); +return x_108; +} +} +} +else +{ +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_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_109 = l_Lean_Syntax_inhabited; +x_110 = lean_unsigned_to_nat(0u); +x_111 = lean_array_get(x_109, x_4, x_110); +x_112 = lean_unsigned_to_nat(2u); +x_113 = lean_array_get(x_109, x_4, x_112); +lean_dec(x_4); +x_114 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_114, 0, x_27); +lean_closure_set(x_114, 1, x_111); +lean_closure_set(x_114, 2, x_113); +x_115 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_116 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_116, 0, x_115); +lean_closure_set(x_116, 1, x_114); +x_117 = l_Lean_Unhygienic_run___rarg(x_116); +x_1 = x_117; +goto _start; +} +} +else +{ +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; lean_object* x_126; lean_object* x_127; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_119 = l_Lean_Syntax_inhabited; +x_120 = lean_unsigned_to_nat(0u); +x_121 = lean_array_get(x_119, x_4, x_120); +x_122 = lean_unsigned_to_nat(2u); +x_123 = lean_array_get(x_119, x_4, x_122); +lean_dec(x_4); +x_124 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_124, 0, x_27); +lean_closure_set(x_124, 1, x_121); +lean_closure_set(x_124, 2, x_123); +x_125 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_126 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_126, 0, x_125); +lean_closure_set(x_126, 1, x_124); +x_127 = l_Lean_Unhygienic_run___rarg(x_126); +x_1 = x_127; +goto _start; +} +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_129 = l_Lean_Syntax_inhabited; +x_130 = lean_unsigned_to_nat(1u); +x_131 = lean_array_get(x_129, x_4, x_130); +lean_dec(x_4); +x_132 = l_Lean_Syntax_getArgs(x_131); +lean_dec(x_131); +x_133 = lean_array_get_size(x_132); +x_134 = lean_unsigned_to_nat(0u); +x_135 = lean_nat_dec_eq(x_133, x_134); +lean_dec(x_133); +if (x_135 == 0) +{ +lean_object* x_136; +x_136 = lean_array_get(x_129, x_132, x_134); +lean_dec(x_132); +x_1 = x_136; +goto _start; +} +else { lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_4); -lean_ctor_set(x_117, 1, x_130); -x_138 = l_System_FilePath_dirName___closed__1; -x_139 = l_Lean_Name_toStringWithSep___main(x_138, x_96); -x_140 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_140, 0, x_139); -x_141 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_142 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_143 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -x_144 = l_Lean_Elab_Term_throwError___rarg(x_1, x_143, x_2, x_3); -lean_dec(x_1); +lean_dec(x_132); +lean_dec(x_2); +x_138 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_139 = lean_name_mk_string(x_27, x_138); +x_140 = l_Lean_Elab_Term_elabParen___closed__4; +x_141 = lean_name_mk_string(x_139, x_140); +x_142 = lean_box(0); +x_143 = l_Lean_mkConst(x_141, x_142); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_3); return x_144; } -else -{ -lean_object* x_145; uint8_t x_146; -lean_dec(x_125); -x_145 = l_Lean_mkAppStx___closed__5; -x_146 = lean_string_dec_eq(x_122, x_145); -if (x_146 == 0) -{ -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_dec(x_4); -lean_ctor_set(x_117, 1, x_130); -lean_ctor_set(x_116, 1, x_136); -x_147 = l_System_FilePath_dirName___closed__1; -x_148 = l_Lean_Name_toStringWithSep___main(x_147, x_96); -x_149 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_149, 0, x_148); -x_150 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_150, 0, x_149); -x_151 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_152 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = l_Lean_Elab_Term_throwError___rarg(x_1, x_152, x_2, x_3); -lean_dec(x_1); -return x_153; +} } else { -lean_object* x_154; uint8_t x_155; -lean_dec(x_122); -x_154 = l_Lean_mkTermIdFromIdent___closed__1; -x_155 = lean_string_dec_eq(x_119, x_154); -if (x_155 == 0) +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_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_145 = l_Lean_Syntax_inhabited; +x_146 = lean_unsigned_to_nat(2u); +x_147 = lean_array_get(x_145, x_4, x_146); +x_148 = lean_unsigned_to_nat(4u); +x_149 = lean_array_get(x_145, x_4, x_148); +x_150 = lean_unsigned_to_nat(6u); +x_151 = lean_array_get(x_145, x_4, x_150); +lean_dec(x_4); +x_152 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_152, 0, x_27); +lean_closure_set(x_152, 1, x_147); +lean_closure_set(x_152, 2, x_149); +lean_closure_set(x_152, 3, x_151); +x_153 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_154 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_154, 0, x_153); +lean_closure_set(x_154, 1, x_152); +x_155 = l_Lean_Unhygienic_run___rarg(x_154); +x_1 = x_155; +goto _start; +} +} +else { -lean_object* x_156; uint8_t x_157; -x_156 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_157 = lean_string_dec_eq(x_119, x_156); -if (x_157 == 0) +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_157 = l_Lean_Syntax_inhabited; +x_158 = lean_unsigned_to_nat(0u); +x_159 = lean_array_get(x_157, x_4, x_158); +lean_inc(x_2); +x_160 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_159, x_2, x_3); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_158; uint8_t x_159; -x_158 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_159 = lean_string_dec_eq(x_119, x_158); -if (x_159 == 0) +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = lean_unsigned_to_nat(1u); +x_164 = lean_array_get(x_157, x_4, x_163); +lean_dec(x_4); +x_165 = l_Lean_Syntax_getArgs(x_164); +lean_dec(x_164); +x_166 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_158, x_165, x_2, x_162); +if (lean_obj_tag(x_166) == 0) { -lean_object* x_160; uint8_t x_161; -x_160 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; -x_161 = lean_string_dec_eq(x_119, x_160); -if (x_161 == 0) -{ -lean_object* x_162; uint8_t x_163; -x_162 = l_Lean_mkAppStx___closed__7; -x_163 = lean_string_dec_eq(x_119, x_162); -if (x_163 == 0) -{ -lean_object* x_164; uint8_t x_165; -x_164 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_165 = lean_string_dec_eq(x_119, x_164); -if (x_165 == 0) -{ -lean_object* x_166; uint8_t x_167; -x_166 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_167 = lean_string_dec_eq(x_119, x_166); +uint8_t x_167; +x_167 = !lean_is_exclusive(x_166); if (x_167 == 0) { -lean_object* x_168; uint8_t x_169; -x_168 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_169 = lean_string_dec_eq(x_119, x_168); -if (x_169 == 0) -{ -lean_object* x_170; uint8_t x_171; -x_170 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_171 = lean_string_dec_eq(x_119, x_170); -if (x_171 == 0) -{ -lean_object* x_172; uint8_t x_173; -lean_dec(x_4); -x_172 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_173 = lean_string_dec_eq(x_119, x_172); -if (x_173 == 0) -{ -lean_object* x_174; uint8_t x_175; -x_174 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_175 = lean_string_dec_eq(x_119, x_174); -if (x_175 == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_ctor_set(x_117, 1, x_130); -lean_ctor_set(x_116, 1, x_136); -lean_ctor_set(x_106, 1, x_145); -x_176 = l_System_FilePath_dirName___closed__1; -x_177 = l_Lean_Name_toStringWithSep___main(x_176, x_96); -x_178 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_178, 0, x_177); -x_179 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_179, 0, x_178); -x_180 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_181 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -x_182 = l_Lean_Elab_Term_throwError___rarg(x_1, x_181, x_2, x_3); -lean_dec(x_1); -return x_182; +lean_object* x_168; lean_object* x_169; +x_168 = lean_ctor_get(x_166, 0); +x_169 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_168, x_168, x_158, x_161); +lean_dec(x_168); +lean_ctor_set(x_166, 0, x_169); +return x_166; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_170 = lean_ctor_get(x_166, 0); +x_171 = lean_ctor_get(x_166, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_166); +x_172 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_170, x_170, x_158, x_161); +lean_dec(x_170); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +return x_173; +} +} +else +{ +uint8_t x_174; +lean_dec(x_161); +x_174 = !lean_is_exclusive(x_166); +if (x_174 == 0) +{ +return x_166; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_166, 0); +x_176 = lean_ctor_get(x_166, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_166); +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 +{ +uint8_t x_178; +lean_dec(x_4); lean_dec(x_2); -x_183 = lean_unsigned_to_nat(0u); -x_184 = l_Lean_Syntax_getArg(x_1, x_183); -lean_dec(x_1); -x_185 = l_Lean_numLitKind; -x_186 = l_Lean_Syntax_isNatLitAux(x_185, x_184); -lean_dec(x_184); +x_178 = !lean_is_exclusive(x_160); +if (x_178 == 0) +{ +return x_160; +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_160, 0); +x_180 = lean_ctor_get(x_160, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_160); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +} +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_182 = l_Lean_Syntax_inhabited; +x_183 = lean_unsigned_to_nat(1u); +x_184 = lean_array_get(x_182, x_4, x_183); +x_185 = 1; +x_186 = l_Lean_Syntax_isSimpleTermId_x3f(x_184, x_185); if (lean_obj_tag(x_186) == 0) { lean_object* x_187; lean_object* x_188; -x_187 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_3); +lean_dec(x_4); +x_187 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; +x_188 = l_Lean_Elab_Term_throwError___rarg(x_1, x_187, x_2, x_3); +lean_dec(x_1); return x_188; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_1); x_189 = lean_ctor_get(x_186, 0); lean_inc(x_189); lean_dec(x_186); -x_190 = l_Lean_mkNatLit(x_189); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_3); -return x_191; -} -} -} -else +x_190 = l_Lean_Syntax_getId(x_189); +lean_dec(x_189); +x_191 = lean_unsigned_to_nat(3u); +x_192 = lean_array_get(x_182, x_4, x_191); +lean_inc(x_2); +x_193 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_192, x_2, x_3); +if (lean_obj_tag(x_193) == 0) { -lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_2); -x_192 = lean_unsigned_to_nat(0u); -x_193 = l_Lean_Syntax_getArg(x_1, x_192); -lean_dec(x_1); -x_194 = l_Lean_Syntax_isStrLit_x3f(x_193); +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); lean_dec(x_193); -if (lean_obj_tag(x_194) == 0) -{ -lean_object* x_195; lean_object* x_196; -x_195 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_3); -return x_196; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_194, 0); +x_196 = l_Lean_Elab_Term_getLCtx(x_2, x_195); +x_197 = lean_ctor_get(x_196, 0); lean_inc(x_197); -lean_dec(x_194); -x_198 = l_Lean_mkStrLit(x_197); -x_199 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_3); -return x_199; -} -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_200 = l_Lean_Syntax_inhabited; -x_201 = lean_unsigned_to_nat(0u); -x_202 = lean_array_get(x_200, x_4, x_201); -x_203 = lean_unsigned_to_nat(2u); -x_204 = lean_array_get(x_200, x_4, x_203); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +x_199 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_190, 2); +x_200 = lean_local_ctx_mk_let_decl(x_197, x_190, x_190, x_199, x_194); +x_201 = lean_unsigned_to_nat(5u); +x_202 = lean_array_get(x_182, x_4, x_201); lean_dec(x_4); -x_205 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_205, 0, x_118); -lean_closure_set(x_205, 1, x_202); -lean_closure_set(x_205, 2, x_204); -x_206 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_207 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_207, 0, x_206); -lean_closure_set(x_207, 1, x_205); -x_208 = l_Lean_Unhygienic_run___rarg(x_207); -x_1 = x_208; -goto _start; +x_203 = !lean_is_exclusive(x_2); +if (x_203 == 0) +{ +lean_object* x_204; uint8_t x_205; +x_204 = lean_ctor_get(x_2, 0); +x_205 = !lean_is_exclusive(x_204); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; +x_206 = lean_ctor_get(x_204, 1); +lean_dec(x_206); +lean_inc(x_200); +lean_ctor_set(x_204, 1, x_200); +x_207 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_202, x_2, x_198); +if (lean_obj_tag(x_207) == 0) +{ +uint8_t x_208; +x_208 = !lean_is_exclusive(x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_209 = lean_ctor_get(x_207, 0); +x_210 = l_Lean_mkFVar(x_190); +x_211 = l_Lean_mkOptionalNode___closed__2; +x_212 = lean_array_push(x_211, x_210); +x_213 = l_Lean_LocalContext_mkLambda(x_200, x_212, x_209); +lean_dec(x_209); +lean_dec(x_212); +lean_ctor_set(x_207, 0, x_213); +return x_207; +} +else +{ +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; +x_214 = lean_ctor_get(x_207, 0); +x_215 = lean_ctor_get(x_207, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_207); +x_216 = l_Lean_mkFVar(x_190); +x_217 = l_Lean_mkOptionalNode___closed__2; +x_218 = lean_array_push(x_217, x_216); +x_219 = l_Lean_LocalContext_mkLambda(x_200, x_218, x_214); +lean_dec(x_214); +lean_dec(x_218); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_215); +return x_220; } } else { -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_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_210 = l_Lean_Syntax_inhabited; -x_211 = lean_unsigned_to_nat(0u); -x_212 = lean_array_get(x_210, x_4, x_211); -x_213 = lean_unsigned_to_nat(2u); -x_214 = lean_array_get(x_210, x_4, x_213); -lean_dec(x_4); -x_215 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_215, 0, x_118); -lean_closure_set(x_215, 1, x_212); -lean_closure_set(x_215, 2, x_214); -x_216 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_217 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_217, 0, x_216); -lean_closure_set(x_217, 1, x_215); -x_218 = l_Lean_Unhygienic_run___rarg(x_217); -x_1 = x_218; -goto _start; -} +uint8_t x_221; +lean_dec(x_200); +lean_dec(x_190); +x_221 = !lean_is_exclusive(x_207); +if (x_221 == 0) +{ +return x_207; } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_220 = l_Lean_Syntax_inhabited; -x_221 = lean_unsigned_to_nat(1u); -x_222 = lean_array_get(x_220, x_4, x_221); -lean_dec(x_4); -x_223 = l_Lean_Syntax_getArgs(x_222); -lean_dec(x_222); -x_224 = lean_array_get_size(x_223); -x_225 = lean_unsigned_to_nat(0u); -x_226 = lean_nat_dec_eq(x_224, x_225); -lean_dec(x_224); -if (x_226 == 0) -{ -lean_object* x_227; -x_227 = lean_array_get(x_220, x_223, x_225); -lean_dec(x_223); -x_1 = x_227; -goto _start; -} -else -{ -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_dec(x_223); -lean_dec(x_2); -x_229 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_230 = lean_name_mk_string(x_118, x_229); -x_231 = l_Lean_Elab_Term_elabParen___closed__4; -x_232 = lean_name_mk_string(x_230, x_231); -x_233 = lean_box(0); -x_234 = l_Lean_mkConst(x_232, x_233); -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_3); -return x_235; +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_207, 0); +x_223 = lean_ctor_get(x_207, 1); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_207); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +return x_224; } } } else { -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_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_236 = l_Lean_Syntax_inhabited; -x_237 = lean_unsigned_to_nat(2u); -x_238 = lean_array_get(x_236, x_4, x_237); -x_239 = lean_unsigned_to_nat(4u); -x_240 = lean_array_get(x_236, x_4, x_239); -x_241 = lean_unsigned_to_nat(6u); -x_242 = lean_array_get(x_236, x_4, x_241); -lean_dec(x_4); -x_243 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_243, 0, x_118); -lean_closure_set(x_243, 1, x_238); -lean_closure_set(x_243, 2, x_240); -lean_closure_set(x_243, 3, x_242); -x_244 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_245 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_245, 0, x_244); -lean_closure_set(x_245, 1, x_243); -x_246 = l_Lean_Unhygienic_run___rarg(x_245); -x_1 = x_246; -goto _start; +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_225 = lean_ctor_get(x_204, 0); +x_226 = lean_ctor_get(x_204, 2); +x_227 = lean_ctor_get(x_204, 3); +x_228 = lean_ctor_get(x_204, 4); +lean_inc(x_228); +lean_inc(x_227); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_204); +lean_inc(x_200); +x_229 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_229, 0, x_225); +lean_ctor_set(x_229, 1, x_200); +lean_ctor_set(x_229, 2, x_226); +lean_ctor_set(x_229, 3, x_227); +lean_ctor_set(x_229, 4, x_228); +lean_ctor_set(x_2, 0, x_229); +x_230 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_202, x_2, x_198); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_233 = x_230; +} else { + lean_dec_ref(x_230); + x_233 = lean_box(0); +} +x_234 = l_Lean_mkFVar(x_190); +x_235 = l_Lean_mkOptionalNode___closed__2; +x_236 = lean_array_push(x_235, x_234); +x_237 = l_Lean_LocalContext_mkLambda(x_200, x_236, x_231); +lean_dec(x_231); +lean_dec(x_236); +if (lean_is_scalar(x_233)) { + x_238 = lean_alloc_ctor(0, 2, 0); +} else { + x_238 = x_233; +} +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_232); +return x_238; +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_200); +lean_dec(x_190); +x_239 = lean_ctor_get(x_230, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_230, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_230)) { + lean_ctor_release(x_230, 0); + lean_ctor_release(x_230, 1); + x_241 = x_230; +} else { + lean_dec_ref(x_230); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} } } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_248 = l_Lean_Syntax_inhabited; -x_249 = lean_unsigned_to_nat(0u); -x_250 = lean_array_get(x_248, x_4, x_249); -lean_inc(x_2); -x_251 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_250, x_2, x_3); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_252 = lean_ctor_get(x_251, 0); +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; uint8_t 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; +x_243 = lean_ctor_get(x_2, 0); +x_244 = lean_ctor_get(x_2, 1); +x_245 = lean_ctor_get(x_2, 2); +x_246 = lean_ctor_get(x_2, 3); +x_247 = lean_ctor_get(x_2, 4); +x_248 = lean_ctor_get(x_2, 5); +x_249 = lean_ctor_get(x_2, 6); +x_250 = lean_ctor_get(x_2, 7); +x_251 = lean_ctor_get(x_2, 8); +x_252 = lean_ctor_get(x_2, 9); +x_253 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_254 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 1); -lean_inc(x_253); -lean_dec(x_251); -x_254 = lean_unsigned_to_nat(1u); -x_255 = lean_array_get(x_248, x_4, x_254); -lean_dec(x_4); -x_256 = l_Lean_Syntax_getArgs(x_255); -lean_dec(x_255); -x_257 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_249, x_256, x_2, x_253); -if (lean_obj_tag(x_257) == 0) +lean_inc(x_251); +lean_inc(x_250); +lean_inc(x_249); +lean_inc(x_248); +lean_inc(x_247); +lean_inc(x_246); +lean_inc(x_245); +lean_inc(x_244); +lean_inc(x_243); +lean_dec(x_2); +x_255 = lean_ctor_get(x_243, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_243, 2); +lean_inc(x_256); +x_257 = lean_ctor_get(x_243, 3); +lean_inc(x_257); +x_258 = lean_ctor_get(x_243, 4); +lean_inc(x_258); +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + lean_ctor_release(x_243, 2); + lean_ctor_release(x_243, 3); + lean_ctor_release(x_243, 4); + x_259 = x_243; +} else { + lean_dec_ref(x_243); + x_259 = lean_box(0); +} +lean_inc(x_200); +if (lean_is_scalar(x_259)) { + x_260 = lean_alloc_ctor(0, 5, 0); +} else { + x_260 = x_259; +} +lean_ctor_set(x_260, 0, x_255); +lean_ctor_set(x_260, 1, x_200); +lean_ctor_set(x_260, 2, x_256); +lean_ctor_set(x_260, 3, x_257); +lean_ctor_set(x_260, 4, x_258); +x_261 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_244); +lean_ctor_set(x_261, 2, x_245); +lean_ctor_set(x_261, 3, x_246); +lean_ctor_set(x_261, 4, x_247); +lean_ctor_set(x_261, 5, x_248); +lean_ctor_set(x_261, 6, x_249); +lean_ctor_set(x_261, 7, x_250); +lean_ctor_set(x_261, 8, x_251); +lean_ctor_set(x_261, 9, x_252); +lean_ctor_set_uint8(x_261, sizeof(void*)*10, x_253); +lean_ctor_set_uint8(x_261, sizeof(void*)*10 + 1, x_254); +x_262 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_202, x_261, x_198); +if (lean_obj_tag(x_262) == 0) { -uint8_t x_258; -x_258 = !lean_is_exclusive(x_257); -if (x_258 == 0) -{ -lean_object* x_259; lean_object* x_260; -x_259 = lean_ctor_get(x_257, 0); -x_260 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_259, x_259, x_249, x_252); -lean_dec(x_259); -lean_ctor_set(x_257, 0, x_260); -return x_257; +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; +x_263 = lean_ctor_get(x_262, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + lean_ctor_release(x_262, 1); + x_265 = x_262; +} else { + lean_dec_ref(x_262); + x_265 = lean_box(0); +} +x_266 = l_Lean_mkFVar(x_190); +x_267 = l_Lean_mkOptionalNode___closed__2; +x_268 = lean_array_push(x_267, x_266); +x_269 = l_Lean_LocalContext_mkLambda(x_200, x_268, x_263); +lean_dec(x_263); +lean_dec(x_268); +if (lean_is_scalar(x_265)) { + x_270 = lean_alloc_ctor(0, 2, 0); +} else { + x_270 = x_265; +} +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_264); +return x_270; } else { -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_ctor_get(x_257, 0); -x_262 = lean_ctor_get(x_257, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_257); -x_263 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_261, x_261, x_249, x_252); -lean_dec(x_261); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -return x_264; +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +lean_dec(x_200); +lean_dec(x_190); +x_271 = lean_ctor_get(x_262, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_262, 1); +lean_inc(x_272); +if (lean_is_exclusive(x_262)) { + lean_ctor_release(x_262, 0); + lean_ctor_release(x_262, 1); + x_273 = x_262; +} else { + lean_dec_ref(x_262); + x_273 = lean_box(0); } +if (lean_is_scalar(x_273)) { + x_274 = lean_alloc_ctor(1, 2, 0); +} else { + x_274 = x_273; } -else -{ -uint8_t x_265; -lean_dec(x_252); -x_265 = !lean_is_exclusive(x_257); -if (x_265 == 0) -{ -return x_257; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_257, 0); -x_267 = lean_ctor_get(x_257, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_257); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_266); -lean_ctor_set(x_268, 1, x_267); -return x_268; +lean_ctor_set(x_274, 0, x_271); +lean_ctor_set(x_274, 1, x_272); +return x_274; } } } else { -uint8_t x_269; +uint8_t x_275; +lean_dec(x_190); lean_dec(x_4); lean_dec(x_2); -x_269 = !lean_is_exclusive(x_251); -if (x_269 == 0) +x_275 = !lean_is_exclusive(x_193); +if (x_275 == 0) { -return x_251; +return x_193; } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_251, 0); -x_271 = lean_ctor_get(x_251, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_251); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; +lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_276 = lean_ctor_get(x_193, 0); +x_277 = lean_ctor_get(x_193, 1); +lean_inc(x_277); +lean_inc(x_276); +lean_dec(x_193); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_276); +lean_ctor_set(x_278, 1, x_277); +return x_278; +} } } } } else { -lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; lean_object* x_277; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_273 = l_Lean_Syntax_inhabited; -x_274 = lean_unsigned_to_nat(1u); -x_275 = lean_array_get(x_273, x_4, x_274); -x_276 = 1; -x_277 = l_Lean_Syntax_isSimpleTermId_x3f(x_275, x_276); -if (lean_obj_tag(x_277) == 0) -{ -lean_object* x_278; lean_object* x_279; -lean_dec(x_4); -x_278 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; -x_279 = l_Lean_Elab_Term_throwError___rarg(x_1, x_278, x_2, x_3); +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -return x_279; -} -else -{ -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -lean_dec(x_1); -x_280 = lean_ctor_get(x_277, 0); -lean_inc(x_280); -lean_dec(x_277); -x_281 = l_Lean_Syntax_getId(x_280); -lean_dec(x_280); -x_282 = lean_unsigned_to_nat(3u); -x_283 = lean_array_get(x_273, x_4, x_282); -lean_inc(x_2); -x_284 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_283, x_2, x_3); -if (lean_obj_tag(x_284) == 0) -{ -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; uint8_t x_294; -x_285 = lean_ctor_get(x_284, 0); -lean_inc(x_285); -x_286 = lean_ctor_get(x_284, 1); -lean_inc(x_286); -lean_dec(x_284); -x_287 = l_Lean_Elab_Term_getLCtx(x_2, x_286); -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_287, 1); -lean_inc(x_289); -lean_dec(x_287); -x_290 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_281, 2); -x_291 = lean_local_ctx_mk_let_decl(x_288, x_281, x_281, x_290, x_285); -x_292 = lean_unsigned_to_nat(5u); -x_293 = lean_array_get(x_273, x_4, x_292); -lean_dec(x_4); -x_294 = !lean_is_exclusive(x_2); -if (x_294 == 0) -{ -lean_object* x_295; uint8_t x_296; -x_295 = lean_ctor_get(x_2, 0); -x_296 = !lean_is_exclusive(x_295); -if (x_296 == 0) -{ -lean_object* x_297; lean_object* x_298; -x_297 = lean_ctor_get(x_295, 1); -lean_dec(x_297); -lean_inc(x_291); -lean_ctor_set(x_295, 1, x_291); -x_298 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_293, x_2, x_289); -if (lean_obj_tag(x_298) == 0) -{ -uint8_t x_299; -x_299 = !lean_is_exclusive(x_298); -if (x_299 == 0) -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_300 = lean_ctor_get(x_298, 0); -x_301 = l_Lean_mkFVar(x_281); -x_302 = l_Lean_mkOptionalNode___closed__2; -x_303 = lean_array_push(x_302, x_301); -x_304 = l_Lean_LocalContext_mkLambda(x_291, x_303, x_300); -lean_dec(x_300); -lean_dec(x_303); -lean_ctor_set(x_298, 0, x_304); -return x_298; -} -else -{ -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; -x_305 = lean_ctor_get(x_298, 0); -x_306 = lean_ctor_get(x_298, 1); -lean_inc(x_306); -lean_inc(x_305); -lean_dec(x_298); -x_307 = l_Lean_mkFVar(x_281); -x_308 = l_Lean_mkOptionalNode___closed__2; -x_309 = lean_array_push(x_308, x_307); -x_310 = l_Lean_LocalContext_mkLambda(x_291, x_309, x_305); -lean_dec(x_305); -lean_dec(x_309); -x_311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_306); -return x_311; -} -} -else -{ -uint8_t x_312; -lean_dec(x_291); +x_279 = l_Lean_Syntax_inhabited; +x_280 = lean_unsigned_to_nat(1u); +x_281 = lean_array_get(x_279, x_4, x_280); +x_282 = lean_unsigned_to_nat(0u); +x_283 = l_Lean_Syntax_getArg(x_281, x_282); +x_284 = l_Lean_Syntax_isIdent(x_283); +x_285 = lean_unsigned_to_nat(4u); +x_286 = l_Lean_Syntax_getArg(x_281, x_285); lean_dec(x_281); -x_312 = !lean_is_exclusive(x_298); -if (x_312 == 0) +x_287 = lean_unsigned_to_nat(3u); +x_288 = lean_array_get(x_279, x_4, x_287); +lean_dec(x_4); +if (x_284 == 0) { -return x_298; +lean_object* x_375; +x_375 = l_Lean_Syntax_getIdAt(x_283, x_282); +lean_dec(x_283); +x_289 = x_375; +goto block_374; } else { -lean_object* x_313; lean_object* x_314; lean_object* x_315; -x_313 = lean_ctor_get(x_298, 0); -x_314 = lean_ctor_get(x_298, 1); -lean_inc(x_314); -lean_inc(x_313); -lean_dec(x_298); -x_315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_315, 0, x_313); -lean_ctor_set(x_315, 1, x_314); +lean_object* x_376; +x_376 = l_Lean_Syntax_getId(x_283); +lean_dec(x_283); +x_289 = x_376; +goto block_374; +} +block_374: +{ +lean_object* x_290; +lean_inc(x_2); +x_290 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_286, x_2, x_3); +if (lean_obj_tag(x_290) == 0) +{ +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; uint8_t x_298; +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_290, 1); +lean_inc(x_292); +lean_dec(x_290); +x_293 = l_Lean_Elab_Term_getLCtx(x_2, x_292); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +x_296 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_289, 2); +x_297 = lean_local_ctx_mk_let_decl(x_294, x_289, x_289, x_296, x_291); +x_298 = !lean_is_exclusive(x_2); +if (x_298 == 0) +{ +lean_object* x_299; uint8_t x_300; +x_299 = lean_ctor_get(x_2, 0); +x_300 = !lean_is_exclusive(x_299); +if (x_300 == 0) +{ +lean_object* x_301; lean_object* x_302; +x_301 = lean_ctor_get(x_299, 1); +lean_dec(x_301); +lean_inc(x_297); +lean_ctor_set(x_299, 1, x_297); +x_302 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_288, x_2, x_295); +if (lean_obj_tag(x_302) == 0) +{ +uint8_t x_303; +x_303 = !lean_is_exclusive(x_302); +if (x_303 == 0) +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_304 = lean_ctor_get(x_302, 0); +x_305 = l_Lean_mkFVar(x_289); +x_306 = l_Lean_mkOptionalNode___closed__2; +x_307 = lean_array_push(x_306, x_305); +x_308 = l_Lean_LocalContext_mkLambda(x_297, x_307, x_304); +lean_dec(x_304); +lean_dec(x_307); +lean_ctor_set(x_302, 0, x_308); +return x_302; +} +else +{ +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; +x_309 = lean_ctor_get(x_302, 0); +x_310 = lean_ctor_get(x_302, 1); +lean_inc(x_310); +lean_inc(x_309); +lean_dec(x_302); +x_311 = l_Lean_mkFVar(x_289); +x_312 = l_Lean_mkOptionalNode___closed__2; +x_313 = lean_array_push(x_312, x_311); +x_314 = l_Lean_LocalContext_mkLambda(x_297, x_313, x_309); +lean_dec(x_309); +lean_dec(x_313); +x_315 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_310); return x_315; } } +else +{ +uint8_t x_316; +lean_dec(x_297); +lean_dec(x_289); +x_316 = !lean_is_exclusive(x_302); +if (x_316 == 0) +{ +return x_302; } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_316 = lean_ctor_get(x_295, 0); -x_317 = lean_ctor_get(x_295, 2); -x_318 = lean_ctor_get(x_295, 3); -x_319 = lean_ctor_get(x_295, 4); -lean_inc(x_319); +lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_317 = lean_ctor_get(x_302, 0); +x_318 = lean_ctor_get(x_302, 1); lean_inc(x_318); lean_inc(x_317); -lean_inc(x_316); -lean_dec(x_295); -lean_inc(x_291); -x_320 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_320, 0, x_316); -lean_ctor_set(x_320, 1, x_291); -lean_ctor_set(x_320, 2, x_317); -lean_ctor_set(x_320, 3, x_318); -lean_ctor_set(x_320, 4, x_319); -lean_ctor_set(x_2, 0, x_320); -x_321 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_293, x_2, x_289); -if (lean_obj_tag(x_321) == 0) -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -if (lean_is_exclusive(x_321)) { - lean_ctor_release(x_321, 0); - lean_ctor_release(x_321, 1); - x_324 = x_321; -} else { - lean_dec_ref(x_321); - x_324 = lean_box(0); +lean_dec(x_302); +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_317); +lean_ctor_set(x_319, 1, x_318); +return x_319; } -x_325 = l_Lean_mkFVar(x_281); -x_326 = l_Lean_mkOptionalNode___closed__2; -x_327 = lean_array_push(x_326, x_325); -x_328 = l_Lean_LocalContext_mkLambda(x_291, x_327, x_322); -lean_dec(x_322); -lean_dec(x_327); -if (lean_is_scalar(x_324)) { - x_329 = lean_alloc_ctor(0, 2, 0); -} else { - x_329 = x_324; } -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_323); -return x_329; } else { -lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -lean_dec(x_291); -lean_dec(x_281); -x_330 = lean_ctor_get(x_321, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_321, 1); -lean_inc(x_331); -if (lean_is_exclusive(x_321)) { - lean_ctor_release(x_321, 0); - lean_ctor_release(x_321, 1); - x_332 = x_321; +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_320 = lean_ctor_get(x_299, 0); +x_321 = lean_ctor_get(x_299, 2); +x_322 = lean_ctor_get(x_299, 3); +x_323 = lean_ctor_get(x_299, 4); +lean_inc(x_323); +lean_inc(x_322); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_299); +lean_inc(x_297); +x_324 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_324, 0, x_320); +lean_ctor_set(x_324, 1, x_297); +lean_ctor_set(x_324, 2, x_321); +lean_ctor_set(x_324, 3, x_322); +lean_ctor_set(x_324, 4, x_323); +lean_ctor_set(x_2, 0, x_324); +x_325 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_288, x_2, x_295); +if (lean_obj_tag(x_325) == 0) +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_326 = lean_ctor_get(x_325, 0); +lean_inc(x_326); +x_327 = lean_ctor_get(x_325, 1); +lean_inc(x_327); +if (lean_is_exclusive(x_325)) { + lean_ctor_release(x_325, 0); + lean_ctor_release(x_325, 1); + x_328 = x_325; } else { - lean_dec_ref(x_321); - x_332 = lean_box(0); + lean_dec_ref(x_325); + x_328 = lean_box(0); } -if (lean_is_scalar(x_332)) { - x_333 = lean_alloc_ctor(1, 2, 0); +x_329 = l_Lean_mkFVar(x_289); +x_330 = l_Lean_mkOptionalNode___closed__2; +x_331 = lean_array_push(x_330, x_329); +x_332 = l_Lean_LocalContext_mkLambda(x_297, x_331, x_326); +lean_dec(x_326); +lean_dec(x_331); +if (lean_is_scalar(x_328)) { + x_333 = lean_alloc_ctor(0, 2, 0); } else { - x_333 = x_332; + x_333 = x_328; } -lean_ctor_set(x_333, 0, x_330); -lean_ctor_set(x_333, 1, x_331); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_327); return x_333; } +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +lean_dec(x_297); +lean_dec(x_289); +x_334 = lean_ctor_get(x_325, 0); +lean_inc(x_334); +x_335 = lean_ctor_get(x_325, 1); +lean_inc(x_335); +if (lean_is_exclusive(x_325)) { + lean_ctor_release(x_325, 0); + lean_ctor_release(x_325, 1); + x_336 = x_325; +} else { + lean_dec_ref(x_325); + x_336 = lean_box(0); +} +if (lean_is_scalar(x_336)) { + x_337 = lean_alloc_ctor(1, 2, 0); +} else { + x_337 = x_336; +} +lean_ctor_set(x_337, 0, x_334); +lean_ctor_set(x_337, 1, x_335); +return x_337; +} } } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; uint8_t x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_334 = lean_ctor_get(x_2, 0); -x_335 = lean_ctor_get(x_2, 1); -x_336 = lean_ctor_get(x_2, 2); -x_337 = lean_ctor_get(x_2, 3); -x_338 = lean_ctor_get(x_2, 4); -x_339 = lean_ctor_get(x_2, 5); -x_340 = lean_ctor_get(x_2, 6); -x_341 = lean_ctor_get(x_2, 7); -x_342 = lean_ctor_get(x_2, 8); -x_343 = lean_ctor_get(x_2, 9); -x_344 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_345 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; uint8_t x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; +x_338 = lean_ctor_get(x_2, 0); +x_339 = lean_ctor_get(x_2, 1); +x_340 = lean_ctor_get(x_2, 2); +x_341 = lean_ctor_get(x_2, 3); +x_342 = lean_ctor_get(x_2, 4); +x_343 = lean_ctor_get(x_2, 5); +x_344 = lean_ctor_get(x_2, 6); +x_345 = lean_ctor_get(x_2, 7); +x_346 = lean_ctor_get(x_2, 8); +x_347 = lean_ctor_get(x_2, 9); +x_348 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_349 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_inc(x_344); lean_inc(x_343); lean_inc(x_342); lean_inc(x_341); lean_inc(x_340); lean_inc(x_339); lean_inc(x_338); -lean_inc(x_337); -lean_inc(x_336); -lean_inc(x_335); -lean_inc(x_334); lean_dec(x_2); -x_346 = lean_ctor_get(x_334, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_334, 2); -lean_inc(x_347); -x_348 = lean_ctor_get(x_334, 3); -lean_inc(x_348); -x_349 = lean_ctor_get(x_334, 4); -lean_inc(x_349); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - lean_ctor_release(x_334, 2); - lean_ctor_release(x_334, 3); - lean_ctor_release(x_334, 4); - x_350 = x_334; +x_350 = lean_ctor_get(x_338, 0); +lean_inc(x_350); +x_351 = lean_ctor_get(x_338, 2); +lean_inc(x_351); +x_352 = lean_ctor_get(x_338, 3); +lean_inc(x_352); +x_353 = lean_ctor_get(x_338, 4); +lean_inc(x_353); +if (lean_is_exclusive(x_338)) { + lean_ctor_release(x_338, 0); + lean_ctor_release(x_338, 1); + lean_ctor_release(x_338, 2); + lean_ctor_release(x_338, 3); + lean_ctor_release(x_338, 4); + x_354 = x_338; } else { - lean_dec_ref(x_334); - x_350 = lean_box(0); + lean_dec_ref(x_338); + x_354 = lean_box(0); } -lean_inc(x_291); -if (lean_is_scalar(x_350)) { - x_351 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_297); +if (lean_is_scalar(x_354)) { + x_355 = lean_alloc_ctor(0, 5, 0); } else { - x_351 = x_350; + x_355 = x_354; } -lean_ctor_set(x_351, 0, x_346); -lean_ctor_set(x_351, 1, x_291); -lean_ctor_set(x_351, 2, x_347); -lean_ctor_set(x_351, 3, x_348); -lean_ctor_set(x_351, 4, x_349); -x_352 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_335); -lean_ctor_set(x_352, 2, x_336); -lean_ctor_set(x_352, 3, x_337); -lean_ctor_set(x_352, 4, x_338); -lean_ctor_set(x_352, 5, x_339); -lean_ctor_set(x_352, 6, x_340); -lean_ctor_set(x_352, 7, x_341); -lean_ctor_set(x_352, 8, x_342); -lean_ctor_set(x_352, 9, x_343); -lean_ctor_set_uint8(x_352, sizeof(void*)*10, x_344); -lean_ctor_set_uint8(x_352, sizeof(void*)*10 + 1, x_345); -x_353 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_293, x_352, x_289); -if (lean_obj_tag(x_353) == 0) +lean_ctor_set(x_355, 0, x_350); +lean_ctor_set(x_355, 1, x_297); +lean_ctor_set(x_355, 2, x_351); +lean_ctor_set(x_355, 3, x_352); +lean_ctor_set(x_355, 4, x_353); +x_356 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_356, 0, x_355); +lean_ctor_set(x_356, 1, x_339); +lean_ctor_set(x_356, 2, x_340); +lean_ctor_set(x_356, 3, x_341); +lean_ctor_set(x_356, 4, x_342); +lean_ctor_set(x_356, 5, x_343); +lean_ctor_set(x_356, 6, x_344); +lean_ctor_set(x_356, 7, x_345); +lean_ctor_set(x_356, 8, x_346); +lean_ctor_set(x_356, 9, x_347); +lean_ctor_set_uint8(x_356, sizeof(void*)*10, x_348); +lean_ctor_set_uint8(x_356, sizeof(void*)*10 + 1, x_349); +x_357 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_288, x_356, x_295); +if (lean_obj_tag(x_357) == 0) { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; -x_354 = lean_ctor_get(x_353, 0); -lean_inc(x_354); -x_355 = lean_ctor_get(x_353, 1); -lean_inc(x_355); -if (lean_is_exclusive(x_353)) { - lean_ctor_release(x_353, 0); - lean_ctor_release(x_353, 1); - x_356 = x_353; +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; +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_360 = x_357; } else { - lean_dec_ref(x_353); - x_356 = lean_box(0); + lean_dec_ref(x_357); + x_360 = lean_box(0); } -x_357 = l_Lean_mkFVar(x_281); -x_358 = l_Lean_mkOptionalNode___closed__2; -x_359 = lean_array_push(x_358, x_357); -x_360 = l_Lean_LocalContext_mkLambda(x_291, x_359, x_354); -lean_dec(x_354); -lean_dec(x_359); -if (lean_is_scalar(x_356)) { - x_361 = lean_alloc_ctor(0, 2, 0); +x_361 = l_Lean_mkFVar(x_289); +x_362 = l_Lean_mkOptionalNode___closed__2; +x_363 = lean_array_push(x_362, x_361); +x_364 = l_Lean_LocalContext_mkLambda(x_297, x_363, x_358); +lean_dec(x_358); +lean_dec(x_363); +if (lean_is_scalar(x_360)) { + x_365 = lean_alloc_ctor(0, 2, 0); } else { - x_361 = x_356; + x_365 = x_360; } -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_355); -return x_361; -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec(x_291); -lean_dec(x_281); -x_362 = lean_ctor_get(x_353, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_353, 1); -lean_inc(x_363); -if (lean_is_exclusive(x_353)) { - lean_ctor_release(x_353, 0); - lean_ctor_release(x_353, 1); - x_364 = x_353; -} else { - lean_dec_ref(x_353); - x_364 = lean_box(0); -} -if (lean_is_scalar(x_364)) { - x_365 = lean_alloc_ctor(1, 2, 0); -} else { - x_365 = x_364; -} -lean_ctor_set(x_365, 0, x_362); -lean_ctor_set(x_365, 1, x_363); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_359); return x_365; } -} -} else { -uint8_t x_366; -lean_dec(x_281); -lean_dec(x_4); -lean_dec(x_2); -x_366 = !lean_is_exclusive(x_284); -if (x_366 == 0) -{ -return x_284; -} -else -{ -lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_367 = lean_ctor_get(x_284, 0); -x_368 = lean_ctor_get(x_284, 1); -lean_inc(x_368); +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +lean_dec(x_297); +lean_dec(x_289); +x_366 = lean_ctor_get(x_357, 0); +lean_inc(x_366); +x_367 = lean_ctor_get(x_357, 1); lean_inc(x_367); -lean_dec(x_284); -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_367); -lean_ctor_set(x_369, 1, x_368); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + x_368 = x_357; +} else { + lean_dec_ref(x_357); + x_368 = lean_box(0); +} +if (lean_is_scalar(x_368)) { + x_369 = lean_alloc_ctor(1, 2, 0); +} else { + x_369 = x_368; +} +lean_ctor_set(x_369, 0, x_366); +lean_ctor_set(x_369, 1, x_367); return x_369; } } } -} +else +{ +uint8_t x_370; +lean_dec(x_289); +lean_dec(x_288); +lean_dec(x_2); +x_370 = !lean_is_exclusive(x_290); +if (x_370 == 0) +{ +return x_290; } else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_370 = l_Lean_Syntax_inhabited; -x_371 = lean_unsigned_to_nat(1u); -x_372 = lean_array_get(x_370, x_4, x_371); +lean_object* x_371; lean_object* x_372; lean_object* x_373; +x_371 = lean_ctor_get(x_290, 0); +x_372 = lean_ctor_get(x_290, 1); lean_inc(x_372); -x_373 = l_Lean_Syntax_getKind(x_372); -if (lean_obj_tag(x_373) == 1) -{ -lean_object* x_374; -x_374 = lean_ctor_get(x_373, 0); -lean_inc(x_374); -if (lean_obj_tag(x_374) == 1) -{ -lean_object* x_375; -x_375 = lean_ctor_get(x_374, 0); -lean_inc(x_375); -if (lean_obj_tag(x_375) == 1) -{ -lean_object* x_376; -x_376 = lean_ctor_get(x_375, 0); -lean_inc(x_376); -if (lean_obj_tag(x_376) == 1) -{ -lean_object* x_377; -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -if (lean_obj_tag(x_377) == 0) -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; -x_378 = lean_ctor_get(x_373, 1); -lean_inc(x_378); -lean_dec(x_373); -x_379 = lean_ctor_get(x_374, 1); -lean_inc(x_379); -lean_dec(x_374); -x_380 = lean_ctor_get(x_375, 1); -lean_inc(x_380); -lean_dec(x_375); -x_381 = lean_ctor_get(x_376, 1); -lean_inc(x_381); -lean_dec(x_376); -x_382 = lean_string_dec_eq(x_381, x_130); -lean_dec(x_381); -if (x_382 == 0) -{ -lean_object* x_383; lean_object* x_384; -lean_dec(x_380); -lean_dec(x_379); -lean_dec(x_378); -lean_dec(x_372); -x_383 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_384 = l_unreachable_x21___rarg(x_383); -x_5 = x_384; -goto block_95; +lean_inc(x_371); +lean_dec(x_290); +x_373 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_373, 0, x_371); +lean_ctor_set(x_373, 1, x_372); +return x_373; +} +} +} +} } else { -uint8_t x_385; -x_385 = lean_string_dec_eq(x_380, x_136); -lean_dec(x_380); +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; uint8_t x_385; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_377 = l_Lean_Syntax_inhabited; +x_378 = lean_unsigned_to_nat(1u); +x_379 = lean_array_get(x_377, x_4, x_378); +x_380 = l_Lean_Syntax_getArgs(x_379); +lean_dec(x_379); +x_381 = lean_unsigned_to_nat(3u); +x_382 = lean_array_get(x_377, x_4, x_381); +lean_dec(x_4); +x_383 = lean_array_get_size(x_380); +x_384 = lean_unsigned_to_nat(0u); +x_385 = lean_nat_dec_eq(x_383, x_384); +lean_dec(x_383); if (x_385 == 0) { -lean_object* x_386; lean_object* x_387; -lean_dec(x_379); -lean_dec(x_378); -lean_dec(x_372); -x_386 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_387 = l_unreachable_x21___rarg(x_386); -x_5 = x_387; -goto block_95; -} -else +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; +x_386 = lean_array_get(x_377, x_380, x_384); +x_387 = lean_name_mk_string(x_27, x_39); +x_388 = lean_name_mk_string(x_387, x_45); +x_389 = lean_name_mk_string(x_388, x_54); +lean_inc(x_389); +x_390 = lean_name_mk_string(x_389, x_63); +lean_inc(x_386); +x_391 = l_Lean_Syntax_isOfKind(x_386, x_390); +lean_dec(x_390); +if (x_391 == 0) { -uint8_t x_388; -x_388 = lean_string_dec_eq(x_379, x_145); -lean_dec(x_379); -if (x_388 == 0) -{ -lean_object* x_389; lean_object* x_390; -lean_dec(x_378); -lean_dec(x_372); -x_389 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_390 = l_unreachable_x21___rarg(x_389); -x_5 = x_390; -goto block_95; -} -else -{ -lean_object* x_391; uint8_t x_392; -x_391 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; -x_392 = lean_string_dec_eq(x_378, x_391); -if (x_392 == 0) -{ -lean_object* x_393; uint8_t x_394; -x_393 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; -x_394 = lean_string_dec_eq(x_378, x_393); -lean_dec(x_378); +lean_object* x_392; lean_object* x_393; uint8_t x_394; +x_392 = l_Lean_mkHole___closed__1; +lean_inc(x_389); +x_393 = lean_name_mk_string(x_389, x_392); +lean_inc(x_386); +x_394 = l_Lean_Syntax_isOfKind(x_386, x_393); +lean_dec(x_393); if (x_394 == 0) { -lean_object* x_395; lean_object* x_396; -lean_dec(x_372); -x_395 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_396 = l_unreachable_x21___rarg(x_395); -x_5 = x_396; -goto block_95; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_397 = lean_unsigned_to_nat(0u); -x_398 = l_Lean_Syntax_getArg(x_372, x_397); -x_399 = l_Lean_Syntax_getIdAt(x_398, x_397); +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; +x_395 = l_Lean_Syntax_getArg(x_386, x_378); +lean_dec(x_386); +x_396 = l_Lean_Syntax_getArg(x_395, x_384); +x_397 = l_Lean_Syntax_getIdAt(x_396, x_384); +lean_dec(x_396); +x_398 = l_Lean_Syntax_getArg(x_395, x_378); +lean_dec(x_395); +x_399 = l_Lean_Syntax_getArg(x_398, x_384); lean_dec(x_398); -x_400 = lean_unsigned_to_nat(3u); -x_401 = l_Lean_Syntax_getArg(x_372, x_400); -lean_dec(x_372); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_399); -lean_ctor_set(x_402, 1, x_401); -x_5 = x_402; -goto block_95; -} -} -else +x_400 = l_Lean_Syntax_getArg(x_399, x_378); +lean_dec(x_399); +lean_inc(x_2); +x_401 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_400, x_2, x_3); +if (lean_obj_tag(x_401) == 0) { -lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -lean_dec(x_378); -x_403 = lean_unsigned_to_nat(0u); -x_404 = l_Lean_Syntax_getIdAt(x_372, x_403); -x_405 = lean_unsigned_to_nat(4u); -x_406 = l_Lean_Syntax_getArg(x_372, x_405); -lean_dec(x_372); -x_407 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_407, 0, x_404); -lean_ctor_set(x_407, 1, x_406); -x_5 = x_407; -goto block_95; -} -} -} -} -} -else -{ -lean_object* x_408; lean_object* x_409; -lean_dec(x_377); -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_372); -x_408 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_409 = l_unreachable_x21___rarg(x_408); -x_5 = x_409; -goto block_95; -} -} -else -{ -lean_object* x_410; lean_object* x_411; -lean_dec(x_376); -lean_dec(x_375); -lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_372); -x_410 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_411 = l_unreachable_x21___rarg(x_410); -x_5 = x_411; -goto block_95; -} -} -else -{ -lean_object* x_412; lean_object* x_413; -lean_dec(x_375); -lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_372); -x_412 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_413 = l_unreachable_x21___rarg(x_412); -x_5 = x_413; -goto block_95; -} -} -else -{ -lean_object* x_414; lean_object* x_415; -lean_dec(x_374); -lean_dec(x_373); -lean_dec(x_372); -x_414 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_415 = l_unreachable_x21___rarg(x_414); -x_5 = x_415; -goto block_95; -} -} -else -{ -lean_object* x_416; lean_object* x_417; -lean_dec(x_373); -lean_dec(x_372); -x_416 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_417 = l_unreachable_x21___rarg(x_416); -x_5 = x_417; -goto block_95; -} -} -} -else -{ -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; uint8_t x_426; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_418 = l_Lean_Syntax_inhabited; -x_419 = lean_unsigned_to_nat(1u); -x_420 = lean_array_get(x_418, x_4, x_419); -x_421 = l_Lean_Syntax_getArgs(x_420); -lean_dec(x_420); -x_422 = lean_unsigned_to_nat(3u); -x_423 = lean_array_get(x_418, x_4, x_422); -lean_dec(x_4); -x_424 = lean_array_get_size(x_421); -x_425 = lean_unsigned_to_nat(0u); -x_426 = lean_nat_dec_eq(x_424, x_425); -lean_dec(x_424); +lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t 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; uint8_t x_426; +x_402 = lean_ctor_get(x_401, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_401, 1); +lean_inc(x_403); +lean_dec(x_401); +x_404 = l_Lean_Elab_Term_getLCtx(x_2, x_403); +x_405 = lean_ctor_get(x_404, 0); +lean_inc(x_405); +x_406 = lean_ctor_get(x_404, 1); +lean_inc(x_406); +lean_dec(x_404); +x_407 = 0; +lean_inc_n(x_397, 2); +x_408 = lean_local_ctx_mk_local_decl(x_405, x_397, x_397, x_402, x_407); +x_409 = l_Array_eraseIdx___rarg(x_380, x_384); +x_410 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_406); +x_411 = lean_ctor_get(x_410, 1); +lean_inc(x_411); +lean_dec(x_410); +x_412 = l_Lean_Elab_Term_getMainModule___rarg(x_411); +x_413 = lean_ctor_get(x_412, 1); +lean_inc(x_413); +lean_dec(x_412); +x_414 = lean_name_mk_string(x_389, x_65); +x_415 = l_Lean_nullKind___closed__1; +x_416 = lean_name_mk_string(x_27, x_415); +x_417 = l_Array_empty___closed__1; +x_418 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_409, x_409, x_384, x_417); +lean_dec(x_409); +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_416); +lean_ctor_set(x_419, 1, x_418); +x_420 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +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_382); +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_414); +lean_ctor_set(x_425, 1, x_424); +x_426 = !lean_is_exclusive(x_2); if (x_426 == 0) { -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; -x_427 = lean_array_get(x_418, x_421, x_425); -x_428 = lean_name_mk_string(x_118, x_130); -x_429 = lean_name_mk_string(x_428, x_136); -x_430 = lean_name_mk_string(x_429, x_145); -lean_inc(x_430); -x_431 = lean_name_mk_string(x_430, x_154); -lean_inc(x_427); -x_432 = l_Lean_Syntax_isOfKind(x_427, x_431); -lean_dec(x_431); -if (x_432 == 0) +lean_object* x_427; uint8_t x_428; +x_427 = lean_ctor_get(x_2, 0); +x_428 = !lean_is_exclusive(x_427); +if (x_428 == 0) { -lean_object* x_433; lean_object* x_434; uint8_t x_435; -x_433 = l_Lean_mkHole___closed__1; -lean_inc(x_430); -x_434 = lean_name_mk_string(x_430, x_433); -lean_inc(x_427); -x_435 = l_Lean_Syntax_isOfKind(x_427, x_434); -lean_dec(x_434); -if (x_435 == 0) +lean_object* x_429; lean_object* x_430; +x_429 = lean_ctor_get(x_427, 1); +lean_dec(x_429); +lean_inc(x_408); +lean_ctor_set(x_427, 1, x_408); +x_430 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_425, x_2, x_413); +if (lean_obj_tag(x_430) == 0) { -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; -x_436 = l_Lean_Syntax_getArg(x_427, x_419); -lean_dec(x_427); -x_437 = l_Lean_Syntax_getArg(x_436, x_425); -x_438 = l_Lean_Syntax_getIdAt(x_437, x_425); -lean_dec(x_437); -x_439 = l_Lean_Syntax_getArg(x_436, x_419); -lean_dec(x_436); -x_440 = l_Lean_Syntax_getArg(x_439, x_425); -lean_dec(x_439); -x_441 = l_Lean_Syntax_getArg(x_440, x_419); -lean_dec(x_440); -lean_inc(x_2); -x_442 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_441, x_2, x_3); -if (lean_obj_tag(x_442) == 0) +uint8_t x_431; +x_431 = !lean_is_exclusive(x_430); +if (x_431 == 0) { -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; uint8_t 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; uint8_t x_467; -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); -lean_inc(x_444); -lean_dec(x_442); -x_445 = l_Lean_Elab_Term_getLCtx(x_2, x_444); -x_446 = lean_ctor_get(x_445, 0); -lean_inc(x_446); -x_447 = lean_ctor_get(x_445, 1); -lean_inc(x_447); -lean_dec(x_445); -x_448 = 0; -lean_inc_n(x_438, 2); -x_449 = lean_local_ctx_mk_local_decl(x_446, x_438, x_438, x_443, x_448); -x_450 = l_Array_eraseIdx___rarg(x_421, x_425); -x_451 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_447); -x_452 = lean_ctor_get(x_451, 1); -lean_inc(x_452); -lean_dec(x_451); -x_453 = l_Lean_Elab_Term_getMainModule___rarg(x_452); -x_454 = lean_ctor_get(x_453, 1); -lean_inc(x_454); -lean_dec(x_453); -x_455 = lean_name_mk_string(x_430, x_156); -x_456 = l_Lean_nullKind___closed__1; -x_457 = lean_name_mk_string(x_118, x_456); -x_458 = l_Array_empty___closed__1; -x_459 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_450, x_450, x_425, x_458); -lean_dec(x_450); -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_457); -lean_ctor_set(x_460, 1, x_459); -x_461 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_462 = lean_array_push(x_461, x_460); -x_463 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_464 = lean_array_push(x_462, x_463); -x_465 = lean_array_push(x_464, x_423); -x_466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_466, 0, x_455); -lean_ctor_set(x_466, 1, x_465); -x_467 = !lean_is_exclusive(x_2); -if (x_467 == 0) -{ -lean_object* x_468; uint8_t x_469; -x_468 = lean_ctor_get(x_2, 0); -x_469 = !lean_is_exclusive(x_468); -if (x_469 == 0) -{ -lean_object* x_470; lean_object* x_471; -x_470 = lean_ctor_get(x_468, 1); -lean_dec(x_470); -lean_inc(x_449); -lean_ctor_set(x_468, 1, x_449); -x_471 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_466, x_2, x_454); -if (lean_obj_tag(x_471) == 0) -{ -uint8_t x_472; -x_472 = !lean_is_exclusive(x_471); -if (x_472 == 0) -{ -lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; -x_473 = lean_ctor_get(x_471, 0); -x_474 = l_Lean_mkFVar(x_438); -x_475 = l_Lean_mkOptionalNode___closed__2; -x_476 = lean_array_push(x_475, x_474); -x_477 = l_Lean_LocalContext_mkLambda(x_449, x_476, x_473); -lean_dec(x_473); -lean_dec(x_476); -lean_ctor_set(x_471, 0, x_477); -return x_471; +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +x_432 = lean_ctor_get(x_430, 0); +x_433 = l_Lean_mkFVar(x_397); +x_434 = l_Lean_mkOptionalNode___closed__2; +x_435 = lean_array_push(x_434, x_433); +x_436 = l_Lean_LocalContext_mkLambda(x_408, x_435, x_432); +lean_dec(x_432); +lean_dec(x_435); +lean_ctor_set(x_430, 0, x_436); +return x_430; } else { -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_478 = lean_ctor_get(x_471, 0); -x_479 = lean_ctor_get(x_471, 1); -lean_inc(x_479); -lean_inc(x_478); -lean_dec(x_471); -x_480 = l_Lean_mkFVar(x_438); -x_481 = l_Lean_mkOptionalNode___closed__2; -x_482 = lean_array_push(x_481, x_480); -x_483 = l_Lean_LocalContext_mkLambda(x_449, x_482, x_478); -lean_dec(x_478); -lean_dec(x_482); -x_484 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_479); -return x_484; -} -} -else -{ -uint8_t x_485; -lean_dec(x_449); -lean_dec(x_438); -x_485 = !lean_is_exclusive(x_471); -if (x_485 == 0) -{ -return x_471; -} -else -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; -x_486 = lean_ctor_get(x_471, 0); -x_487 = lean_ctor_get(x_471, 1); -lean_inc(x_487); -lean_inc(x_486); -lean_dec(x_471); -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_486); -lean_ctor_set(x_488, 1, x_487); -return x_488; -} -} -} -else -{ -lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_489 = lean_ctor_get(x_468, 0); -x_490 = lean_ctor_get(x_468, 2); -x_491 = lean_ctor_get(x_468, 3); -x_492 = lean_ctor_get(x_468, 4); -lean_inc(x_492); -lean_inc(x_491); -lean_inc(x_490); -lean_inc(x_489); -lean_dec(x_468); -lean_inc(x_449); -x_493 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_493, 0, x_489); -lean_ctor_set(x_493, 1, x_449); -lean_ctor_set(x_493, 2, x_490); -lean_ctor_set(x_493, 3, x_491); -lean_ctor_set(x_493, 4, x_492); -lean_ctor_set(x_2, 0, x_493); -x_494 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_466, x_2, x_454); -if (lean_obj_tag(x_494) == 0) -{ -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; -x_495 = lean_ctor_get(x_494, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 1); -lean_inc(x_496); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_497 = x_494; -} else { - lean_dec_ref(x_494); - x_497 = lean_box(0); -} -x_498 = l_Lean_mkFVar(x_438); -x_499 = l_Lean_mkOptionalNode___closed__2; -x_500 = lean_array_push(x_499, x_498); -x_501 = l_Lean_LocalContext_mkLambda(x_449, x_500, x_495); -lean_dec(x_495); -lean_dec(x_500); -if (lean_is_scalar(x_497)) { - x_502 = lean_alloc_ctor(0, 2, 0); -} else { - x_502 = x_497; -} -lean_ctor_set(x_502, 0, x_501); -lean_ctor_set(x_502, 1, x_496); -return x_502; -} -else -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; -lean_dec(x_449); -lean_dec(x_438); -x_503 = lean_ctor_get(x_494, 0); -lean_inc(x_503); -x_504 = lean_ctor_get(x_494, 1); -lean_inc(x_504); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_505 = x_494; -} else { - lean_dec_ref(x_494); - x_505 = lean_box(0); -} -if (lean_is_scalar(x_505)) { - x_506 = lean_alloc_ctor(1, 2, 0); -} else { - x_506 = x_505; -} -lean_ctor_set(x_506, 0, x_503); -lean_ctor_set(x_506, 1, x_504); -return x_506; -} -} -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; uint8_t x_517; uint8_t x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_507 = lean_ctor_get(x_2, 0); -x_508 = lean_ctor_get(x_2, 1); -x_509 = lean_ctor_get(x_2, 2); -x_510 = lean_ctor_get(x_2, 3); -x_511 = lean_ctor_get(x_2, 4); -x_512 = lean_ctor_get(x_2, 5); -x_513 = lean_ctor_get(x_2, 6); -x_514 = lean_ctor_get(x_2, 7); -x_515 = lean_ctor_get(x_2, 8); -x_516 = lean_ctor_get(x_2, 9); -x_517 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_518 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -lean_inc(x_516); -lean_inc(x_515); -lean_inc(x_514); -lean_inc(x_513); -lean_inc(x_512); -lean_inc(x_511); -lean_inc(x_510); -lean_inc(x_509); -lean_inc(x_508); -lean_inc(x_507); -lean_dec(x_2); -x_519 = lean_ctor_get(x_507, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_507, 2); -lean_inc(x_520); -x_521 = lean_ctor_get(x_507, 3); -lean_inc(x_521); -x_522 = lean_ctor_get(x_507, 4); -lean_inc(x_522); -if (lean_is_exclusive(x_507)) { - lean_ctor_release(x_507, 0); - lean_ctor_release(x_507, 1); - lean_ctor_release(x_507, 2); - lean_ctor_release(x_507, 3); - lean_ctor_release(x_507, 4); - x_523 = x_507; -} else { - lean_dec_ref(x_507); - x_523 = lean_box(0); -} -lean_inc(x_449); -if (lean_is_scalar(x_523)) { - x_524 = lean_alloc_ctor(0, 5, 0); -} else { - x_524 = x_523; -} -lean_ctor_set(x_524, 0, x_519); -lean_ctor_set(x_524, 1, x_449); -lean_ctor_set(x_524, 2, x_520); -lean_ctor_set(x_524, 3, x_521); -lean_ctor_set(x_524, 4, x_522); -x_525 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_508); -lean_ctor_set(x_525, 2, x_509); -lean_ctor_set(x_525, 3, x_510); -lean_ctor_set(x_525, 4, x_511); -lean_ctor_set(x_525, 5, x_512); -lean_ctor_set(x_525, 6, x_513); -lean_ctor_set(x_525, 7, x_514); -lean_ctor_set(x_525, 8, x_515); -lean_ctor_set(x_525, 9, x_516); -lean_ctor_set_uint8(x_525, sizeof(void*)*10, x_517); -lean_ctor_set_uint8(x_525, sizeof(void*)*10 + 1, x_518); -x_526 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_466, x_525, x_454); -if (lean_obj_tag(x_526) == 0) -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_527 = lean_ctor_get(x_526, 0); -lean_inc(x_527); -x_528 = lean_ctor_get(x_526, 1); -lean_inc(x_528); -if (lean_is_exclusive(x_526)) { - lean_ctor_release(x_526, 0); - lean_ctor_release(x_526, 1); - x_529 = x_526; -} else { - lean_dec_ref(x_526); - x_529 = lean_box(0); -} -x_530 = l_Lean_mkFVar(x_438); -x_531 = l_Lean_mkOptionalNode___closed__2; -x_532 = lean_array_push(x_531, x_530); -x_533 = l_Lean_LocalContext_mkLambda(x_449, x_532, x_527); -lean_dec(x_527); -lean_dec(x_532); -if (lean_is_scalar(x_529)) { - x_534 = lean_alloc_ctor(0, 2, 0); -} else { - x_534 = x_529; -} -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_528); -return x_534; -} -else -{ -lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; -lean_dec(x_449); -lean_dec(x_438); -x_535 = lean_ctor_get(x_526, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_526, 1); -lean_inc(x_536); -if (lean_is_exclusive(x_526)) { - lean_ctor_release(x_526, 0); - lean_ctor_release(x_526, 1); - x_537 = x_526; -} else { - lean_dec_ref(x_526); - x_537 = lean_box(0); -} -if (lean_is_scalar(x_537)) { - x_538 = lean_alloc_ctor(1, 2, 0); -} else { - x_538 = x_537; -} -lean_ctor_set(x_538, 0, x_535); -lean_ctor_set(x_538, 1, x_536); -return x_538; -} -} -} -else -{ -uint8_t x_539; -lean_dec(x_438); +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; +x_437 = lean_ctor_get(x_430, 0); +x_438 = lean_ctor_get(x_430, 1); +lean_inc(x_438); +lean_inc(x_437); lean_dec(x_430); -lean_dec(x_423); -lean_dec(x_421); -lean_dec(x_2); -x_539 = !lean_is_exclusive(x_442); -if (x_539 == 0) -{ -return x_442; +x_439 = l_Lean_mkFVar(x_397); +x_440 = l_Lean_mkOptionalNode___closed__2; +x_441 = lean_array_push(x_440, x_439); +x_442 = l_Lean_LocalContext_mkLambda(x_408, x_441, x_437); +lean_dec(x_437); +lean_dec(x_441); +x_443 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_443, 0, x_442); +lean_ctor_set(x_443, 1, x_438); +return x_443; +} } else { -lean_object* x_540; lean_object* x_541; lean_object* x_542; -x_540 = lean_ctor_get(x_442, 0); -x_541 = lean_ctor_get(x_442, 1); -lean_inc(x_541); -lean_inc(x_540); -lean_dec(x_442); -x_542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_542, 0, x_540); -lean_ctor_set(x_542, 1, x_541); -return x_542; +uint8_t x_444; +lean_dec(x_408); +lean_dec(x_397); +x_444 = !lean_is_exclusive(x_430); +if (x_444 == 0) +{ +return x_430; +} +else +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_445 = lean_ctor_get(x_430, 0); +x_446 = lean_ctor_get(x_430, 1); +lean_inc(x_446); +lean_inc(x_445); +lean_dec(x_430); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_445); +lean_ctor_set(x_447, 1, x_446); +return x_447; } } } else { -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; uint8_t x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; uint8_t x_568; +lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_448 = lean_ctor_get(x_427, 0); +x_449 = lean_ctor_get(x_427, 2); +x_450 = lean_ctor_get(x_427, 3); +x_451 = lean_ctor_get(x_427, 4); +lean_inc(x_451); +lean_inc(x_450); +lean_inc(x_449); +lean_inc(x_448); lean_dec(x_427); -x_543 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_544 = lean_name_mk_string(x_118, x_543); -x_545 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -x_547 = lean_ctor_get(x_545, 1); -lean_inc(x_547); -lean_dec(x_545); -x_548 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_549 = 0; -lean_inc_n(x_544, 2); -x_550 = lean_local_ctx_mk_local_decl(x_546, x_544, x_544, x_548, x_549); -x_551 = l_Array_eraseIdx___rarg(x_421, x_425); -x_552 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_547); -x_553 = lean_ctor_get(x_552, 1); -lean_inc(x_553); -lean_dec(x_552); -x_554 = l_Lean_Elab_Term_getMainModule___rarg(x_553); -x_555 = lean_ctor_get(x_554, 1); -lean_inc(x_555); -lean_dec(x_554); -x_556 = lean_name_mk_string(x_430, x_156); -x_557 = l_Lean_nullKind___closed__1; -x_558 = lean_name_mk_string(x_118, x_557); -x_559 = l_Array_empty___closed__1; -x_560 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_551, x_551, x_425, x_559); -lean_dec(x_551); -x_561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_561, 0, x_558); -lean_ctor_set(x_561, 1, x_560); -x_562 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_563 = lean_array_push(x_562, x_561); -x_564 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_565 = lean_array_push(x_563, x_564); -x_566 = lean_array_push(x_565, x_423); -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_556); -lean_ctor_set(x_567, 1, x_566); -x_568 = !lean_is_exclusive(x_2); -if (x_568 == 0) +lean_inc(x_408); +x_452 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_452, 0, x_448); +lean_ctor_set(x_452, 1, x_408); +lean_ctor_set(x_452, 2, x_449); +lean_ctor_set(x_452, 3, x_450); +lean_ctor_set(x_452, 4, x_451); +lean_ctor_set(x_2, 0, x_452); +x_453 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_425, x_2, x_413); +if (lean_obj_tag(x_453) == 0) { -lean_object* x_569; uint8_t x_570; -x_569 = lean_ctor_get(x_2, 0); -x_570 = !lean_is_exclusive(x_569); -if (x_570 == 0) -{ -lean_object* x_571; lean_object* x_572; -x_571 = lean_ctor_get(x_569, 1); -lean_dec(x_571); -lean_inc(x_550); -lean_ctor_set(x_569, 1, x_550); -x_572 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_567, x_2, x_555); -if (lean_obj_tag(x_572) == 0) -{ -uint8_t x_573; -x_573 = !lean_is_exclusive(x_572); -if (x_573 == 0) -{ -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -x_574 = lean_ctor_get(x_572, 0); -x_575 = l_Lean_mkFVar(x_544); -x_576 = l_Lean_mkOptionalNode___closed__2; -x_577 = lean_array_push(x_576, x_575); -x_578 = l_Lean_LocalContext_mkLambda(x_550, x_577, x_574); -lean_dec(x_574); -lean_dec(x_577); -lean_ctor_set(x_572, 0, x_578); -return x_572; -} -else -{ -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; -x_579 = lean_ctor_get(x_572, 0); -x_580 = lean_ctor_get(x_572, 1); -lean_inc(x_580); -lean_inc(x_579); -lean_dec(x_572); -x_581 = l_Lean_mkFVar(x_544); -x_582 = l_Lean_mkOptionalNode___closed__2; -x_583 = lean_array_push(x_582, x_581); -x_584 = l_Lean_LocalContext_mkLambda(x_550, x_583, x_579); -lean_dec(x_579); -lean_dec(x_583); -x_585 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_580); -return x_585; -} -} -else -{ -uint8_t x_586; -lean_dec(x_550); -lean_dec(x_544); -x_586 = !lean_is_exclusive(x_572); -if (x_586 == 0) -{ -return x_572; -} -else -{ -lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_587 = lean_ctor_get(x_572, 0); -x_588 = lean_ctor_get(x_572, 1); -lean_inc(x_588); -lean_inc(x_587); -lean_dec(x_572); -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_587); -lean_ctor_set(x_589, 1, x_588); -return x_589; -} -} -} -else -{ -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -x_590 = lean_ctor_get(x_569, 0); -x_591 = lean_ctor_get(x_569, 2); -x_592 = lean_ctor_get(x_569, 3); -x_593 = lean_ctor_get(x_569, 4); -lean_inc(x_593); -lean_inc(x_592); -lean_inc(x_591); -lean_inc(x_590); -lean_dec(x_569); -lean_inc(x_550); -x_594 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_594, 0, x_590); -lean_ctor_set(x_594, 1, x_550); -lean_ctor_set(x_594, 2, x_591); -lean_ctor_set(x_594, 3, x_592); -lean_ctor_set(x_594, 4, x_593); -lean_ctor_set(x_2, 0, x_594); -x_595 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_567, x_2, x_555); -if (lean_obj_tag(x_595) == 0) -{ -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; -x_596 = lean_ctor_get(x_595, 0); -lean_inc(x_596); -x_597 = lean_ctor_get(x_595, 1); -lean_inc(x_597); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_598 = x_595; +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_454 = lean_ctor_get(x_453, 0); +lean_inc(x_454); +x_455 = lean_ctor_get(x_453, 1); +lean_inc(x_455); +if (lean_is_exclusive(x_453)) { + lean_ctor_release(x_453, 0); + lean_ctor_release(x_453, 1); + x_456 = x_453; } else { - lean_dec_ref(x_595); - x_598 = lean_box(0); + lean_dec_ref(x_453); + x_456 = lean_box(0); } -x_599 = l_Lean_mkFVar(x_544); -x_600 = l_Lean_mkOptionalNode___closed__2; -x_601 = lean_array_push(x_600, x_599); -x_602 = l_Lean_LocalContext_mkLambda(x_550, x_601, x_596); -lean_dec(x_596); -lean_dec(x_601); -if (lean_is_scalar(x_598)) { - x_603 = lean_alloc_ctor(0, 2, 0); +x_457 = l_Lean_mkFVar(x_397); +x_458 = l_Lean_mkOptionalNode___closed__2; +x_459 = lean_array_push(x_458, x_457); +x_460 = l_Lean_LocalContext_mkLambda(x_408, x_459, x_454); +lean_dec(x_454); +lean_dec(x_459); +if (lean_is_scalar(x_456)) { + x_461 = lean_alloc_ctor(0, 2, 0); } else { - x_603 = x_598; + x_461 = x_456; } -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_597); -return x_603; +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_455); +return x_461; } else { -lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; -lean_dec(x_550); -lean_dec(x_544); -x_604 = lean_ctor_get(x_595, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_595, 1); -lean_inc(x_605); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_606 = x_595; +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; +lean_dec(x_408); +lean_dec(x_397); +x_462 = lean_ctor_get(x_453, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_453, 1); +lean_inc(x_463); +if (lean_is_exclusive(x_453)) { + lean_ctor_release(x_453, 0); + lean_ctor_release(x_453, 1); + x_464 = x_453; } else { - lean_dec_ref(x_595); - x_606 = lean_box(0); + lean_dec_ref(x_453); + x_464 = lean_box(0); } -if (lean_is_scalar(x_606)) { - x_607 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_464)) { + x_465 = lean_alloc_ctor(1, 2, 0); } else { - x_607 = x_606; + x_465 = x_464; } -lean_ctor_set(x_607, 0, x_604); -lean_ctor_set(x_607, 1, x_605); -return x_607; +lean_ctor_set(x_465, 0, x_462); +lean_ctor_set(x_465, 1, x_463); +return x_465; } } } else { -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; uint8_t x_618; uint8_t 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; -x_608 = lean_ctor_get(x_2, 0); -x_609 = lean_ctor_get(x_2, 1); -x_610 = lean_ctor_get(x_2, 2); -x_611 = lean_ctor_get(x_2, 3); -x_612 = lean_ctor_get(x_2, 4); -x_613 = lean_ctor_get(x_2, 5); -x_614 = lean_ctor_get(x_2, 6); -x_615 = lean_ctor_get(x_2, 7); -x_616 = lean_ctor_get(x_2, 8); -x_617 = lean_ctor_get(x_2, 9); -x_618 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_619 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -lean_inc(x_617); -lean_inc(x_616); -lean_inc(x_615); -lean_inc(x_614); -lean_inc(x_613); -lean_inc(x_612); -lean_inc(x_611); -lean_inc(x_610); -lean_inc(x_609); -lean_inc(x_608); +lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; uint8_t x_476; uint8_t x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_466 = lean_ctor_get(x_2, 0); +x_467 = lean_ctor_get(x_2, 1); +x_468 = lean_ctor_get(x_2, 2); +x_469 = lean_ctor_get(x_2, 3); +x_470 = lean_ctor_get(x_2, 4); +x_471 = lean_ctor_get(x_2, 5); +x_472 = lean_ctor_get(x_2, 6); +x_473 = lean_ctor_get(x_2, 7); +x_474 = lean_ctor_get(x_2, 8); +x_475 = lean_ctor_get(x_2, 9); +x_476 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_477 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_475); +lean_inc(x_474); +lean_inc(x_473); +lean_inc(x_472); +lean_inc(x_471); +lean_inc(x_470); +lean_inc(x_469); +lean_inc(x_468); +lean_inc(x_467); +lean_inc(x_466); lean_dec(x_2); -x_620 = lean_ctor_get(x_608, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_608, 2); -lean_inc(x_621); -x_622 = lean_ctor_get(x_608, 3); -lean_inc(x_622); -x_623 = lean_ctor_get(x_608, 4); -lean_inc(x_623); -if (lean_is_exclusive(x_608)) { - lean_ctor_release(x_608, 0); - lean_ctor_release(x_608, 1); - lean_ctor_release(x_608, 2); - lean_ctor_release(x_608, 3); - lean_ctor_release(x_608, 4); - x_624 = x_608; +x_478 = lean_ctor_get(x_466, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_466, 2); +lean_inc(x_479); +x_480 = lean_ctor_get(x_466, 3); +lean_inc(x_480); +x_481 = lean_ctor_get(x_466, 4); +lean_inc(x_481); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + lean_ctor_release(x_466, 2); + lean_ctor_release(x_466, 3); + lean_ctor_release(x_466, 4); + x_482 = x_466; } else { - lean_dec_ref(x_608); - x_624 = lean_box(0); + lean_dec_ref(x_466); + x_482 = lean_box(0); } +lean_inc(x_408); +if (lean_is_scalar(x_482)) { + x_483 = lean_alloc_ctor(0, 5, 0); +} else { + x_483 = x_482; +} +lean_ctor_set(x_483, 0, x_478); +lean_ctor_set(x_483, 1, x_408); +lean_ctor_set(x_483, 2, x_479); +lean_ctor_set(x_483, 3, x_480); +lean_ctor_set(x_483, 4, x_481); +x_484 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_484, 0, x_483); +lean_ctor_set(x_484, 1, x_467); +lean_ctor_set(x_484, 2, x_468); +lean_ctor_set(x_484, 3, x_469); +lean_ctor_set(x_484, 4, x_470); +lean_ctor_set(x_484, 5, x_471); +lean_ctor_set(x_484, 6, x_472); +lean_ctor_set(x_484, 7, x_473); +lean_ctor_set(x_484, 8, x_474); +lean_ctor_set(x_484, 9, x_475); +lean_ctor_set_uint8(x_484, sizeof(void*)*10, x_476); +lean_ctor_set_uint8(x_484, sizeof(void*)*10 + 1, x_477); +x_485 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_425, x_484, x_413); +if (lean_obj_tag(x_485) == 0) +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_486 = lean_ctor_get(x_485, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_485, 1); +lean_inc(x_487); +if (lean_is_exclusive(x_485)) { + lean_ctor_release(x_485, 0); + lean_ctor_release(x_485, 1); + x_488 = x_485; +} else { + lean_dec_ref(x_485); + x_488 = lean_box(0); +} +x_489 = l_Lean_mkFVar(x_397); +x_490 = l_Lean_mkOptionalNode___closed__2; +x_491 = lean_array_push(x_490, x_489); +x_492 = l_Lean_LocalContext_mkLambda(x_408, x_491, x_486); +lean_dec(x_486); +lean_dec(x_491); +if (lean_is_scalar(x_488)) { + x_493 = lean_alloc_ctor(0, 2, 0); +} else { + x_493 = x_488; +} +lean_ctor_set(x_493, 0, x_492); +lean_ctor_set(x_493, 1, x_487); +return x_493; +} +else +{ +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +lean_dec(x_408); +lean_dec(x_397); +x_494 = lean_ctor_get(x_485, 0); +lean_inc(x_494); +x_495 = lean_ctor_get(x_485, 1); +lean_inc(x_495); +if (lean_is_exclusive(x_485)) { + lean_ctor_release(x_485, 0); + lean_ctor_release(x_485, 1); + x_496 = x_485; +} else { + lean_dec_ref(x_485); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 2, 0); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_494); +lean_ctor_set(x_497, 1, x_495); +return x_497; +} +} +} +else +{ +uint8_t x_498; +lean_dec(x_397); +lean_dec(x_389); +lean_dec(x_382); +lean_dec(x_380); +lean_dec(x_2); +x_498 = !lean_is_exclusive(x_401); +if (x_498 == 0) +{ +return x_401; +} +else +{ +lean_object* x_499; lean_object* x_500; lean_object* x_501; +x_499 = lean_ctor_get(x_401, 0); +x_500 = lean_ctor_get(x_401, 1); +lean_inc(x_500); +lean_inc(x_499); +lean_dec(x_401); +x_501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_501, 0, x_499); +lean_ctor_set(x_501, 1, x_500); +return x_501; +} +} +} +else +{ +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; uint8_t x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; uint8_t x_527; +lean_dec(x_386); +x_502 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_503 = lean_name_mk_string(x_27, x_502); +x_504 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_505 = lean_ctor_get(x_504, 0); +lean_inc(x_505); +x_506 = lean_ctor_get(x_504, 1); +lean_inc(x_506); +lean_dec(x_504); +x_507 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_508 = 0; +lean_inc_n(x_503, 2); +x_509 = lean_local_ctx_mk_local_decl(x_505, x_503, x_503, x_507, x_508); +x_510 = l_Array_eraseIdx___rarg(x_380, x_384); +x_511 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_506); +x_512 = lean_ctor_get(x_511, 1); +lean_inc(x_512); +lean_dec(x_511); +x_513 = l_Lean_Elab_Term_getMainModule___rarg(x_512); +x_514 = lean_ctor_get(x_513, 1); +lean_inc(x_514); +lean_dec(x_513); +x_515 = lean_name_mk_string(x_389, x_65); +x_516 = l_Lean_nullKind___closed__1; +x_517 = lean_name_mk_string(x_27, x_516); +x_518 = l_Array_empty___closed__1; +x_519 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_510, x_510, x_384, x_518); +lean_dec(x_510); +x_520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_520, 0, x_517); +lean_ctor_set(x_520, 1, x_519); +x_521 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_522 = lean_array_push(x_521, x_520); +x_523 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_524 = lean_array_push(x_522, x_523); +x_525 = lean_array_push(x_524, x_382); +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_515); +lean_ctor_set(x_526, 1, x_525); +x_527 = !lean_is_exclusive(x_2); +if (x_527 == 0) +{ +lean_object* x_528; uint8_t x_529; +x_528 = lean_ctor_get(x_2, 0); +x_529 = !lean_is_exclusive(x_528); +if (x_529 == 0) +{ +lean_object* x_530; lean_object* x_531; +x_530 = lean_ctor_get(x_528, 1); +lean_dec(x_530); +lean_inc(x_509); +lean_ctor_set(x_528, 1, x_509); +x_531 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_526, x_2, x_514); +if (lean_obj_tag(x_531) == 0) +{ +uint8_t x_532; +x_532 = !lean_is_exclusive(x_531); +if (x_532 == 0) +{ +lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; +x_533 = lean_ctor_get(x_531, 0); +x_534 = l_Lean_mkFVar(x_503); +x_535 = l_Lean_mkOptionalNode___closed__2; +x_536 = lean_array_push(x_535, x_534); +x_537 = l_Lean_LocalContext_mkLambda(x_509, x_536, x_533); +lean_dec(x_533); +lean_dec(x_536); +lean_ctor_set(x_531, 0, x_537); +return x_531; +} +else +{ +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_538 = lean_ctor_get(x_531, 0); +x_539 = lean_ctor_get(x_531, 1); +lean_inc(x_539); +lean_inc(x_538); +lean_dec(x_531); +x_540 = l_Lean_mkFVar(x_503); +x_541 = l_Lean_mkOptionalNode___closed__2; +x_542 = lean_array_push(x_541, x_540); +x_543 = l_Lean_LocalContext_mkLambda(x_509, x_542, x_538); +lean_dec(x_538); +lean_dec(x_542); +x_544 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_539); +return x_544; +} +} +else +{ +uint8_t x_545; +lean_dec(x_509); +lean_dec(x_503); +x_545 = !lean_is_exclusive(x_531); +if (x_545 == 0) +{ +return x_531; +} +else +{ +lean_object* x_546; lean_object* x_547; lean_object* x_548; +x_546 = lean_ctor_get(x_531, 0); +x_547 = lean_ctor_get(x_531, 1); +lean_inc(x_547); +lean_inc(x_546); +lean_dec(x_531); +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_546); +lean_ctor_set(x_548, 1, x_547); +return x_548; +} +} +} +else +{ +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_549 = lean_ctor_get(x_528, 0); +x_550 = lean_ctor_get(x_528, 2); +x_551 = lean_ctor_get(x_528, 3); +x_552 = lean_ctor_get(x_528, 4); +lean_inc(x_552); +lean_inc(x_551); lean_inc(x_550); -if (lean_is_scalar(x_624)) { - x_625 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_549); +lean_dec(x_528); +lean_inc(x_509); +x_553 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_553, 0, x_549); +lean_ctor_set(x_553, 1, x_509); +lean_ctor_set(x_553, 2, x_550); +lean_ctor_set(x_553, 3, x_551); +lean_ctor_set(x_553, 4, x_552); +lean_ctor_set(x_2, 0, x_553); +x_554 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_526, x_2, x_514); +if (lean_obj_tag(x_554) == 0) +{ +lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; +x_555 = lean_ctor_get(x_554, 0); +lean_inc(x_555); +x_556 = lean_ctor_get(x_554, 1); +lean_inc(x_556); +if (lean_is_exclusive(x_554)) { + lean_ctor_release(x_554, 0); + lean_ctor_release(x_554, 1); + x_557 = x_554; } else { - x_625 = x_624; + lean_dec_ref(x_554); + x_557 = lean_box(0); } -lean_ctor_set(x_625, 0, x_620); -lean_ctor_set(x_625, 1, x_550); -lean_ctor_set(x_625, 2, x_621); -lean_ctor_set(x_625, 3, x_622); -lean_ctor_set(x_625, 4, x_623); -x_626 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_609); -lean_ctor_set(x_626, 2, x_610); -lean_ctor_set(x_626, 3, x_611); -lean_ctor_set(x_626, 4, x_612); -lean_ctor_set(x_626, 5, x_613); -lean_ctor_set(x_626, 6, x_614); -lean_ctor_set(x_626, 7, x_615); -lean_ctor_set(x_626, 8, x_616); -lean_ctor_set(x_626, 9, x_617); -lean_ctor_set_uint8(x_626, sizeof(void*)*10, x_618); -lean_ctor_set_uint8(x_626, sizeof(void*)*10 + 1, x_619); -x_627 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_567, x_626, x_555); +x_558 = l_Lean_mkFVar(x_503); +x_559 = l_Lean_mkOptionalNode___closed__2; +x_560 = lean_array_push(x_559, x_558); +x_561 = l_Lean_LocalContext_mkLambda(x_509, x_560, x_555); +lean_dec(x_555); +lean_dec(x_560); +if (lean_is_scalar(x_557)) { + x_562 = lean_alloc_ctor(0, 2, 0); +} else { + x_562 = x_557; +} +lean_ctor_set(x_562, 0, x_561); +lean_ctor_set(x_562, 1, x_556); +return x_562; +} +else +{ +lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; +lean_dec(x_509); +lean_dec(x_503); +x_563 = lean_ctor_get(x_554, 0); +lean_inc(x_563); +x_564 = lean_ctor_get(x_554, 1); +lean_inc(x_564); +if (lean_is_exclusive(x_554)) { + lean_ctor_release(x_554, 0); + lean_ctor_release(x_554, 1); + x_565 = x_554; +} else { + lean_dec_ref(x_554); + x_565 = lean_box(0); +} +if (lean_is_scalar(x_565)) { + x_566 = lean_alloc_ctor(1, 2, 0); +} else { + x_566 = x_565; +} +lean_ctor_set(x_566, 0, x_563); +lean_ctor_set(x_566, 1, x_564); +return x_566; +} +} +} +else +{ +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; uint8_t x_577; uint8_t 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; +x_567 = lean_ctor_get(x_2, 0); +x_568 = lean_ctor_get(x_2, 1); +x_569 = lean_ctor_get(x_2, 2); +x_570 = lean_ctor_get(x_2, 3); +x_571 = lean_ctor_get(x_2, 4); +x_572 = lean_ctor_get(x_2, 5); +x_573 = lean_ctor_get(x_2, 6); +x_574 = lean_ctor_get(x_2, 7); +x_575 = lean_ctor_get(x_2, 8); +x_576 = lean_ctor_get(x_2, 9); +x_577 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_578 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_576); +lean_inc(x_575); +lean_inc(x_574); +lean_inc(x_573); +lean_inc(x_572); +lean_inc(x_571); +lean_inc(x_570); +lean_inc(x_569); +lean_inc(x_568); +lean_inc(x_567); +lean_dec(x_2); +x_579 = lean_ctor_get(x_567, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_567, 2); +lean_inc(x_580); +x_581 = lean_ctor_get(x_567, 3); +lean_inc(x_581); +x_582 = lean_ctor_get(x_567, 4); +lean_inc(x_582); +if (lean_is_exclusive(x_567)) { + lean_ctor_release(x_567, 0); + lean_ctor_release(x_567, 1); + lean_ctor_release(x_567, 2); + lean_ctor_release(x_567, 3); + lean_ctor_release(x_567, 4); + x_583 = x_567; +} else { + lean_dec_ref(x_567); + x_583 = lean_box(0); +} +lean_inc(x_509); +if (lean_is_scalar(x_583)) { + x_584 = lean_alloc_ctor(0, 5, 0); +} else { + x_584 = x_583; +} +lean_ctor_set(x_584, 0, x_579); +lean_ctor_set(x_584, 1, x_509); +lean_ctor_set(x_584, 2, x_580); +lean_ctor_set(x_584, 3, x_581); +lean_ctor_set(x_584, 4, x_582); +x_585 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_585, 0, x_584); +lean_ctor_set(x_585, 1, x_568); +lean_ctor_set(x_585, 2, x_569); +lean_ctor_set(x_585, 3, x_570); +lean_ctor_set(x_585, 4, x_571); +lean_ctor_set(x_585, 5, x_572); +lean_ctor_set(x_585, 6, x_573); +lean_ctor_set(x_585, 7, x_574); +lean_ctor_set(x_585, 8, x_575); +lean_ctor_set(x_585, 9, x_576); +lean_ctor_set_uint8(x_585, sizeof(void*)*10, x_577); +lean_ctor_set_uint8(x_585, sizeof(void*)*10 + 1, x_578); +x_586 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_526, x_585, x_514); +if (lean_obj_tag(x_586) == 0) +{ +lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_587 = lean_ctor_get(x_586, 0); +lean_inc(x_587); +x_588 = lean_ctor_get(x_586, 1); +lean_inc(x_588); +if (lean_is_exclusive(x_586)) { + lean_ctor_release(x_586, 0); + lean_ctor_release(x_586, 1); + x_589 = x_586; +} else { + lean_dec_ref(x_586); + x_589 = lean_box(0); +} +x_590 = l_Lean_mkFVar(x_503); +x_591 = l_Lean_mkOptionalNode___closed__2; +x_592 = lean_array_push(x_591, x_590); +x_593 = l_Lean_LocalContext_mkLambda(x_509, x_592, x_587); +lean_dec(x_587); +lean_dec(x_592); +if (lean_is_scalar(x_589)) { + x_594 = lean_alloc_ctor(0, 2, 0); +} else { + x_594 = x_589; +} +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_588); +return x_594; +} +else +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; +lean_dec(x_509); +lean_dec(x_503); +x_595 = lean_ctor_get(x_586, 0); +lean_inc(x_595); +x_596 = lean_ctor_get(x_586, 1); +lean_inc(x_596); +if (lean_is_exclusive(x_586)) { + lean_ctor_release(x_586, 0); + lean_ctor_release(x_586, 1); + x_597 = x_586; +} else { + lean_dec_ref(x_586); + x_597 = lean_box(0); +} +if (lean_is_scalar(x_597)) { + x_598 = lean_alloc_ctor(1, 2, 0); +} else { + x_598 = x_597; +} +lean_ctor_set(x_598, 0, x_595); +lean_ctor_set(x_598, 1, x_596); +return x_598; +} +} +} +} +else +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; uint8_t 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; uint8_t x_623; +x_599 = l_Lean_Syntax_getIdAt(x_386, x_384); +lean_dec(x_386); +x_600 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_601 = lean_ctor_get(x_600, 0); +lean_inc(x_601); +x_602 = lean_ctor_get(x_600, 1); +lean_inc(x_602); +lean_dec(x_600); +x_603 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_604 = 0; +lean_inc_n(x_599, 2); +x_605 = lean_local_ctx_mk_local_decl(x_601, x_599, x_599, x_603, x_604); +x_606 = l_Array_eraseIdx___rarg(x_380, x_384); +x_607 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_602); +x_608 = lean_ctor_get(x_607, 1); +lean_inc(x_608); +lean_dec(x_607); +x_609 = l_Lean_Elab_Term_getMainModule___rarg(x_608); +x_610 = lean_ctor_get(x_609, 1); +lean_inc(x_610); +lean_dec(x_609); +x_611 = lean_name_mk_string(x_389, x_65); +x_612 = l_Lean_nullKind___closed__1; +x_613 = lean_name_mk_string(x_27, x_612); +x_614 = l_Array_empty___closed__1; +x_615 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_606, x_606, x_384, x_614); +lean_dec(x_606); +x_616 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_616, 0, x_613); +lean_ctor_set(x_616, 1, x_615); +x_617 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +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_382); +x_622 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_622, 0, x_611); +lean_ctor_set(x_622, 1, x_621); +x_623 = !lean_is_exclusive(x_2); +if (x_623 == 0) +{ +lean_object* x_624; uint8_t x_625; +x_624 = lean_ctor_get(x_2, 0); +x_625 = !lean_is_exclusive(x_624); +if (x_625 == 0) +{ +lean_object* x_626; lean_object* x_627; +x_626 = lean_ctor_get(x_624, 1); +lean_dec(x_626); +lean_inc(x_605); +lean_ctor_set(x_624, 1, x_605); +x_627 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_622, x_2, x_610); if (lean_obj_tag(x_627) == 0) { -lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_628 = lean_ctor_get(x_627, 0); -lean_inc(x_628); -x_629 = lean_ctor_get(x_627, 1); -lean_inc(x_629); -if (lean_is_exclusive(x_627)) { - lean_ctor_release(x_627, 0); - lean_ctor_release(x_627, 1); - x_630 = x_627; -} else { - lean_dec_ref(x_627); - x_630 = lean_box(0); -} -x_631 = l_Lean_mkFVar(x_544); -x_632 = l_Lean_mkOptionalNode___closed__2; -x_633 = lean_array_push(x_632, x_631); -x_634 = l_Lean_LocalContext_mkLambda(x_550, x_633, x_628); -lean_dec(x_628); -lean_dec(x_633); -if (lean_is_scalar(x_630)) { - x_635 = lean_alloc_ctor(0, 2, 0); -} else { - x_635 = x_630; -} -lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_629); -return x_635; +uint8_t x_628; +x_628 = !lean_is_exclusive(x_627); +if (x_628 == 0) +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; +x_629 = lean_ctor_get(x_627, 0); +x_630 = l_Lean_mkFVar(x_599); +x_631 = l_Lean_mkOptionalNode___closed__2; +x_632 = lean_array_push(x_631, x_630); +x_633 = l_Lean_LocalContext_mkLambda(x_605, x_632, x_629); +lean_dec(x_629); +lean_dec(x_632); +lean_ctor_set(x_627, 0, x_633); +return x_627; } else { -lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -lean_dec(x_550); -lean_dec(x_544); -x_636 = lean_ctor_get(x_627, 0); -lean_inc(x_636); -x_637 = lean_ctor_get(x_627, 1); -lean_inc(x_637); -if (lean_is_exclusive(x_627)) { - lean_ctor_release(x_627, 0); - lean_ctor_release(x_627, 1); - x_638 = x_627; -} else { - lean_dec_ref(x_627); - x_638 = lean_box(0); -} -if (lean_is_scalar(x_638)) { - x_639 = lean_alloc_ctor(1, 2, 0); -} else { - x_639 = x_638; -} -lean_ctor_set(x_639, 0, x_636); -lean_ctor_set(x_639, 1, x_637); -return x_639; -} -} +lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; +x_634 = lean_ctor_get(x_627, 0); +x_635 = lean_ctor_get(x_627, 1); +lean_inc(x_635); +lean_inc(x_634); +lean_dec(x_627); +x_636 = l_Lean_mkFVar(x_599); +x_637 = l_Lean_mkOptionalNode___closed__2; +x_638 = lean_array_push(x_637, x_636); +x_639 = l_Lean_LocalContext_mkLambda(x_605, x_638, x_634); +lean_dec(x_634); +lean_dec(x_638); +x_640 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_635); +return x_640; } } else { -lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; uint8_t x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; uint8_t x_664; -x_640 = l_Lean_Syntax_getIdAt(x_427, x_425); -lean_dec(x_427); -x_641 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_642 = lean_ctor_get(x_641, 0); -lean_inc(x_642); -x_643 = lean_ctor_get(x_641, 1); +uint8_t x_641; +lean_dec(x_605); +lean_dec(x_599); +x_641 = !lean_is_exclusive(x_627); +if (x_641 == 0) +{ +return x_627; +} +else +{ +lean_object* x_642; lean_object* x_643; lean_object* x_644; +x_642 = lean_ctor_get(x_627, 0); +x_643 = lean_ctor_get(x_627, 1); lean_inc(x_643); -lean_dec(x_641); -x_644 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_645 = 0; -lean_inc_n(x_640, 2); -x_646 = lean_local_ctx_mk_local_decl(x_642, x_640, x_640, x_644, x_645); -x_647 = l_Array_eraseIdx___rarg(x_421, x_425); -x_648 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_643); -x_649 = lean_ctor_get(x_648, 1); -lean_inc(x_649); -lean_dec(x_648); -x_650 = l_Lean_Elab_Term_getMainModule___rarg(x_649); -x_651 = lean_ctor_get(x_650, 1); +lean_inc(x_642); +lean_dec(x_627); +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_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; +x_645 = lean_ctor_get(x_624, 0); +x_646 = lean_ctor_get(x_624, 2); +x_647 = lean_ctor_get(x_624, 3); +x_648 = lean_ctor_get(x_624, 4); +lean_inc(x_648); +lean_inc(x_647); +lean_inc(x_646); +lean_inc(x_645); +lean_dec(x_624); +lean_inc(x_605); +x_649 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_649, 0, x_645); +lean_ctor_set(x_649, 1, x_605); +lean_ctor_set(x_649, 2, x_646); +lean_ctor_set(x_649, 3, x_647); +lean_ctor_set(x_649, 4, x_648); +lean_ctor_set(x_2, 0, x_649); +x_650 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_622, x_2, x_610); +if (lean_obj_tag(x_650) == 0) +{ +lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; +x_651 = lean_ctor_get(x_650, 0); lean_inc(x_651); -lean_dec(x_650); -x_652 = lean_name_mk_string(x_430, x_156); -x_653 = l_Lean_nullKind___closed__1; -x_654 = lean_name_mk_string(x_118, x_653); -x_655 = l_Array_empty___closed__1; -x_656 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_647, x_647, x_425, x_655); -lean_dec(x_647); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_654); -lean_ctor_set(x_657, 1, x_656); -x_658 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_659 = lean_array_push(x_658, x_657); -x_660 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_661 = lean_array_push(x_659, x_660); -x_662 = lean_array_push(x_661, x_423); -x_663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_663, 0, x_652); -lean_ctor_set(x_663, 1, x_662); -x_664 = !lean_is_exclusive(x_2); -if (x_664 == 0) -{ -lean_object* x_665; uint8_t x_666; -x_665 = lean_ctor_get(x_2, 0); -x_666 = !lean_is_exclusive(x_665); -if (x_666 == 0) -{ -lean_object* x_667; lean_object* x_668; -x_667 = lean_ctor_get(x_665, 1); -lean_dec(x_667); -lean_inc(x_646); -lean_ctor_set(x_665, 1, x_646); -x_668 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_663, x_2, x_651); -if (lean_obj_tag(x_668) == 0) -{ -uint8_t x_669; -x_669 = !lean_is_exclusive(x_668); -if (x_669 == 0) -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; -x_670 = lean_ctor_get(x_668, 0); -x_671 = l_Lean_mkFVar(x_640); -x_672 = l_Lean_mkOptionalNode___closed__2; -x_673 = lean_array_push(x_672, x_671); -x_674 = l_Lean_LocalContext_mkLambda(x_646, x_673, x_670); -lean_dec(x_670); -lean_dec(x_673); -lean_ctor_set(x_668, 0, x_674); -return x_668; -} -else -{ -lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; -x_675 = lean_ctor_get(x_668, 0); -x_676 = lean_ctor_get(x_668, 1); -lean_inc(x_676); -lean_inc(x_675); -lean_dec(x_668); -x_677 = l_Lean_mkFVar(x_640); -x_678 = l_Lean_mkOptionalNode___closed__2; -x_679 = lean_array_push(x_678, x_677); -x_680 = l_Lean_LocalContext_mkLambda(x_646, x_679, x_675); -lean_dec(x_675); -lean_dec(x_679); -x_681 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_676); -return x_681; -} -} -else -{ -uint8_t x_682; -lean_dec(x_646); -lean_dec(x_640); -x_682 = !lean_is_exclusive(x_668); -if (x_682 == 0) -{ -return x_668; -} -else -{ -lean_object* x_683; lean_object* x_684; lean_object* x_685; -x_683 = lean_ctor_get(x_668, 0); -x_684 = lean_ctor_get(x_668, 1); -lean_inc(x_684); -lean_inc(x_683); -lean_dec(x_668); -x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_683); -lean_ctor_set(x_685, 1, x_684); -return x_685; -} -} -} -else -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; -x_686 = lean_ctor_get(x_665, 0); -x_687 = lean_ctor_get(x_665, 2); -x_688 = lean_ctor_get(x_665, 3); -x_689 = lean_ctor_get(x_665, 4); -lean_inc(x_689); -lean_inc(x_688); -lean_inc(x_687); -lean_inc(x_686); -lean_dec(x_665); -lean_inc(x_646); -x_690 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_690, 0, x_686); -lean_ctor_set(x_690, 1, x_646); -lean_ctor_set(x_690, 2, x_687); -lean_ctor_set(x_690, 3, x_688); -lean_ctor_set(x_690, 4, x_689); -lean_ctor_set(x_2, 0, x_690); -x_691 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_663, x_2, x_651); -if (lean_obj_tag(x_691) == 0) -{ -lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_692 = lean_ctor_get(x_691, 0); -lean_inc(x_692); -x_693 = lean_ctor_get(x_691, 1); -lean_inc(x_693); -if (lean_is_exclusive(x_691)) { - lean_ctor_release(x_691, 0); - lean_ctor_release(x_691, 1); - x_694 = x_691; +x_652 = lean_ctor_get(x_650, 1); +lean_inc(x_652); +if (lean_is_exclusive(x_650)) { + lean_ctor_release(x_650, 0); + lean_ctor_release(x_650, 1); + x_653 = x_650; } else { - lean_dec_ref(x_691); - x_694 = lean_box(0); + lean_dec_ref(x_650); + x_653 = lean_box(0); } -x_695 = l_Lean_mkFVar(x_640); -x_696 = l_Lean_mkOptionalNode___closed__2; -x_697 = lean_array_push(x_696, x_695); -x_698 = l_Lean_LocalContext_mkLambda(x_646, x_697, x_692); -lean_dec(x_692); -lean_dec(x_697); -if (lean_is_scalar(x_694)) { - x_699 = lean_alloc_ctor(0, 2, 0); +x_654 = l_Lean_mkFVar(x_599); +x_655 = l_Lean_mkOptionalNode___closed__2; +x_656 = lean_array_push(x_655, x_654); +x_657 = l_Lean_LocalContext_mkLambda(x_605, x_656, x_651); +lean_dec(x_651); +lean_dec(x_656); +if (lean_is_scalar(x_653)) { + x_658 = lean_alloc_ctor(0, 2, 0); } else { - x_699 = x_694; + x_658 = x_653; } -lean_ctor_set(x_699, 0, x_698); -lean_ctor_set(x_699, 1, x_693); -return x_699; +lean_ctor_set(x_658, 0, x_657); +lean_ctor_set(x_658, 1, x_652); +return x_658; } else { -lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; -lean_dec(x_646); -lean_dec(x_640); -x_700 = lean_ctor_get(x_691, 0); -lean_inc(x_700); -x_701 = lean_ctor_get(x_691, 1); -lean_inc(x_701); -if (lean_is_exclusive(x_691)) { - lean_ctor_release(x_691, 0); - lean_ctor_release(x_691, 1); - x_702 = x_691; +lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; +lean_dec(x_605); +lean_dec(x_599); +x_659 = lean_ctor_get(x_650, 0); +lean_inc(x_659); +x_660 = lean_ctor_get(x_650, 1); +lean_inc(x_660); +if (lean_is_exclusive(x_650)) { + lean_ctor_release(x_650, 0); + lean_ctor_release(x_650, 1); + x_661 = x_650; } else { - lean_dec_ref(x_691); - x_702 = lean_box(0); + lean_dec_ref(x_650); + x_661 = lean_box(0); } -if (lean_is_scalar(x_702)) { - x_703 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_661)) { + x_662 = lean_alloc_ctor(1, 2, 0); } else { - x_703 = x_702; + x_662 = x_661; } -lean_ctor_set(x_703, 0, x_700); -lean_ctor_set(x_703, 1, x_701); -return x_703; +lean_ctor_set(x_662, 0, x_659); +lean_ctor_set(x_662, 1, x_660); +return x_662; } } } else { -lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; uint8_t x_714; uint8_t 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; -x_704 = lean_ctor_get(x_2, 0); -x_705 = lean_ctor_get(x_2, 1); -x_706 = lean_ctor_get(x_2, 2); -x_707 = lean_ctor_get(x_2, 3); -x_708 = lean_ctor_get(x_2, 4); -x_709 = lean_ctor_get(x_2, 5); -x_710 = lean_ctor_get(x_2, 6); -x_711 = lean_ctor_get(x_2, 7); -x_712 = lean_ctor_get(x_2, 8); -x_713 = lean_ctor_get(x_2, 9); -x_714 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_715 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -lean_inc(x_713); -lean_inc(x_712); -lean_inc(x_711); -lean_inc(x_710); -lean_inc(x_709); -lean_inc(x_708); -lean_inc(x_707); -lean_inc(x_706); -lean_inc(x_705); -lean_inc(x_704); +lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; uint8_t x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; +x_663 = lean_ctor_get(x_2, 0); +x_664 = lean_ctor_get(x_2, 1); +x_665 = lean_ctor_get(x_2, 2); +x_666 = lean_ctor_get(x_2, 3); +x_667 = lean_ctor_get(x_2, 4); +x_668 = lean_ctor_get(x_2, 5); +x_669 = lean_ctor_get(x_2, 6); +x_670 = lean_ctor_get(x_2, 7); +x_671 = lean_ctor_get(x_2, 8); +x_672 = lean_ctor_get(x_2, 9); +x_673 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_674 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_inc(x_672); +lean_inc(x_671); +lean_inc(x_670); +lean_inc(x_669); +lean_inc(x_668); +lean_inc(x_667); +lean_inc(x_666); +lean_inc(x_665); +lean_inc(x_664); +lean_inc(x_663); lean_dec(x_2); -x_716 = lean_ctor_get(x_704, 0); -lean_inc(x_716); -x_717 = lean_ctor_get(x_704, 2); -lean_inc(x_717); -x_718 = lean_ctor_get(x_704, 3); -lean_inc(x_718); -x_719 = lean_ctor_get(x_704, 4); -lean_inc(x_719); -if (lean_is_exclusive(x_704)) { - lean_ctor_release(x_704, 0); - lean_ctor_release(x_704, 1); - lean_ctor_release(x_704, 2); - lean_ctor_release(x_704, 3); - lean_ctor_release(x_704, 4); - x_720 = x_704; +x_675 = lean_ctor_get(x_663, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_663, 2); +lean_inc(x_676); +x_677 = lean_ctor_get(x_663, 3); +lean_inc(x_677); +x_678 = lean_ctor_get(x_663, 4); +lean_inc(x_678); +if (lean_is_exclusive(x_663)) { + lean_ctor_release(x_663, 0); + lean_ctor_release(x_663, 1); + lean_ctor_release(x_663, 2); + lean_ctor_release(x_663, 3); + lean_ctor_release(x_663, 4); + x_679 = x_663; } else { - lean_dec_ref(x_704); - x_720 = lean_box(0); + lean_dec_ref(x_663); + x_679 = lean_box(0); } -lean_inc(x_646); -if (lean_is_scalar(x_720)) { - x_721 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_605); +if (lean_is_scalar(x_679)) { + x_680 = lean_alloc_ctor(0, 5, 0); } else { - x_721 = x_720; + x_680 = x_679; } -lean_ctor_set(x_721, 0, x_716); -lean_ctor_set(x_721, 1, x_646); -lean_ctor_set(x_721, 2, x_717); -lean_ctor_set(x_721, 3, x_718); -lean_ctor_set(x_721, 4, x_719); -x_722 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_722, 0, x_721); -lean_ctor_set(x_722, 1, x_705); -lean_ctor_set(x_722, 2, x_706); -lean_ctor_set(x_722, 3, x_707); -lean_ctor_set(x_722, 4, x_708); -lean_ctor_set(x_722, 5, x_709); -lean_ctor_set(x_722, 6, x_710); -lean_ctor_set(x_722, 7, x_711); -lean_ctor_set(x_722, 8, x_712); -lean_ctor_set(x_722, 9, x_713); -lean_ctor_set_uint8(x_722, sizeof(void*)*10, x_714); -lean_ctor_set_uint8(x_722, sizeof(void*)*10 + 1, x_715); -x_723 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_663, x_722, x_651); -if (lean_obj_tag(x_723) == 0) +lean_ctor_set(x_680, 0, x_675); +lean_ctor_set(x_680, 1, x_605); +lean_ctor_set(x_680, 2, x_676); +lean_ctor_set(x_680, 3, x_677); +lean_ctor_set(x_680, 4, x_678); +x_681 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_681, 0, x_680); +lean_ctor_set(x_681, 1, x_664); +lean_ctor_set(x_681, 2, x_665); +lean_ctor_set(x_681, 3, x_666); +lean_ctor_set(x_681, 4, x_667); +lean_ctor_set(x_681, 5, x_668); +lean_ctor_set(x_681, 6, x_669); +lean_ctor_set(x_681, 7, x_670); +lean_ctor_set(x_681, 8, x_671); +lean_ctor_set(x_681, 9, x_672); +lean_ctor_set_uint8(x_681, sizeof(void*)*10, x_673); +lean_ctor_set_uint8(x_681, sizeof(void*)*10 + 1, x_674); +x_682 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_622, x_681, x_610); +if (lean_obj_tag(x_682) == 0) { -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; -x_724 = lean_ctor_get(x_723, 0); -lean_inc(x_724); -x_725 = lean_ctor_get(x_723, 1); -lean_inc(x_725); -if (lean_is_exclusive(x_723)) { - lean_ctor_release(x_723, 0); - lean_ctor_release(x_723, 1); - x_726 = x_723; +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; +x_683 = lean_ctor_get(x_682, 0); +lean_inc(x_683); +x_684 = lean_ctor_get(x_682, 1); +lean_inc(x_684); +if (lean_is_exclusive(x_682)) { + lean_ctor_release(x_682, 0); + lean_ctor_release(x_682, 1); + x_685 = x_682; } else { - lean_dec_ref(x_723); - x_726 = lean_box(0); + lean_dec_ref(x_682); + x_685 = lean_box(0); } -x_727 = l_Lean_mkFVar(x_640); -x_728 = l_Lean_mkOptionalNode___closed__2; -x_729 = lean_array_push(x_728, x_727); -x_730 = l_Lean_LocalContext_mkLambda(x_646, x_729, x_724); -lean_dec(x_724); -lean_dec(x_729); -if (lean_is_scalar(x_726)) { - x_731 = lean_alloc_ctor(0, 2, 0); +x_686 = l_Lean_mkFVar(x_599); +x_687 = l_Lean_mkOptionalNode___closed__2; +x_688 = lean_array_push(x_687, x_686); +x_689 = l_Lean_LocalContext_mkLambda(x_605, x_688, x_683); +lean_dec(x_683); +lean_dec(x_688); +if (lean_is_scalar(x_685)) { + x_690 = lean_alloc_ctor(0, 2, 0); } else { - x_731 = x_726; + x_690 = x_685; } -lean_ctor_set(x_731, 0, x_730); -lean_ctor_set(x_731, 1, x_725); -return x_731; +lean_ctor_set(x_690, 0, x_689); +lean_ctor_set(x_690, 1, x_684); +return x_690; } else { -lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; -lean_dec(x_646); -lean_dec(x_640); -x_732 = lean_ctor_get(x_723, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_723, 1); -lean_inc(x_733); -if (lean_is_exclusive(x_723)) { - lean_ctor_release(x_723, 0); - lean_ctor_release(x_723, 1); - x_734 = x_723; +lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; +lean_dec(x_605); +lean_dec(x_599); +x_691 = lean_ctor_get(x_682, 0); +lean_inc(x_691); +x_692 = lean_ctor_get(x_682, 1); +lean_inc(x_692); +if (lean_is_exclusive(x_682)) { + lean_ctor_release(x_682, 0); + lean_ctor_release(x_682, 1); + x_693 = x_682; } else { - lean_dec_ref(x_723); - x_734 = lean_box(0); + lean_dec_ref(x_682); + x_693 = lean_box(0); } -if (lean_is_scalar(x_734)) { - x_735 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_693)) { + x_694 = lean_alloc_ctor(1, 2, 0); } else { - x_735 = x_734; + x_694 = x_693; } -lean_ctor_set(x_735, 0, x_732); -lean_ctor_set(x_735, 1, x_733); -return x_735; +lean_ctor_set(x_694, 0, x_691); +lean_ctor_set(x_694, 1, x_692); +return x_694; } } } } else { -lean_dec(x_421); -x_1 = x_423; +lean_dec(x_380); +x_1 = x_382; goto _start; } } } else { -lean_object* x_737; lean_object* x_738; lean_object* x_739; -lean_free_object(x_96); -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_737 = l_Lean_Syntax_inhabited; -x_738 = lean_unsigned_to_nat(0u); -x_739 = lean_array_get(x_737, x_4, x_738); +lean_object* x_696; lean_object* x_697; lean_object* x_698; +lean_free_object(x_5); +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_696 = l_Lean_Syntax_inhabited; +x_697 = lean_unsigned_to_nat(0u); +x_698 = lean_array_get(x_696, x_4, x_697); lean_dec(x_4); -if (lean_obj_tag(x_739) == 3) +if (lean_obj_tag(x_698) == 3) { -lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; -x_740 = lean_ctor_get(x_739, 2); -lean_inc(x_740); -x_741 = lean_ctor_get(x_739, 3); -lean_inc(x_741); -lean_dec(x_739); -x_742 = lean_box(0); +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; +x_699 = lean_ctor_get(x_698, 2); +lean_inc(x_699); +x_700 = lean_ctor_get(x_698, 3); +lean_inc(x_700); +lean_dec(x_698); +x_701 = lean_box(0); lean_inc(x_2); -x_743 = l_Lean_Elab_Term_resolveName(x_1, x_740, x_741, x_742, x_2, x_3); +x_702 = l_Lean_Elab_Term_resolveName(x_1, x_699, x_700, x_701, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_743) == 0) +if (lean_obj_tag(x_702) == 0) { -lean_object* x_744; -x_744 = lean_ctor_get(x_743, 0); -lean_inc(x_744); -if (lean_obj_tag(x_744) == 0) +lean_object* x_703; +x_703 = lean_ctor_get(x_702, 0); +lean_inc(x_703); +if (lean_obj_tag(x_703) == 0) { -lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; -x_745 = lean_ctor_get(x_743, 1); -lean_inc(x_745); -lean_dec(x_743); -x_746 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_747 = l_unreachable_x21___rarg(x_746); -x_748 = lean_apply_2(x_747, x_2, x_745); -return x_748; +lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; +x_704 = lean_ctor_get(x_702, 1); +lean_inc(x_704); +lean_dec(x_702); +x_705 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_706 = l_unreachable_x21___rarg(x_705); +x_707 = lean_apply_2(x_706, x_2, x_704); +return x_707; } else { -lean_object* x_749; lean_object* x_750; +lean_object* x_708; lean_object* x_709; lean_dec(x_2); -x_749 = lean_ctor_get(x_744, 0); -lean_inc(x_749); -lean_dec(x_744); -x_750 = lean_ctor_get(x_749, 0); -lean_inc(x_750); -switch (lean_obj_tag(x_750)) { +x_708 = lean_ctor_get(x_703, 0); +lean_inc(x_708); +lean_dec(x_703); +x_709 = lean_ctor_get(x_708, 0); +lean_inc(x_709); +switch (lean_obj_tag(x_709)) { case 0: { -uint8_t x_751; -x_751 = !lean_is_exclusive(x_743); -if (x_751 == 0) +uint8_t x_710; +x_710 = !lean_is_exclusive(x_702); +if (x_710 == 0) { -lean_object* x_752; lean_object* x_753; lean_object* x_754; -x_752 = lean_ctor_get(x_743, 0); -lean_dec(x_752); -x_753 = lean_ctor_get(x_749, 1); -lean_inc(x_753); -lean_dec(x_749); -x_754 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_750, x_753); -lean_ctor_set(x_743, 0, x_754); -return x_743; +lean_object* x_711; lean_object* x_712; lean_object* x_713; +x_711 = lean_ctor_get(x_702, 0); +lean_dec(x_711); +x_712 = lean_ctor_get(x_708, 1); +lean_inc(x_712); +lean_dec(x_708); +x_713 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_709, x_712); +lean_ctor_set(x_702, 0, x_713); +return x_702; } else { -lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; -x_755 = lean_ctor_get(x_743, 1); -lean_inc(x_755); -lean_dec(x_743); -x_756 = lean_ctor_get(x_749, 1); -lean_inc(x_756); -lean_dec(x_749); -x_757 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_750, x_756); -x_758 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_758, 0, x_757); -lean_ctor_set(x_758, 1, x_755); -return x_758; +lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_714 = lean_ctor_get(x_702, 1); +lean_inc(x_714); +lean_dec(x_702); +x_715 = lean_ctor_get(x_708, 1); +lean_inc(x_715); +lean_dec(x_708); +x_716 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_709, x_715); +x_717 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_714); +return x_717; } } case 1: { -uint8_t x_759; -x_759 = !lean_is_exclusive(x_743); -if (x_759 == 0) +uint8_t x_718; +x_718 = !lean_is_exclusive(x_702); +if (x_718 == 0) { -lean_object* x_760; lean_object* x_761; lean_object* x_762; -x_760 = lean_ctor_get(x_743, 0); -lean_dec(x_760); -x_761 = lean_ctor_get(x_749, 1); -lean_inc(x_761); -lean_dec(x_749); -x_762 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_750, x_761); -lean_ctor_set(x_743, 0, x_762); -return x_743; +lean_object* x_719; lean_object* x_720; lean_object* x_721; +x_719 = lean_ctor_get(x_702, 0); +lean_dec(x_719); +x_720 = lean_ctor_get(x_708, 1); +lean_inc(x_720); +lean_dec(x_708); +x_721 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_709, x_720); +lean_ctor_set(x_702, 0, x_721); +return x_702; } else { -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; -x_763 = lean_ctor_get(x_743, 1); -lean_inc(x_763); -lean_dec(x_743); -x_764 = lean_ctor_get(x_749, 1); -lean_inc(x_764); -lean_dec(x_749); -x_765 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_750, x_764); -x_766 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_766, 0, x_765); -lean_ctor_set(x_766, 1, x_763); -return x_766; +lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_722 = lean_ctor_get(x_702, 1); +lean_inc(x_722); +lean_dec(x_702); +x_723 = lean_ctor_get(x_708, 1); +lean_inc(x_723); +lean_dec(x_708); +x_724 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_709, x_723); +x_725 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_722); +return x_725; } } case 2: { -uint8_t x_767; -x_767 = !lean_is_exclusive(x_743); -if (x_767 == 0) +uint8_t x_726; +x_726 = !lean_is_exclusive(x_702); +if (x_726 == 0) { -lean_object* x_768; lean_object* x_769; lean_object* x_770; -x_768 = lean_ctor_get(x_743, 0); -lean_dec(x_768); -x_769 = lean_ctor_get(x_749, 1); -lean_inc(x_769); -lean_dec(x_749); -x_770 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_750, x_769); -lean_ctor_set(x_743, 0, x_770); -return x_743; +lean_object* x_727; lean_object* x_728; lean_object* x_729; +x_727 = lean_ctor_get(x_702, 0); +lean_dec(x_727); +x_728 = lean_ctor_get(x_708, 1); +lean_inc(x_728); +lean_dec(x_708); +x_729 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_709, x_728); +lean_ctor_set(x_702, 0, x_729); +return x_702; } else { -lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; -x_771 = lean_ctor_get(x_743, 1); -lean_inc(x_771); -lean_dec(x_743); -x_772 = lean_ctor_get(x_749, 1); -lean_inc(x_772); -lean_dec(x_749); -x_773 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_750, x_772); -x_774 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_771); -return x_774; +lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; +x_730 = lean_ctor_get(x_702, 1); +lean_inc(x_730); +lean_dec(x_702); +x_731 = lean_ctor_get(x_708, 1); +lean_inc(x_731); +lean_dec(x_708); +x_732 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_709, x_731); +x_733 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_730); +return x_733; } } case 3: { -uint8_t x_775; -x_775 = !lean_is_exclusive(x_743); -if (x_775 == 0) +uint8_t x_734; +x_734 = !lean_is_exclusive(x_702); +if (x_734 == 0) { -lean_object* x_776; lean_object* x_777; lean_object* x_778; -x_776 = lean_ctor_get(x_743, 0); -lean_dec(x_776); -x_777 = lean_ctor_get(x_749, 1); -lean_inc(x_777); -lean_dec(x_749); -x_778 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_750, x_777); -lean_ctor_set(x_743, 0, x_778); -return x_743; +lean_object* x_735; lean_object* x_736; lean_object* x_737; +x_735 = lean_ctor_get(x_702, 0); +lean_dec(x_735); +x_736 = lean_ctor_get(x_708, 1); +lean_inc(x_736); +lean_dec(x_708); +x_737 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_709, x_736); +lean_ctor_set(x_702, 0, x_737); +return x_702; } else { -lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; -x_779 = lean_ctor_get(x_743, 1); -lean_inc(x_779); -lean_dec(x_743); -x_780 = lean_ctor_get(x_749, 1); -lean_inc(x_780); -lean_dec(x_749); -x_781 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_750, x_780); -x_782 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_782, 0, x_781); -lean_ctor_set(x_782, 1, x_779); -return x_782; +lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; +x_738 = lean_ctor_get(x_702, 1); +lean_inc(x_738); +lean_dec(x_702); +x_739 = lean_ctor_get(x_708, 1); +lean_inc(x_739); +lean_dec(x_708); +x_740 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_709, x_739); +x_741 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_738); +return x_741; } } case 4: { -uint8_t x_783; -x_783 = !lean_is_exclusive(x_743); -if (x_783 == 0) +uint8_t x_742; +x_742 = !lean_is_exclusive(x_702); +if (x_742 == 0) { -lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; -x_784 = lean_ctor_get(x_743, 0); -lean_dec(x_784); -x_785 = lean_ctor_get(x_749, 1); -lean_inc(x_785); -lean_dec(x_749); -x_786 = lean_ctor_get(x_750, 0); -lean_inc(x_786); -lean_dec(x_750); -x_787 = l_Lean_mkConst(x_786, x_742); -x_788 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_787, x_785); -lean_ctor_set(x_743, 0, x_788); -return x_743; +lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; +x_743 = lean_ctor_get(x_702, 0); +lean_dec(x_743); +x_744 = lean_ctor_get(x_708, 1); +lean_inc(x_744); +lean_dec(x_708); +x_745 = lean_ctor_get(x_709, 0); +lean_inc(x_745); +lean_dec(x_709); +x_746 = l_Lean_mkConst(x_745, x_701); +x_747 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_746, x_744); +lean_ctor_set(x_702, 0, x_747); +return x_702; } else { -lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; -x_789 = lean_ctor_get(x_743, 1); -lean_inc(x_789); -lean_dec(x_743); -x_790 = lean_ctor_get(x_749, 1); -lean_inc(x_790); -lean_dec(x_749); -x_791 = lean_ctor_get(x_750, 0); -lean_inc(x_791); -lean_dec(x_750); -x_792 = l_Lean_mkConst(x_791, x_742); -x_793 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_792, x_790); -x_794 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_794, 0, x_793); -lean_ctor_set(x_794, 1, x_789); -return x_794; +lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; +x_748 = lean_ctor_get(x_702, 1); +lean_inc(x_748); +lean_dec(x_702); +x_749 = lean_ctor_get(x_708, 1); +lean_inc(x_749); +lean_dec(x_708); +x_750 = lean_ctor_get(x_709, 0); +lean_inc(x_750); +lean_dec(x_709); +x_751 = l_Lean_mkConst(x_750, x_701); +x_752 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_751, x_749); +x_753 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_753, 0, x_752); +lean_ctor_set(x_753, 1, x_748); +return x_753; } } case 5: { -uint8_t x_795; -x_795 = !lean_is_exclusive(x_743); -if (x_795 == 0) +uint8_t x_754; +x_754 = !lean_is_exclusive(x_702); +if (x_754 == 0) { -lean_object* x_796; lean_object* x_797; lean_object* x_798; -x_796 = lean_ctor_get(x_743, 0); -lean_dec(x_796); -x_797 = lean_ctor_get(x_749, 1); -lean_inc(x_797); -lean_dec(x_749); -x_798 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_750, x_797); -lean_ctor_set(x_743, 0, x_798); -return x_743; +lean_object* x_755; lean_object* x_756; lean_object* x_757; +x_755 = lean_ctor_get(x_702, 0); +lean_dec(x_755); +x_756 = lean_ctor_get(x_708, 1); +lean_inc(x_756); +lean_dec(x_708); +x_757 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_709, x_756); +lean_ctor_set(x_702, 0, x_757); +return x_702; } else { -lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; -x_799 = lean_ctor_get(x_743, 1); -lean_inc(x_799); -lean_dec(x_743); -x_800 = lean_ctor_get(x_749, 1); -lean_inc(x_800); -lean_dec(x_749); -x_801 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_750, x_800); -x_802 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_802, 0, x_801); -lean_ctor_set(x_802, 1, x_799); -return x_802; +lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; +x_758 = lean_ctor_get(x_702, 1); +lean_inc(x_758); +lean_dec(x_702); +x_759 = lean_ctor_get(x_708, 1); +lean_inc(x_759); +lean_dec(x_708); +x_760 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_709, x_759); +x_761 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_761, 0, x_760); +lean_ctor_set(x_761, 1, x_758); +return x_761; } } case 6: { -uint8_t x_803; -x_803 = !lean_is_exclusive(x_743); -if (x_803 == 0) +uint8_t x_762; +x_762 = !lean_is_exclusive(x_702); +if (x_762 == 0) { -lean_object* x_804; lean_object* x_805; lean_object* x_806; -x_804 = lean_ctor_get(x_743, 0); -lean_dec(x_804); -x_805 = lean_ctor_get(x_749, 1); -lean_inc(x_805); -lean_dec(x_749); -x_806 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_750, x_805); -lean_ctor_set(x_743, 0, x_806); -return x_743; +lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_763 = lean_ctor_get(x_702, 0); +lean_dec(x_763); +x_764 = lean_ctor_get(x_708, 1); +lean_inc(x_764); +lean_dec(x_708); +x_765 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_709, x_764); +lean_ctor_set(x_702, 0, x_765); +return x_702; } else { -lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; -x_807 = lean_ctor_get(x_743, 1); -lean_inc(x_807); -lean_dec(x_743); -x_808 = lean_ctor_get(x_749, 1); -lean_inc(x_808); -lean_dec(x_749); -x_809 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_750, x_808); -x_810 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_810, 0, x_809); -lean_ctor_set(x_810, 1, x_807); -return x_810; +lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; +x_766 = lean_ctor_get(x_702, 1); +lean_inc(x_766); +lean_dec(x_702); +x_767 = lean_ctor_get(x_708, 1); +lean_inc(x_767); +lean_dec(x_708); +x_768 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_709, x_767); +x_769 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_766); +return x_769; } } case 7: { -uint8_t x_811; -x_811 = !lean_is_exclusive(x_743); -if (x_811 == 0) +uint8_t x_770; +x_770 = !lean_is_exclusive(x_702); +if (x_770 == 0) { -lean_object* x_812; lean_object* x_813; lean_object* x_814; -x_812 = lean_ctor_get(x_743, 0); -lean_dec(x_812); -x_813 = lean_ctor_get(x_749, 1); -lean_inc(x_813); -lean_dec(x_749); -x_814 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_750, x_813); -lean_ctor_set(x_743, 0, x_814); -return x_743; +lean_object* x_771; lean_object* x_772; lean_object* x_773; +x_771 = lean_ctor_get(x_702, 0); +lean_dec(x_771); +x_772 = lean_ctor_get(x_708, 1); +lean_inc(x_772); +lean_dec(x_708); +x_773 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_709, x_772); +lean_ctor_set(x_702, 0, x_773); +return x_702; } else { -lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; -x_815 = lean_ctor_get(x_743, 1); -lean_inc(x_815); -lean_dec(x_743); -x_816 = lean_ctor_get(x_749, 1); -lean_inc(x_816); -lean_dec(x_749); -x_817 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_750, x_816); -x_818 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_818, 0, x_817); -lean_ctor_set(x_818, 1, x_815); -return x_818; +lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; +x_774 = lean_ctor_get(x_702, 1); +lean_inc(x_774); +lean_dec(x_702); +x_775 = lean_ctor_get(x_708, 1); +lean_inc(x_775); +lean_dec(x_708); +x_776 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_709, x_775); +x_777 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_774); +return x_777; } } case 8: { -uint8_t x_819; -x_819 = !lean_is_exclusive(x_743); -if (x_819 == 0) +uint8_t x_778; +x_778 = !lean_is_exclusive(x_702); +if (x_778 == 0) { -lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_820 = lean_ctor_get(x_743, 0); -lean_dec(x_820); -x_821 = lean_ctor_get(x_749, 1); -lean_inc(x_821); -lean_dec(x_749); -x_822 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_750, x_821); -lean_ctor_set(x_743, 0, x_822); -return x_743; +lean_object* x_779; lean_object* x_780; lean_object* x_781; +x_779 = lean_ctor_get(x_702, 0); +lean_dec(x_779); +x_780 = lean_ctor_get(x_708, 1); +lean_inc(x_780); +lean_dec(x_708); +x_781 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_709, x_780); +lean_ctor_set(x_702, 0, x_781); +return x_702; } else { -lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; -x_823 = lean_ctor_get(x_743, 1); -lean_inc(x_823); -lean_dec(x_743); -x_824 = lean_ctor_get(x_749, 1); -lean_inc(x_824); -lean_dec(x_749); -x_825 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_750, x_824); -x_826 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_826, 0, x_825); -lean_ctor_set(x_826, 1, x_823); -return x_826; +lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; +x_782 = lean_ctor_get(x_702, 1); +lean_inc(x_782); +lean_dec(x_702); +x_783 = lean_ctor_get(x_708, 1); +lean_inc(x_783); +lean_dec(x_708); +x_784 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_709, x_783); +x_785 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_785, 0, x_784); +lean_ctor_set(x_785, 1, x_782); +return x_785; } } case 9: { -uint8_t x_827; -x_827 = !lean_is_exclusive(x_743); -if (x_827 == 0) +uint8_t x_786; +x_786 = !lean_is_exclusive(x_702); +if (x_786 == 0) { -lean_object* x_828; lean_object* x_829; lean_object* x_830; -x_828 = lean_ctor_get(x_743, 0); -lean_dec(x_828); -x_829 = lean_ctor_get(x_749, 1); -lean_inc(x_829); -lean_dec(x_749); -x_830 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_750, x_829); -lean_ctor_set(x_743, 0, x_830); -return x_743; +lean_object* x_787; lean_object* x_788; lean_object* x_789; +x_787 = lean_ctor_get(x_702, 0); +lean_dec(x_787); +x_788 = lean_ctor_get(x_708, 1); +lean_inc(x_788); +lean_dec(x_708); +x_789 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_709, x_788); +lean_ctor_set(x_702, 0, x_789); +return x_702; } else { -lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; -x_831 = lean_ctor_get(x_743, 1); -lean_inc(x_831); -lean_dec(x_743); -x_832 = lean_ctor_get(x_749, 1); -lean_inc(x_832); -lean_dec(x_749); -x_833 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_750, x_832); -x_834 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_834, 0, x_833); -lean_ctor_set(x_834, 1, x_831); -return x_834; +lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; +x_790 = lean_ctor_get(x_702, 1); +lean_inc(x_790); +lean_dec(x_702); +x_791 = lean_ctor_get(x_708, 1); +lean_inc(x_791); +lean_dec(x_708); +x_792 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_709, x_791); +x_793 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_793, 0, x_792); +lean_ctor_set(x_793, 1, x_790); +return x_793; } } case 10: { -uint8_t x_835; -x_835 = !lean_is_exclusive(x_743); -if (x_835 == 0) +uint8_t x_794; +x_794 = !lean_is_exclusive(x_702); +if (x_794 == 0) { -lean_object* x_836; lean_object* x_837; lean_object* x_838; -x_836 = lean_ctor_get(x_743, 0); -lean_dec(x_836); -x_837 = lean_ctor_get(x_749, 1); -lean_inc(x_837); -lean_dec(x_749); -x_838 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_750, x_837); -lean_ctor_set(x_743, 0, x_838); -return x_743; +lean_object* x_795; lean_object* x_796; lean_object* x_797; +x_795 = lean_ctor_get(x_702, 0); +lean_dec(x_795); +x_796 = lean_ctor_get(x_708, 1); +lean_inc(x_796); +lean_dec(x_708); +x_797 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_709, x_796); +lean_ctor_set(x_702, 0, x_797); +return x_702; } else { -lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; -x_839 = lean_ctor_get(x_743, 1); -lean_inc(x_839); -lean_dec(x_743); -x_840 = lean_ctor_get(x_749, 1); -lean_inc(x_840); -lean_dec(x_749); -x_841 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_750, x_840); -x_842 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_842, 0, x_841); -lean_ctor_set(x_842, 1, x_839); -return x_842; +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; +x_798 = lean_ctor_get(x_702, 1); +lean_inc(x_798); +lean_dec(x_702); +x_799 = lean_ctor_get(x_708, 1); +lean_inc(x_799); +lean_dec(x_708); +x_800 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_709, x_799); +x_801 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_801, 0, x_800); +lean_ctor_set(x_801, 1, x_798); +return x_801; } } case 11: { -uint8_t x_843; -x_843 = !lean_is_exclusive(x_743); -if (x_843 == 0) +uint8_t x_802; +x_802 = !lean_is_exclusive(x_702); +if (x_802 == 0) { -lean_object* x_844; lean_object* x_845; lean_object* x_846; -x_844 = lean_ctor_get(x_743, 0); -lean_dec(x_844); -x_845 = lean_ctor_get(x_749, 1); -lean_inc(x_845); -lean_dec(x_749); -x_846 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_750, x_845); -lean_ctor_set(x_743, 0, x_846); -return x_743; +lean_object* x_803; lean_object* x_804; lean_object* x_805; +x_803 = lean_ctor_get(x_702, 0); +lean_dec(x_803); +x_804 = lean_ctor_get(x_708, 1); +lean_inc(x_804); +lean_dec(x_708); +x_805 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_709, x_804); +lean_ctor_set(x_702, 0, x_805); +return x_702; } else { -lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; -x_847 = lean_ctor_get(x_743, 1); -lean_inc(x_847); -lean_dec(x_743); -x_848 = lean_ctor_get(x_749, 1); -lean_inc(x_848); -lean_dec(x_749); -x_849 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_750, x_848); -x_850 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_850, 0, x_849); -lean_ctor_set(x_850, 1, x_847); -return x_850; +lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; +x_806 = lean_ctor_get(x_702, 1); +lean_inc(x_806); +lean_dec(x_702); +x_807 = lean_ctor_get(x_708, 1); +lean_inc(x_807); +lean_dec(x_708); +x_808 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_709, x_807); +x_809 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_809, 0, x_808); +lean_ctor_set(x_809, 1, x_806); +return x_809; } } default: { -uint8_t x_851; -x_851 = !lean_is_exclusive(x_743); -if (x_851 == 0) +uint8_t x_810; +x_810 = !lean_is_exclusive(x_702); +if (x_810 == 0) { -lean_object* x_852; lean_object* x_853; lean_object* x_854; -x_852 = lean_ctor_get(x_743, 0); -lean_dec(x_852); -x_853 = lean_ctor_get(x_749, 1); -lean_inc(x_853); -lean_dec(x_749); -x_854 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_750, x_853); -lean_ctor_set(x_743, 0, x_854); -return x_743; +lean_object* x_811; lean_object* x_812; lean_object* x_813; +x_811 = lean_ctor_get(x_702, 0); +lean_dec(x_811); +x_812 = lean_ctor_get(x_708, 1); +lean_inc(x_812); +lean_dec(x_708); +x_813 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_709, x_812); +lean_ctor_set(x_702, 0, x_813); +return x_702; } else { -lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; -x_855 = lean_ctor_get(x_743, 1); -lean_inc(x_855); -lean_dec(x_743); -x_856 = lean_ctor_get(x_749, 1); -lean_inc(x_856); -lean_dec(x_749); -x_857 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_750, x_856); -x_858 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_858, 0, x_857); -lean_ctor_set(x_858, 1, x_855); -return x_858; +lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_814 = lean_ctor_get(x_702, 1); +lean_inc(x_814); +lean_dec(x_702); +x_815 = lean_ctor_get(x_708, 1); +lean_inc(x_815); +lean_dec(x_708); +x_816 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_709, x_815); +x_817 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_817, 0, x_816); +lean_ctor_set(x_817, 1, x_814); +return x_817; } } } @@ -17240,37 +17363,37 @@ return x_858; } else { -uint8_t x_859; +uint8_t x_818; lean_dec(x_2); -x_859 = !lean_is_exclusive(x_743); -if (x_859 == 0) +x_818 = !lean_is_exclusive(x_702); +if (x_818 == 0) { -return x_743; +return x_702; } else { -lean_object* x_860; lean_object* x_861; lean_object* x_862; -x_860 = lean_ctor_get(x_743, 0); -x_861 = lean_ctor_get(x_743, 1); -lean_inc(x_861); -lean_inc(x_860); -lean_dec(x_743); -x_862 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_862, 0, x_860); -lean_ctor_set(x_862, 1, x_861); -return x_862; +lean_object* x_819; lean_object* x_820; lean_object* x_821; +x_819 = lean_ctor_get(x_702, 0); +x_820 = lean_ctor_get(x_702, 1); +lean_inc(x_820); +lean_inc(x_819); +lean_dec(x_702); +x_821 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_821, 0, x_819); +lean_ctor_set(x_821, 1, x_820); +return x_821; } } } else { -lean_object* x_863; lean_object* x_864; lean_object* x_865; -lean_dec(x_739); +lean_object* x_822; lean_object* x_823; lean_object* x_824; +lean_dec(x_698); lean_dec(x_1); -x_863 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_864 = l_unreachable_x21___rarg(x_863); -x_865 = lean_apply_2(x_864, x_2, x_3); -return x_865; +x_822 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_823 = l_unreachable_x21___rarg(x_822); +x_824 = lean_apply_2(x_823, x_2, x_3); +return x_824; } } } @@ -17278,1016 +17401,759 @@ return x_865; } else { -lean_object* x_866; uint8_t x_867; -lean_dec(x_96); -x_866 = l_Lean_mkAppStx___closed__3; -x_867 = lean_string_dec_eq(x_125, x_866); -if (x_867 == 0) +lean_object* x_825; uint8_t x_826; +lean_dec(x_5); +x_825 = l_Lean_mkAppStx___closed__3; +x_826 = lean_string_dec_eq(x_34, x_825); +if (x_826 == 0) { -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_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_dec(x_4); -lean_ctor_set(x_117, 1, x_130); -x_868 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_868, 0, x_106); -lean_ctor_set(x_868, 1, x_119); -lean_ctor_set_usize(x_868, 2, x_121); -x_869 = l_System_FilePath_dirName___closed__1; -x_870 = l_Lean_Name_toStringWithSep___main(x_869, x_868); -x_871 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 1, x_39); +x_827 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_827, 0, x_15); +lean_ctor_set(x_827, 1, x_28); +lean_ctor_set_usize(x_827, 2, x_30); +x_828 = l_System_FilePath_dirName___closed__1; +x_829 = l_Lean_Name_toStringWithSep___main(x_828, x_827); +x_830 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_830, 0, x_829); +x_831 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_831, 0, x_830); +x_832 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_833 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_833, 0, x_832); +lean_ctor_set(x_833, 1, x_831); +x_834 = l_Lean_Elab_Term_throwError___rarg(x_1, x_833, x_2, x_3); +lean_dec(x_1); +return x_834; +} +else +{ +lean_object* x_835; uint8_t x_836; +lean_dec(x_34); +x_835 = l_Lean_mkAppStx___closed__5; +x_836 = lean_string_dec_eq(x_31, x_835); +if (x_836 == 0) +{ +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_dec(x_4); +lean_ctor_set(x_26, 1, x_39); +lean_ctor_set(x_25, 1, x_825); +x_837 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_837, 0, x_15); +lean_ctor_set(x_837, 1, x_28); +lean_ctor_set_usize(x_837, 2, x_30); +x_838 = l_System_FilePath_dirName___closed__1; +x_839 = l_Lean_Name_toStringWithSep___main(x_838, x_837); +x_840 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_840, 0, x_839); +x_841 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_841, 0, x_840); +x_842 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_843 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_843, 0, x_842); +lean_ctor_set(x_843, 1, x_841); +x_844 = l_Lean_Elab_Term_throwError___rarg(x_1, x_843, x_2, x_3); +lean_dec(x_1); +return x_844; +} +else +{ +lean_object* x_845; uint8_t x_846; +lean_dec(x_31); +x_845 = l_Lean_mkTermIdFromIdent___closed__1; +x_846 = lean_string_dec_eq(x_28, x_845); +if (x_846 == 0) +{ +lean_object* x_847; uint8_t x_848; +x_847 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_848 = lean_string_dec_eq(x_28, x_847); +if (x_848 == 0) +{ +lean_object* x_849; uint8_t x_850; +x_849 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_850 = lean_string_dec_eq(x_28, x_849); +if (x_850 == 0) +{ +lean_object* x_851; uint8_t x_852; +x_851 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; +x_852 = lean_string_dec_eq(x_28, x_851); +if (x_852 == 0) +{ +lean_object* x_853; uint8_t x_854; +x_853 = l_Lean_mkAppStx___closed__7; +x_854 = lean_string_dec_eq(x_28, x_853); +if (x_854 == 0) +{ +lean_object* x_855; uint8_t x_856; +x_855 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_856 = lean_string_dec_eq(x_28, x_855); +if (x_856 == 0) +{ +lean_object* x_857; uint8_t x_858; +x_857 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_858 = lean_string_dec_eq(x_28, x_857); +if (x_858 == 0) +{ +lean_object* x_859; uint8_t x_860; +x_859 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_860 = lean_string_dec_eq(x_28, x_859); +if (x_860 == 0) +{ +lean_object* x_861; uint8_t x_862; +x_861 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_862 = lean_string_dec_eq(x_28, x_861); +if (x_862 == 0) +{ +lean_object* x_863; uint8_t x_864; +lean_dec(x_4); +x_863 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_864 = lean_string_dec_eq(x_28, x_863); +if (x_864 == 0) +{ +lean_object* x_865; uint8_t x_866; +x_865 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_866 = lean_string_dec_eq(x_28, x_865); +if (x_866 == 0) +{ +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_ctor_set(x_26, 1, x_39); +lean_ctor_set(x_25, 1, x_825); +lean_ctor_set(x_15, 1, x_835); +x_867 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_867, 0, x_15); +lean_ctor_set(x_867, 1, x_28); +lean_ctor_set_usize(x_867, 2, x_30); +x_868 = l_System_FilePath_dirName___closed__1; +x_869 = l_Lean_Name_toStringWithSep___main(x_868, x_867); +x_870 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_870, 0, x_869); +x_871 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_871, 0, x_870); -x_872 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_872, 0, x_871); -x_873 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_874 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_874, 0, x_873); -lean_ctor_set(x_874, 1, x_872); -x_875 = l_Lean_Elab_Term_throwError___rarg(x_1, x_874, x_2, x_3); +x_872 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_873 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_873, 0, x_872); +lean_ctor_set(x_873, 1, x_871); +x_874 = l_Lean_Elab_Term_throwError___rarg(x_1, x_873, x_2, x_3); lean_dec(x_1); -return x_875; +return x_874; } else { -lean_object* x_876; uint8_t x_877; -lean_dec(x_125); -x_876 = l_Lean_mkAppStx___closed__5; -x_877 = lean_string_dec_eq(x_122, x_876); -if (x_877 == 0) -{ -lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; -lean_dec(x_4); -lean_ctor_set(x_117, 1, x_130); -lean_ctor_set(x_116, 1, x_866); -x_878 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_878, 0, x_106); -lean_ctor_set(x_878, 1, x_119); -lean_ctor_set_usize(x_878, 2, x_121); -x_879 = l_System_FilePath_dirName___closed__1; -x_880 = l_Lean_Name_toStringWithSep___main(x_879, x_878); -x_881 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_881, 0, x_880); -x_882 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_882, 0, x_881); -x_883 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_884 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_884, 0, x_883); -lean_ctor_set(x_884, 1, x_882); -x_885 = l_Lean_Elab_Term_throwError___rarg(x_1, x_884, x_2, x_3); -lean_dec(x_1); -return x_885; -} -else -{ -lean_object* x_886; uint8_t x_887; -lean_dec(x_122); -x_886 = l_Lean_mkTermIdFromIdent___closed__1; -x_887 = lean_string_dec_eq(x_119, x_886); -if (x_887 == 0) -{ -lean_object* x_888; uint8_t x_889; -x_888 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_889 = lean_string_dec_eq(x_119, x_888); -if (x_889 == 0) -{ -lean_object* x_890; uint8_t x_891; -x_890 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_891 = lean_string_dec_eq(x_119, x_890); -if (x_891 == 0) -{ -lean_object* x_892; uint8_t x_893; -x_892 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; -x_893 = lean_string_dec_eq(x_119, x_892); -if (x_893 == 0) -{ -lean_object* x_894; uint8_t x_895; -x_894 = l_Lean_mkAppStx___closed__7; -x_895 = lean_string_dec_eq(x_119, x_894); -if (x_895 == 0) -{ -lean_object* x_896; uint8_t x_897; -x_896 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_897 = lean_string_dec_eq(x_119, x_896); -if (x_897 == 0) -{ -lean_object* x_898; uint8_t x_899; -x_898 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_899 = lean_string_dec_eq(x_119, x_898); -if (x_899 == 0) -{ -lean_object* x_900; uint8_t x_901; -x_900 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_901 = lean_string_dec_eq(x_119, x_900); -if (x_901 == 0) -{ -lean_object* x_902; uint8_t x_903; -x_902 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_903 = lean_string_dec_eq(x_119, x_902); -if (x_903 == 0) -{ -lean_object* x_904; uint8_t x_905; -lean_dec(x_4); -x_904 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_905 = lean_string_dec_eq(x_119, x_904); -if (x_905 == 0) -{ -lean_object* x_906; uint8_t x_907; -x_906 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_907 = lean_string_dec_eq(x_119, x_906); -if (x_907 == 0) -{ -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_ctor_set(x_117, 1, x_130); -lean_ctor_set(x_116, 1, x_866); -lean_ctor_set(x_106, 1, x_876); -x_908 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_908, 0, x_106); -lean_ctor_set(x_908, 1, x_119); -lean_ctor_set_usize(x_908, 2, x_121); -x_909 = l_System_FilePath_dirName___closed__1; -x_910 = l_Lean_Name_toStringWithSep___main(x_909, x_908); -x_911 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_911, 0, x_910); -x_912 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_912, 0, x_911); -x_913 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_914 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_914, 0, x_913); -lean_ctor_set(x_914, 1, x_912); -x_915 = l_Lean_Elab_Term_throwError___rarg(x_1, x_914, x_2, x_3); -lean_dec(x_1); -return x_915; -} -else -{ -lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_2); -x_916 = lean_unsigned_to_nat(0u); -x_917 = l_Lean_Syntax_getArg(x_1, x_916); +x_875 = lean_unsigned_to_nat(0u); +x_876 = l_Lean_Syntax_getArg(x_1, x_875); lean_dec(x_1); -x_918 = l_Lean_numLitKind; -x_919 = l_Lean_Syntax_isNatLitAux(x_918, x_917); -lean_dec(x_917); -if (lean_obj_tag(x_919) == 0) +x_877 = l_Lean_numLitKind; +x_878 = l_Lean_Syntax_isNatLitAux(x_877, x_876); +lean_dec(x_876); +if (lean_obj_tag(x_878) == 0) { -lean_object* x_920; lean_object* x_921; -x_920 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; -x_921 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_921, 0, x_920); -lean_ctor_set(x_921, 1, x_3); -return x_921; +lean_object* x_879; lean_object* x_880; +x_879 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_880 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_880, 0, x_879); +lean_ctor_set(x_880, 1, x_3); +return x_880; } else { -lean_object* x_922; lean_object* x_923; lean_object* x_924; -x_922 = lean_ctor_get(x_919, 0); -lean_inc(x_922); -lean_dec(x_919); -x_923 = l_Lean_mkNatLit(x_922); -x_924 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_924, 0, x_923); -lean_ctor_set(x_924, 1, x_3); -return x_924; +lean_object* x_881; lean_object* x_882; lean_object* x_883; +x_881 = lean_ctor_get(x_878, 0); +lean_inc(x_881); +lean_dec(x_878); +x_882 = l_Lean_mkNatLit(x_881); +x_883 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_883, 0, x_882); +lean_ctor_set(x_883, 1, x_3); +return x_883; } } } else { -lean_object* x_925; lean_object* x_926; lean_object* x_927; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_884; lean_object* x_885; lean_object* x_886; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_2); -x_925 = lean_unsigned_to_nat(0u); -x_926 = l_Lean_Syntax_getArg(x_1, x_925); +x_884 = lean_unsigned_to_nat(0u); +x_885 = l_Lean_Syntax_getArg(x_1, x_884); lean_dec(x_1); -x_927 = l_Lean_Syntax_isStrLit_x3f(x_926); -lean_dec(x_926); -if (lean_obj_tag(x_927) == 0) +x_886 = l_Lean_Syntax_isStrLit_x3f(x_885); +lean_dec(x_885); +if (lean_obj_tag(x_886) == 0) { -lean_object* x_928; lean_object* x_929; -x_928 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; -x_929 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_929, 0, x_928); -lean_ctor_set(x_929, 1, x_3); -return x_929; +lean_object* x_887; lean_object* x_888; +x_887 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; +x_888 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_888, 0, x_887); +lean_ctor_set(x_888, 1, x_3); +return x_888; } else { -lean_object* x_930; lean_object* x_931; lean_object* x_932; -x_930 = lean_ctor_get(x_927, 0); -lean_inc(x_930); -lean_dec(x_927); -x_931 = l_Lean_mkStrLit(x_930); -x_932 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_932, 0, x_931); -lean_ctor_set(x_932, 1, x_3); -return x_932; +lean_object* x_889; lean_object* x_890; lean_object* x_891; +x_889 = lean_ctor_get(x_886, 0); +lean_inc(x_889); +lean_dec(x_886); +x_890 = l_Lean_mkStrLit(x_889); +x_891 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_891, 0, x_890); +lean_ctor_set(x_891, 1, x_3); +return x_891; } } } else { -lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +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_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_933 = l_Lean_Syntax_inhabited; -x_934 = lean_unsigned_to_nat(0u); -x_935 = lean_array_get(x_933, x_4, x_934); -x_936 = lean_unsigned_to_nat(2u); -x_937 = lean_array_get(x_933, x_4, x_936); +x_892 = l_Lean_Syntax_inhabited; +x_893 = lean_unsigned_to_nat(0u); +x_894 = lean_array_get(x_892, x_4, x_893); +x_895 = lean_unsigned_to_nat(2u); +x_896 = lean_array_get(x_892, x_4, x_895); lean_dec(x_4); -x_938 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_938, 0, x_118); -lean_closure_set(x_938, 1, x_935); -lean_closure_set(x_938, 2, x_937); -x_939 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_940 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_940, 0, x_939); -lean_closure_set(x_940, 1, x_938); -x_941 = l_Lean_Unhygienic_run___rarg(x_940); -x_1 = x_941; +x_897 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_897, 0, x_27); +lean_closure_set(x_897, 1, x_894); +lean_closure_set(x_897, 2, x_896); +x_898 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_899 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_899, 0, x_898); +lean_closure_set(x_899, 1, x_897); +x_900 = l_Lean_Unhygienic_run___rarg(x_899); +x_1 = x_900; goto _start; } } else { -lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +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_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_943 = l_Lean_Syntax_inhabited; -x_944 = lean_unsigned_to_nat(0u); -x_945 = lean_array_get(x_943, x_4, x_944); -x_946 = lean_unsigned_to_nat(2u); -x_947 = lean_array_get(x_943, x_4, x_946); +x_902 = l_Lean_Syntax_inhabited; +x_903 = lean_unsigned_to_nat(0u); +x_904 = lean_array_get(x_902, x_4, x_903); +x_905 = lean_unsigned_to_nat(2u); +x_906 = lean_array_get(x_902, x_4, x_905); lean_dec(x_4); -x_948 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_948, 0, x_118); -lean_closure_set(x_948, 1, x_945); -lean_closure_set(x_948, 2, x_947); -x_949 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_950 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_950, 0, x_949); -lean_closure_set(x_950, 1, x_948); -x_951 = l_Lean_Unhygienic_run___rarg(x_950); -x_1 = x_951; +x_907 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_907, 0, x_27); +lean_closure_set(x_907, 1, x_904); +lean_closure_set(x_907, 2, x_906); +x_908 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_909 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_909, 0, x_908); +lean_closure_set(x_909, 1, x_907); +x_910 = l_Lean_Unhygienic_run___rarg(x_909); +x_1 = x_910; goto _start; } } else { -lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; uint8_t x_959; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; uint8_t x_918; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_953 = l_Lean_Syntax_inhabited; -x_954 = lean_unsigned_to_nat(1u); -x_955 = lean_array_get(x_953, x_4, x_954); +x_912 = l_Lean_Syntax_inhabited; +x_913 = lean_unsigned_to_nat(1u); +x_914 = lean_array_get(x_912, x_4, x_913); lean_dec(x_4); -x_956 = l_Lean_Syntax_getArgs(x_955); -lean_dec(x_955); -x_957 = lean_array_get_size(x_956); -x_958 = lean_unsigned_to_nat(0u); -x_959 = lean_nat_dec_eq(x_957, x_958); -lean_dec(x_957); -if (x_959 == 0) +x_915 = l_Lean_Syntax_getArgs(x_914); +lean_dec(x_914); +x_916 = lean_array_get_size(x_915); +x_917 = lean_unsigned_to_nat(0u); +x_918 = lean_nat_dec_eq(x_916, x_917); +lean_dec(x_916); +if (x_918 == 0) { -lean_object* x_960; -x_960 = lean_array_get(x_953, x_956, x_958); -lean_dec(x_956); -x_1 = x_960; +lean_object* x_919; +x_919 = lean_array_get(x_912, x_915, x_917); +lean_dec(x_915); +x_1 = x_919; goto _start; } else { -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_dec(x_956); +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_dec(x_915); lean_dec(x_2); -x_962 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_963 = lean_name_mk_string(x_118, x_962); -x_964 = l_Lean_Elab_Term_elabParen___closed__4; -x_965 = lean_name_mk_string(x_963, x_964); -x_966 = lean_box(0); -x_967 = l_Lean_mkConst(x_965, x_966); -x_968 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_968, 0, x_967); -lean_ctor_set(x_968, 1, x_3); -return x_968; +x_921 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_922 = lean_name_mk_string(x_27, x_921); +x_923 = l_Lean_Elab_Term_elabParen___closed__4; +x_924 = lean_name_mk_string(x_922, x_923); +x_925 = lean_box(0); +x_926 = l_Lean_mkConst(x_924, x_925); +x_927 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_927, 0, x_926); +lean_ctor_set(x_927, 1, x_3); +return x_927; } } } else { -lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_969 = l_Lean_Syntax_inhabited; -x_970 = lean_unsigned_to_nat(2u); -x_971 = lean_array_get(x_969, x_4, x_970); -x_972 = lean_unsigned_to_nat(4u); -x_973 = lean_array_get(x_969, x_4, x_972); -x_974 = lean_unsigned_to_nat(6u); -x_975 = lean_array_get(x_969, x_4, x_974); +x_928 = l_Lean_Syntax_inhabited; +x_929 = lean_unsigned_to_nat(2u); +x_930 = lean_array_get(x_928, x_4, x_929); +x_931 = lean_unsigned_to_nat(4u); +x_932 = lean_array_get(x_928, x_4, x_931); +x_933 = lean_unsigned_to_nat(6u); +x_934 = lean_array_get(x_928, x_4, x_933); lean_dec(x_4); -x_976 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_976, 0, x_118); -lean_closure_set(x_976, 1, x_971); -lean_closure_set(x_976, 2, x_973); -lean_closure_set(x_976, 3, x_975); -x_977 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_978 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_978, 0, x_977); -lean_closure_set(x_978, 1, x_976); -x_979 = l_Lean_Unhygienic_run___rarg(x_978); -x_1 = x_979; +x_935 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_935, 0, x_27); +lean_closure_set(x_935, 1, x_930); +lean_closure_set(x_935, 2, x_932); +lean_closure_set(x_935, 3, x_934); +x_936 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_937 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_937, 0, x_936); +lean_closure_set(x_937, 1, x_935); +x_938 = l_Lean_Unhygienic_run___rarg(x_937); +x_1 = x_938; goto _start; } } else { -lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_981 = l_Lean_Syntax_inhabited; -x_982 = lean_unsigned_to_nat(0u); -x_983 = lean_array_get(x_981, x_4, x_982); +x_940 = l_Lean_Syntax_inhabited; +x_941 = lean_unsigned_to_nat(0u); +x_942 = lean_array_get(x_940, x_4, x_941); lean_inc(x_2); -x_984 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_983, x_2, x_3); -if (lean_obj_tag(x_984) == 0) +x_943 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_942, x_2, x_3); +if (lean_obj_tag(x_943) == 0) { -lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; -x_985 = lean_ctor_get(x_984, 0); -lean_inc(x_985); -x_986 = lean_ctor_get(x_984, 1); -lean_inc(x_986); -lean_dec(x_984); -x_987 = lean_unsigned_to_nat(1u); -x_988 = lean_array_get(x_981, x_4, x_987); +lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; +x_944 = lean_ctor_get(x_943, 0); +lean_inc(x_944); +x_945 = lean_ctor_get(x_943, 1); +lean_inc(x_945); +lean_dec(x_943); +x_946 = lean_unsigned_to_nat(1u); +x_947 = lean_array_get(x_940, x_4, x_946); lean_dec(x_4); -x_989 = l_Lean_Syntax_getArgs(x_988); -lean_dec(x_988); -x_990 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_982, x_989, x_2, x_986); -if (lean_obj_tag(x_990) == 0) +x_948 = l_Lean_Syntax_getArgs(x_947); +lean_dec(x_947); +x_949 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_941, x_948, x_2, x_945); +if (lean_obj_tag(x_949) == 0) { -lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; -x_991 = lean_ctor_get(x_990, 0); -lean_inc(x_991); -x_992 = lean_ctor_get(x_990, 1); -lean_inc(x_992); -if (lean_is_exclusive(x_990)) { - lean_ctor_release(x_990, 0); - lean_ctor_release(x_990, 1); - x_993 = x_990; +lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; +x_950 = lean_ctor_get(x_949, 0); +lean_inc(x_950); +x_951 = lean_ctor_get(x_949, 1); +lean_inc(x_951); +if (lean_is_exclusive(x_949)) { + lean_ctor_release(x_949, 0); + lean_ctor_release(x_949, 1); + x_952 = x_949; } else { - lean_dec_ref(x_990); - x_993 = lean_box(0); + lean_dec_ref(x_949); + x_952 = lean_box(0); } -x_994 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_991, x_991, x_982, x_985); -lean_dec(x_991); -if (lean_is_scalar(x_993)) { - x_995 = lean_alloc_ctor(0, 2, 0); +x_953 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_950, x_950, x_941, x_944); +lean_dec(x_950); +if (lean_is_scalar(x_952)) { + x_954 = lean_alloc_ctor(0, 2, 0); } else { - x_995 = x_993; + x_954 = x_952; } -lean_ctor_set(x_995, 0, x_994); -lean_ctor_set(x_995, 1, x_992); -return x_995; +lean_ctor_set(x_954, 0, x_953); +lean_ctor_set(x_954, 1, x_951); +return x_954; } else { -lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; -lean_dec(x_985); -x_996 = lean_ctor_get(x_990, 0); -lean_inc(x_996); -x_997 = lean_ctor_get(x_990, 1); -lean_inc(x_997); -if (lean_is_exclusive(x_990)) { - lean_ctor_release(x_990, 0); - lean_ctor_release(x_990, 1); - x_998 = x_990; +lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; +lean_dec(x_944); +x_955 = lean_ctor_get(x_949, 0); +lean_inc(x_955); +x_956 = lean_ctor_get(x_949, 1); +lean_inc(x_956); +if (lean_is_exclusive(x_949)) { + lean_ctor_release(x_949, 0); + lean_ctor_release(x_949, 1); + x_957 = x_949; } else { - lean_dec_ref(x_990); - x_998 = lean_box(0); + lean_dec_ref(x_949); + x_957 = lean_box(0); } -if (lean_is_scalar(x_998)) { - x_999 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_957)) { + x_958 = lean_alloc_ctor(1, 2, 0); } else { - x_999 = x_998; + x_958 = x_957; } -lean_ctor_set(x_999, 0, x_996); -lean_ctor_set(x_999, 1, x_997); -return x_999; +lean_ctor_set(x_958, 0, x_955); +lean_ctor_set(x_958, 1, x_956); +return x_958; } } else { -lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; +lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_dec(x_4); lean_dec(x_2); -x_1000 = lean_ctor_get(x_984, 0); +x_959 = lean_ctor_get(x_943, 0); +lean_inc(x_959); +x_960 = lean_ctor_get(x_943, 1); +lean_inc(x_960); +if (lean_is_exclusive(x_943)) { + lean_ctor_release(x_943, 0); + lean_ctor_release(x_943, 1); + x_961 = x_943; +} else { + lean_dec_ref(x_943); + x_961 = lean_box(0); +} +if (lean_is_scalar(x_961)) { + x_962 = lean_alloc_ctor(1, 2, 0); +} else { + x_962 = x_961; +} +lean_ctor_set(x_962, 0, x_959); +lean_ctor_set(x_962, 1, x_960); +return x_962; +} +} +} +else +{ +lean_object* x_963; lean_object* x_964; lean_object* x_965; uint8_t x_966; lean_object* x_967; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_963 = l_Lean_Syntax_inhabited; +x_964 = lean_unsigned_to_nat(1u); +x_965 = lean_array_get(x_963, x_4, x_964); +x_966 = 1; +x_967 = l_Lean_Syntax_isSimpleTermId_x3f(x_965, x_966); +if (lean_obj_tag(x_967) == 0) +{ +lean_object* x_968; lean_object* x_969; +lean_dec(x_4); +x_968 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; +x_969 = l_Lean_Elab_Term_throwError___rarg(x_1, x_968, x_2, x_3); +lean_dec(x_1); +return x_969; +} +else +{ +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; +lean_dec(x_1); +x_970 = lean_ctor_get(x_967, 0); +lean_inc(x_970); +lean_dec(x_967); +x_971 = l_Lean_Syntax_getId(x_970); +lean_dec(x_970); +x_972 = lean_unsigned_to_nat(3u); +x_973 = lean_array_get(x_963, x_4, x_972); +lean_inc(x_2); +x_974 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_973, x_2, x_3); +if (lean_obj_tag(x_974) == 0) +{ +lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; uint8_t x_994; uint8_t x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; +x_975 = lean_ctor_get(x_974, 0); +lean_inc(x_975); +x_976 = lean_ctor_get(x_974, 1); +lean_inc(x_976); +lean_dec(x_974); +x_977 = l_Lean_Elab_Term_getLCtx(x_2, x_976); +x_978 = lean_ctor_get(x_977, 0); +lean_inc(x_978); +x_979 = lean_ctor_get(x_977, 1); +lean_inc(x_979); +lean_dec(x_977); +x_980 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_971, 2); +x_981 = lean_local_ctx_mk_let_decl(x_978, x_971, x_971, x_980, x_975); +x_982 = lean_unsigned_to_nat(5u); +x_983 = lean_array_get(x_963, x_4, x_982); +lean_dec(x_4); +x_984 = lean_ctor_get(x_2, 0); +lean_inc(x_984); +x_985 = lean_ctor_get(x_2, 1); +lean_inc(x_985); +x_986 = lean_ctor_get(x_2, 2); +lean_inc(x_986); +x_987 = lean_ctor_get(x_2, 3); +lean_inc(x_987); +x_988 = lean_ctor_get(x_2, 4); +lean_inc(x_988); +x_989 = lean_ctor_get(x_2, 5); +lean_inc(x_989); +x_990 = lean_ctor_get(x_2, 6); +lean_inc(x_990); +x_991 = lean_ctor_get(x_2, 7); +lean_inc(x_991); +x_992 = lean_ctor_get(x_2, 8); +lean_inc(x_992); +x_993 = lean_ctor_get(x_2, 9); +lean_inc(x_993); +x_994 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_995 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_996 = x_2; +} else { + lean_dec_ref(x_2); + x_996 = lean_box(0); +} +x_997 = lean_ctor_get(x_984, 0); +lean_inc(x_997); +x_998 = lean_ctor_get(x_984, 2); +lean_inc(x_998); +x_999 = lean_ctor_get(x_984, 3); +lean_inc(x_999); +x_1000 = lean_ctor_get(x_984, 4); lean_inc(x_1000); -x_1001 = lean_ctor_get(x_984, 1); -lean_inc(x_1001); if (lean_is_exclusive(x_984)) { lean_ctor_release(x_984, 0); lean_ctor_release(x_984, 1); - x_1002 = x_984; + lean_ctor_release(x_984, 2); + lean_ctor_release(x_984, 3); + lean_ctor_release(x_984, 4); + x_1001 = x_984; } else { lean_dec_ref(x_984); - x_1002 = lean_box(0); + x_1001 = lean_box(0); } -if (lean_is_scalar(x_1002)) { - x_1003 = lean_alloc_ctor(1, 2, 0); +lean_inc(x_981); +if (lean_is_scalar(x_1001)) { + x_1002 = lean_alloc_ctor(0, 5, 0); } else { - x_1003 = x_1002; + x_1002 = x_1001; } -lean_ctor_set(x_1003, 0, x_1000); -lean_ctor_set(x_1003, 1, x_1001); -return x_1003; +lean_ctor_set(x_1002, 0, x_997); +lean_ctor_set(x_1002, 1, x_981); +lean_ctor_set(x_1002, 2, x_998); +lean_ctor_set(x_1002, 3, x_999); +lean_ctor_set(x_1002, 4, x_1000); +if (lean_is_scalar(x_996)) { + x_1003 = lean_alloc_ctor(0, 10, 2); +} else { + x_1003 = x_996; } +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_985); +lean_ctor_set(x_1003, 2, x_986); +lean_ctor_set(x_1003, 3, x_987); +lean_ctor_set(x_1003, 4, x_988); +lean_ctor_set(x_1003, 5, x_989); +lean_ctor_set(x_1003, 6, x_990); +lean_ctor_set(x_1003, 7, x_991); +lean_ctor_set(x_1003, 8, x_992); +lean_ctor_set(x_1003, 9, x_993); +lean_ctor_set_uint8(x_1003, sizeof(void*)*10, x_994); +lean_ctor_set_uint8(x_1003, sizeof(void*)*10 + 1, x_995); +x_1004 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_983, x_1003, x_979); +if (lean_obj_tag(x_1004) == 0) +{ +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; +x_1005 = lean_ctor_get(x_1004, 0); +lean_inc(x_1005); +x_1006 = lean_ctor_get(x_1004, 1); +lean_inc(x_1006); +if (lean_is_exclusive(x_1004)) { + lean_ctor_release(x_1004, 0); + lean_ctor_release(x_1004, 1); + x_1007 = x_1004; +} else { + lean_dec_ref(x_1004); + x_1007 = lean_box(0); +} +x_1008 = l_Lean_mkFVar(x_971); +x_1009 = l_Lean_mkOptionalNode___closed__2; +x_1010 = lean_array_push(x_1009, x_1008); +x_1011 = l_Lean_LocalContext_mkLambda(x_981, x_1010, x_1005); +lean_dec(x_1005); +lean_dec(x_1010); +if (lean_is_scalar(x_1007)) { + x_1012 = lean_alloc_ctor(0, 2, 0); +} else { + x_1012 = x_1007; +} +lean_ctor_set(x_1012, 0, x_1011); +lean_ctor_set(x_1012, 1, x_1006); +return x_1012; +} +else +{ +lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; +lean_dec(x_981); +lean_dec(x_971); +x_1013 = lean_ctor_get(x_1004, 0); +lean_inc(x_1013); +x_1014 = lean_ctor_get(x_1004, 1); +lean_inc(x_1014); +if (lean_is_exclusive(x_1004)) { + lean_ctor_release(x_1004, 0); + lean_ctor_release(x_1004, 1); + x_1015 = x_1004; +} else { + lean_dec_ref(x_1004); + x_1015 = lean_box(0); +} +if (lean_is_scalar(x_1015)) { + x_1016 = lean_alloc_ctor(1, 2, 0); +} else { + x_1016 = x_1015; +} +lean_ctor_set(x_1016, 0, x_1013); +lean_ctor_set(x_1016, 1, x_1014); +return x_1016; } } else { -lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; uint8_t x_1007; lean_object* x_1008; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_1004 = l_Lean_Syntax_inhabited; -x_1005 = lean_unsigned_to_nat(1u); -x_1006 = lean_array_get(x_1004, x_4, x_1005); -x_1007 = 1; -x_1008 = l_Lean_Syntax_isSimpleTermId_x3f(x_1006, x_1007); -if (lean_obj_tag(x_1008) == 0) -{ -lean_object* x_1009; lean_object* x_1010; +lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; +lean_dec(x_971); lean_dec(x_4); -x_1009 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; -x_1010 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1009, x_2, x_3); -lean_dec(x_1); -return x_1010; -} -else -{ -lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; -lean_dec(x_1); -x_1011 = lean_ctor_get(x_1008, 0); -lean_inc(x_1011); -lean_dec(x_1008); -x_1012 = l_Lean_Syntax_getId(x_1011); -lean_dec(x_1011); -x_1013 = lean_unsigned_to_nat(3u); -x_1014 = lean_array_get(x_1004, x_4, x_1013); -lean_inc(x_2); -x_1015 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1014, x_2, x_3); -if (lean_obj_tag(x_1015) == 0) -{ -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; lean_object* x_1033; lean_object* x_1034; uint8_t x_1035; uint8_t 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; -x_1016 = lean_ctor_get(x_1015, 0); -lean_inc(x_1016); -x_1017 = lean_ctor_get(x_1015, 1); +lean_dec(x_2); +x_1017 = lean_ctor_get(x_974, 0); lean_inc(x_1017); -lean_dec(x_1015); -x_1018 = l_Lean_Elab_Term_getLCtx(x_2, x_1017); -x_1019 = lean_ctor_get(x_1018, 0); -lean_inc(x_1019); -x_1020 = lean_ctor_get(x_1018, 1); -lean_inc(x_1020); -lean_dec(x_1018); -x_1021 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_1012, 2); -x_1022 = lean_local_ctx_mk_let_decl(x_1019, x_1012, x_1012, x_1021, x_1016); -x_1023 = lean_unsigned_to_nat(5u); -x_1024 = lean_array_get(x_1004, x_4, x_1023); -lean_dec(x_4); -x_1025 = lean_ctor_get(x_2, 0); -lean_inc(x_1025); -x_1026 = lean_ctor_get(x_2, 1); -lean_inc(x_1026); -x_1027 = lean_ctor_get(x_2, 2); -lean_inc(x_1027); -x_1028 = lean_ctor_get(x_2, 3); -lean_inc(x_1028); -x_1029 = lean_ctor_get(x_2, 4); -lean_inc(x_1029); -x_1030 = lean_ctor_get(x_2, 5); -lean_inc(x_1030); -x_1031 = lean_ctor_get(x_2, 6); -lean_inc(x_1031); -x_1032 = lean_ctor_get(x_2, 7); -lean_inc(x_1032); -x_1033 = lean_ctor_get(x_2, 8); -lean_inc(x_1033); -x_1034 = lean_ctor_get(x_2, 9); -lean_inc(x_1034); -x_1035 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1036 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1037 = x_2; +x_1018 = lean_ctor_get(x_974, 1); +lean_inc(x_1018); +if (lean_is_exclusive(x_974)) { + lean_ctor_release(x_974, 0); + lean_ctor_release(x_974, 1); + x_1019 = x_974; } else { - lean_dec_ref(x_2); - x_1037 = lean_box(0); + lean_dec_ref(x_974); + x_1019 = lean_box(0); } -x_1038 = lean_ctor_get(x_1025, 0); -lean_inc(x_1038); -x_1039 = lean_ctor_get(x_1025, 2); -lean_inc(x_1039); -x_1040 = lean_ctor_get(x_1025, 3); -lean_inc(x_1040); -x_1041 = lean_ctor_get(x_1025, 4); -lean_inc(x_1041); -if (lean_is_exclusive(x_1025)) { - lean_ctor_release(x_1025, 0); - lean_ctor_release(x_1025, 1); - lean_ctor_release(x_1025, 2); - lean_ctor_release(x_1025, 3); - lean_ctor_release(x_1025, 4); - x_1042 = x_1025; +if (lean_is_scalar(x_1019)) { + x_1020 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_1025); - x_1042 = lean_box(0); + x_1020 = x_1019; } -lean_inc(x_1022); -if (lean_is_scalar(x_1042)) { - x_1043 = lean_alloc_ctor(0, 5, 0); -} else { - x_1043 = x_1042; -} -lean_ctor_set(x_1043, 0, x_1038); -lean_ctor_set(x_1043, 1, x_1022); -lean_ctor_set(x_1043, 2, x_1039); -lean_ctor_set(x_1043, 3, x_1040); -lean_ctor_set(x_1043, 4, x_1041); -if (lean_is_scalar(x_1037)) { - x_1044 = lean_alloc_ctor(0, 10, 2); -} else { - x_1044 = x_1037; -} -lean_ctor_set(x_1044, 0, x_1043); -lean_ctor_set(x_1044, 1, x_1026); -lean_ctor_set(x_1044, 2, x_1027); -lean_ctor_set(x_1044, 3, x_1028); -lean_ctor_set(x_1044, 4, x_1029); -lean_ctor_set(x_1044, 5, x_1030); -lean_ctor_set(x_1044, 6, x_1031); -lean_ctor_set(x_1044, 7, x_1032); -lean_ctor_set(x_1044, 8, x_1033); -lean_ctor_set(x_1044, 9, x_1034); -lean_ctor_set_uint8(x_1044, sizeof(void*)*10, x_1035); -lean_ctor_set_uint8(x_1044, sizeof(void*)*10 + 1, x_1036); -x_1045 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1024, x_1044, x_1020); -if (lean_obj_tag(x_1045) == 0) -{ -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; -x_1046 = lean_ctor_get(x_1045, 0); -lean_inc(x_1046); -x_1047 = lean_ctor_get(x_1045, 1); -lean_inc(x_1047); -if (lean_is_exclusive(x_1045)) { - lean_ctor_release(x_1045, 0); - lean_ctor_release(x_1045, 1); - x_1048 = x_1045; -} else { - lean_dec_ref(x_1045); - x_1048 = lean_box(0); -} -x_1049 = l_Lean_mkFVar(x_1012); -x_1050 = l_Lean_mkOptionalNode___closed__2; -x_1051 = lean_array_push(x_1050, x_1049); -x_1052 = l_Lean_LocalContext_mkLambda(x_1022, x_1051, x_1046); -lean_dec(x_1046); -lean_dec(x_1051); -if (lean_is_scalar(x_1048)) { - x_1053 = lean_alloc_ctor(0, 2, 0); -} else { - x_1053 = x_1048; -} -lean_ctor_set(x_1053, 0, x_1052); -lean_ctor_set(x_1053, 1, x_1047); -return x_1053; -} -else -{ -lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; -lean_dec(x_1022); -lean_dec(x_1012); -x_1054 = lean_ctor_get(x_1045, 0); -lean_inc(x_1054); -x_1055 = lean_ctor_get(x_1045, 1); -lean_inc(x_1055); -if (lean_is_exclusive(x_1045)) { - lean_ctor_release(x_1045, 0); - lean_ctor_release(x_1045, 1); - x_1056 = x_1045; -} else { - lean_dec_ref(x_1045); - x_1056 = lean_box(0); -} -if (lean_is_scalar(x_1056)) { - x_1057 = lean_alloc_ctor(1, 2, 0); -} else { - x_1057 = x_1056; -} -lean_ctor_set(x_1057, 0, x_1054); -lean_ctor_set(x_1057, 1, x_1055); -return x_1057; -} -} -else -{ -lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; -lean_dec(x_1012); -lean_dec(x_4); -lean_dec(x_2); -x_1058 = lean_ctor_get(x_1015, 0); -lean_inc(x_1058); -x_1059 = lean_ctor_get(x_1015, 1); -lean_inc(x_1059); -if (lean_is_exclusive(x_1015)) { - lean_ctor_release(x_1015, 0); - lean_ctor_release(x_1015, 1); - x_1060 = x_1015; -} else { - lean_dec_ref(x_1015); - x_1060 = lean_box(0); -} -if (lean_is_scalar(x_1060)) { - x_1061 = lean_alloc_ctor(1, 2, 0); -} else { - x_1061 = x_1060; -} -lean_ctor_set(x_1061, 0, x_1058); -lean_ctor_set(x_1061, 1, x_1059); -return x_1061; +lean_ctor_set(x_1020, 0, x_1017); +lean_ctor_set(x_1020, 1, x_1018); +return x_1020; } } } } else { -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; uint8_t x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_1062 = l_Lean_Syntax_inhabited; -x_1063 = lean_unsigned_to_nat(1u); -x_1064 = lean_array_get(x_1062, x_4, x_1063); -lean_inc(x_1064); -x_1065 = l_Lean_Syntax_getKind(x_1064); -if (lean_obj_tag(x_1065) == 1) -{ -lean_object* x_1066; -x_1066 = lean_ctor_get(x_1065, 0); -lean_inc(x_1066); -if (lean_obj_tag(x_1066) == 1) -{ -lean_object* x_1067; -x_1067 = lean_ctor_get(x_1066, 0); -lean_inc(x_1067); -if (lean_obj_tag(x_1067) == 1) -{ -lean_object* x_1068; -x_1068 = lean_ctor_get(x_1067, 0); -lean_inc(x_1068); -if (lean_obj_tag(x_1068) == 1) -{ -lean_object* x_1069; -x_1069 = lean_ctor_get(x_1068, 0); -lean_inc(x_1069); -if (lean_obj_tag(x_1069) == 0) -{ -lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; uint8_t x_1074; -x_1070 = lean_ctor_get(x_1065, 1); -lean_inc(x_1070); -lean_dec(x_1065); -x_1071 = lean_ctor_get(x_1066, 1); -lean_inc(x_1071); -lean_dec(x_1066); -x_1072 = lean_ctor_get(x_1067, 1); -lean_inc(x_1072); -lean_dec(x_1067); -x_1073 = lean_ctor_get(x_1068, 1); -lean_inc(x_1073); -lean_dec(x_1068); -x_1074 = lean_string_dec_eq(x_1073, x_130); -lean_dec(x_1073); -if (x_1074 == 0) -{ -lean_object* x_1075; lean_object* x_1076; -lean_dec(x_1072); -lean_dec(x_1071); -lean_dec(x_1070); -lean_dec(x_1064); -x_1075 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1076 = l_unreachable_x21___rarg(x_1075); -x_5 = x_1076; -goto block_95; -} -else -{ -uint8_t x_1077; -x_1077 = lean_string_dec_eq(x_1072, x_866); -lean_dec(x_1072); -if (x_1077 == 0) -{ -lean_object* x_1078; lean_object* x_1079; -lean_dec(x_1071); -lean_dec(x_1070); -lean_dec(x_1064); -x_1078 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1079 = l_unreachable_x21___rarg(x_1078); -x_5 = x_1079; -goto block_95; -} -else -{ -uint8_t x_1080; -x_1080 = lean_string_dec_eq(x_1071, x_876); -lean_dec(x_1071); -if (x_1080 == 0) -{ -lean_object* x_1081; lean_object* x_1082; -lean_dec(x_1070); -lean_dec(x_1064); -x_1081 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1082 = l_unreachable_x21___rarg(x_1081); -x_5 = x_1082; -goto block_95; -} -else -{ -lean_object* x_1083; uint8_t x_1084; -x_1083 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; -x_1084 = lean_string_dec_eq(x_1070, x_1083); -if (x_1084 == 0) -{ -lean_object* x_1085; uint8_t x_1086; -x_1085 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; -x_1086 = lean_string_dec_eq(x_1070, x_1085); -lean_dec(x_1070); -if (x_1086 == 0) -{ -lean_object* x_1087; lean_object* x_1088; -lean_dec(x_1064); -x_1087 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1088 = l_unreachable_x21___rarg(x_1087); -x_5 = x_1088; -goto block_95; -} -else -{ -lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; -x_1089 = lean_unsigned_to_nat(0u); -x_1090 = l_Lean_Syntax_getArg(x_1064, x_1089); -x_1091 = l_Lean_Syntax_getIdAt(x_1090, x_1089); -lean_dec(x_1090); -x_1092 = lean_unsigned_to_nat(3u); -x_1093 = l_Lean_Syntax_getArg(x_1064, x_1092); -lean_dec(x_1064); -x_1094 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1094, 0, x_1091); -lean_ctor_set(x_1094, 1, x_1093); -x_5 = x_1094; -goto block_95; -} -} -else -{ -lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; -lean_dec(x_1070); -x_1095 = lean_unsigned_to_nat(0u); -x_1096 = l_Lean_Syntax_getIdAt(x_1064, x_1095); -x_1097 = lean_unsigned_to_nat(4u); -x_1098 = l_Lean_Syntax_getArg(x_1064, x_1097); -lean_dec(x_1064); -x_1099 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1099, 0, x_1096); -lean_ctor_set(x_1099, 1, x_1098); -x_5 = x_1099; -goto block_95; -} -} -} -} -} -else -{ -lean_object* x_1100; lean_object* x_1101; -lean_dec(x_1069); -lean_dec(x_1068); -lean_dec(x_1067); -lean_dec(x_1066); -lean_dec(x_1065); -lean_dec(x_1064); -x_1100 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1101 = l_unreachable_x21___rarg(x_1100); -x_5 = x_1101; -goto block_95; -} -} -else -{ -lean_object* x_1102; lean_object* x_1103; -lean_dec(x_1068); -lean_dec(x_1067); -lean_dec(x_1066); -lean_dec(x_1065); -lean_dec(x_1064); -x_1102 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1103 = l_unreachable_x21___rarg(x_1102); -x_5 = x_1103; -goto block_95; -} -} -else -{ -lean_object* x_1104; lean_object* x_1105; -lean_dec(x_1067); -lean_dec(x_1066); -lean_dec(x_1065); -lean_dec(x_1064); -x_1104 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1105 = l_unreachable_x21___rarg(x_1104); -x_5 = x_1105; -goto block_95; -} -} -else -{ -lean_object* x_1106; lean_object* x_1107; -lean_dec(x_1066); -lean_dec(x_1065); -lean_dec(x_1064); -x_1106 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1107 = l_unreachable_x21___rarg(x_1106); -x_5 = x_1107; -goto block_95; -} -} -else -{ -lean_object* x_1108; lean_object* x_1109; -lean_dec(x_1065); -lean_dec(x_1064); -x_1108 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1109 = l_unreachable_x21___rarg(x_1108); -x_5 = x_1109; -goto block_95; -} -} -} -else -{ -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; uint8_t x_1118; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1110 = l_Lean_Syntax_inhabited; -x_1111 = lean_unsigned_to_nat(1u); -x_1112 = lean_array_get(x_1110, x_4, x_1111); -x_1113 = l_Lean_Syntax_getArgs(x_1112); -lean_dec(x_1112); -x_1114 = lean_unsigned_to_nat(3u); -x_1115 = lean_array_get(x_1110, x_4, x_1114); +x_1021 = l_Lean_Syntax_inhabited; +x_1022 = lean_unsigned_to_nat(1u); +x_1023 = lean_array_get(x_1021, x_4, x_1022); +x_1024 = lean_unsigned_to_nat(0u); +x_1025 = l_Lean_Syntax_getArg(x_1023, x_1024); +x_1026 = l_Lean_Syntax_isIdent(x_1025); +x_1027 = lean_unsigned_to_nat(4u); +x_1028 = l_Lean_Syntax_getArg(x_1023, x_1027); +lean_dec(x_1023); +x_1029 = lean_unsigned_to_nat(3u); +x_1030 = lean_array_get(x_1021, x_4, x_1029); lean_dec(x_4); -x_1116 = lean_array_get_size(x_1113); -x_1117 = lean_unsigned_to_nat(0u); -x_1118 = lean_nat_dec_eq(x_1116, x_1117); -lean_dec(x_1116); -if (x_1118 == 0) +if (x_1026 == 0) { -lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; uint8_t x_1124; -x_1119 = lean_array_get(x_1110, x_1113, x_1117); -x_1120 = lean_name_mk_string(x_118, x_130); -x_1121 = lean_name_mk_string(x_1120, x_866); -x_1122 = lean_name_mk_string(x_1121, x_876); -lean_inc(x_1122); -x_1123 = lean_name_mk_string(x_1122, x_886); -lean_inc(x_1119); -x_1124 = l_Lean_Syntax_isOfKind(x_1119, x_1123); -lean_dec(x_1123); -if (x_1124 == 0) +lean_object* x_1078; +x_1078 = l_Lean_Syntax_getIdAt(x_1025, x_1024); +lean_dec(x_1025); +x_1031 = x_1078; +goto block_1077; +} +else { -lean_object* x_1125; lean_object* x_1126; uint8_t x_1127; -x_1125 = l_Lean_mkHole___closed__1; -lean_inc(x_1122); -x_1126 = lean_name_mk_string(x_1122, x_1125); -lean_inc(x_1119); -x_1127 = l_Lean_Syntax_isOfKind(x_1119, x_1126); -lean_dec(x_1126); -if (x_1127 == 0) +lean_object* x_1079; +x_1079 = l_Lean_Syntax_getId(x_1025); +lean_dec(x_1025); +x_1031 = x_1079; +goto block_1077; +} +block_1077: { -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; -x_1128 = l_Lean_Syntax_getArg(x_1119, x_1111); -lean_dec(x_1119); -x_1129 = l_Lean_Syntax_getArg(x_1128, x_1117); -x_1130 = l_Lean_Syntax_getIdAt(x_1129, x_1117); -lean_dec(x_1129); -x_1131 = l_Lean_Syntax_getArg(x_1128, x_1111); -lean_dec(x_1128); -x_1132 = l_Lean_Syntax_getArg(x_1131, x_1117); -lean_dec(x_1131); -x_1133 = l_Lean_Syntax_getArg(x_1132, x_1111); -lean_dec(x_1132); +lean_object* x_1032; lean_inc(x_2); -x_1134 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1133, x_2, x_3); -if (lean_obj_tag(x_1134) == 0) +x_1032 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1028, x_2, x_3); +if (lean_obj_tag(x_1032) == 0) { -lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; uint8_t 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; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; uint8_t x_1169; uint8_t 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; -x_1135 = lean_ctor_get(x_1134, 0); -lean_inc(x_1135); -x_1136 = lean_ctor_get(x_1134, 1); -lean_inc(x_1136); -lean_dec(x_1134); -x_1137 = l_Lean_Elab_Term_getLCtx(x_2, x_1136); -x_1138 = lean_ctor_get(x_1137, 0); -lean_inc(x_1138); -x_1139 = lean_ctor_get(x_1137, 1); -lean_inc(x_1139); -lean_dec(x_1137); -x_1140 = 0; -lean_inc_n(x_1130, 2); -x_1141 = lean_local_ctx_mk_local_decl(x_1138, x_1130, x_1130, x_1135, x_1140); -x_1142 = l_Array_eraseIdx___rarg(x_1113, x_1117); -x_1143 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1139); -x_1144 = lean_ctor_get(x_1143, 1); -lean_inc(x_1144); -lean_dec(x_1143); -x_1145 = l_Lean_Elab_Term_getMainModule___rarg(x_1144); -x_1146 = lean_ctor_get(x_1145, 1); -lean_inc(x_1146); -lean_dec(x_1145); -x_1147 = lean_name_mk_string(x_1122, x_888); -x_1148 = l_Lean_nullKind___closed__1; -x_1149 = lean_name_mk_string(x_118, x_1148); -x_1150 = l_Array_empty___closed__1; -x_1151 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1142, x_1142, x_1117, x_1150); -lean_dec(x_1142); -x_1152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1152, 0, x_1149); -lean_ctor_set(x_1152, 1, x_1151); -x_1153 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -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_1115); -x_1158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1158, 0, x_1147); -lean_ctor_set(x_1158, 1, x_1157); -x_1159 = lean_ctor_get(x_2, 0); -lean_inc(x_1159); -x_1160 = lean_ctor_get(x_2, 1); -lean_inc(x_1160); -x_1161 = lean_ctor_get(x_2, 2); -lean_inc(x_1161); -x_1162 = lean_ctor_get(x_2, 3); -lean_inc(x_1162); -x_1163 = lean_ctor_get(x_2, 4); -lean_inc(x_1163); -x_1164 = lean_ctor_get(x_2, 5); -lean_inc(x_1164); -x_1165 = lean_ctor_get(x_2, 6); -lean_inc(x_1165); -x_1166 = lean_ctor_get(x_2, 7); -lean_inc(x_1166); -x_1167 = lean_ctor_get(x_2, 8); -lean_inc(x_1167); -x_1168 = lean_ctor_get(x_2, 9); -lean_inc(x_1168); -x_1169 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1170 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +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; uint8_t x_1050; uint8_t 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; +x_1033 = lean_ctor_get(x_1032, 0); +lean_inc(x_1033); +x_1034 = lean_ctor_get(x_1032, 1); +lean_inc(x_1034); +lean_dec(x_1032); +x_1035 = l_Lean_Elab_Term_getLCtx(x_2, x_1034); +x_1036 = lean_ctor_get(x_1035, 0); +lean_inc(x_1036); +x_1037 = lean_ctor_get(x_1035, 1); +lean_inc(x_1037); +lean_dec(x_1035); +x_1038 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_1031, 2); +x_1039 = lean_local_ctx_mk_let_decl(x_1036, x_1031, x_1031, x_1038, x_1033); +x_1040 = lean_ctor_get(x_2, 0); +lean_inc(x_1040); +x_1041 = lean_ctor_get(x_2, 1); +lean_inc(x_1041); +x_1042 = lean_ctor_get(x_2, 2); +lean_inc(x_1042); +x_1043 = lean_ctor_get(x_2, 3); +lean_inc(x_1043); +x_1044 = lean_ctor_get(x_2, 4); +lean_inc(x_1044); +x_1045 = lean_ctor_get(x_2, 5); +lean_inc(x_1045); +x_1046 = lean_ctor_get(x_2, 6); +lean_inc(x_1046); +x_1047 = lean_ctor_get(x_2, 7); +lean_inc(x_1047); +x_1048 = lean_ctor_get(x_2, 8); +lean_inc(x_1048); +x_1049 = lean_ctor_get(x_2, 9); +lean_inc(x_1049); +x_1050 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1051 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -18299,725 +18165,1154 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1171 = x_2; + x_1052 = x_2; } else { lean_dec_ref(x_2); - x_1171 = lean_box(0); + x_1052 = lean_box(0); } -x_1172 = lean_ctor_get(x_1159, 0); -lean_inc(x_1172); -x_1173 = lean_ctor_get(x_1159, 2); -lean_inc(x_1173); -x_1174 = lean_ctor_get(x_1159, 3); -lean_inc(x_1174); -x_1175 = lean_ctor_get(x_1159, 4); -lean_inc(x_1175); -if (lean_is_exclusive(x_1159)) { - lean_ctor_release(x_1159, 0); - lean_ctor_release(x_1159, 1); - lean_ctor_release(x_1159, 2); - lean_ctor_release(x_1159, 3); - lean_ctor_release(x_1159, 4); - x_1176 = x_1159; +x_1053 = lean_ctor_get(x_1040, 0); +lean_inc(x_1053); +x_1054 = lean_ctor_get(x_1040, 2); +lean_inc(x_1054); +x_1055 = lean_ctor_get(x_1040, 3); +lean_inc(x_1055); +x_1056 = lean_ctor_get(x_1040, 4); +lean_inc(x_1056); +if (lean_is_exclusive(x_1040)) { + lean_ctor_release(x_1040, 0); + lean_ctor_release(x_1040, 1); + lean_ctor_release(x_1040, 2); + lean_ctor_release(x_1040, 3); + lean_ctor_release(x_1040, 4); + x_1057 = x_1040; } else { - lean_dec_ref(x_1159); - x_1176 = lean_box(0); + lean_dec_ref(x_1040); + x_1057 = lean_box(0); } -lean_inc(x_1141); -if (lean_is_scalar(x_1176)) { - x_1177 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_1039); +if (lean_is_scalar(x_1057)) { + x_1058 = lean_alloc_ctor(0, 5, 0); } else { - x_1177 = x_1176; + x_1058 = x_1057; } -lean_ctor_set(x_1177, 0, x_1172); -lean_ctor_set(x_1177, 1, x_1141); -lean_ctor_set(x_1177, 2, x_1173); -lean_ctor_set(x_1177, 3, x_1174); -lean_ctor_set(x_1177, 4, x_1175); -if (lean_is_scalar(x_1171)) { - x_1178 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_1058, 0, x_1053); +lean_ctor_set(x_1058, 1, x_1039); +lean_ctor_set(x_1058, 2, x_1054); +lean_ctor_set(x_1058, 3, x_1055); +lean_ctor_set(x_1058, 4, x_1056); +if (lean_is_scalar(x_1052)) { + x_1059 = lean_alloc_ctor(0, 10, 2); } else { - x_1178 = x_1171; + x_1059 = x_1052; } -lean_ctor_set(x_1178, 0, x_1177); -lean_ctor_set(x_1178, 1, x_1160); -lean_ctor_set(x_1178, 2, x_1161); -lean_ctor_set(x_1178, 3, x_1162); -lean_ctor_set(x_1178, 4, x_1163); -lean_ctor_set(x_1178, 5, x_1164); -lean_ctor_set(x_1178, 6, x_1165); -lean_ctor_set(x_1178, 7, x_1166); -lean_ctor_set(x_1178, 8, x_1167); -lean_ctor_set(x_1178, 9, x_1168); -lean_ctor_set_uint8(x_1178, sizeof(void*)*10, x_1169); -lean_ctor_set_uint8(x_1178, sizeof(void*)*10 + 1, x_1170); -x_1179 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1158, x_1178, x_1146); -if (lean_obj_tag(x_1179) == 0) +lean_ctor_set(x_1059, 0, x_1058); +lean_ctor_set(x_1059, 1, x_1041); +lean_ctor_set(x_1059, 2, x_1042); +lean_ctor_set(x_1059, 3, x_1043); +lean_ctor_set(x_1059, 4, x_1044); +lean_ctor_set(x_1059, 5, x_1045); +lean_ctor_set(x_1059, 6, x_1046); +lean_ctor_set(x_1059, 7, x_1047); +lean_ctor_set(x_1059, 8, x_1048); +lean_ctor_set(x_1059, 9, x_1049); +lean_ctor_set_uint8(x_1059, sizeof(void*)*10, x_1050); +lean_ctor_set_uint8(x_1059, sizeof(void*)*10 + 1, x_1051); +x_1060 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1030, x_1059, x_1037); +if (lean_obj_tag(x_1060) == 0) { -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; -x_1180 = lean_ctor_get(x_1179, 0); -lean_inc(x_1180); -x_1181 = lean_ctor_get(x_1179, 1); -lean_inc(x_1181); -if (lean_is_exclusive(x_1179)) { - lean_ctor_release(x_1179, 0); - lean_ctor_release(x_1179, 1); - x_1182 = x_1179; +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; +x_1061 = lean_ctor_get(x_1060, 0); +lean_inc(x_1061); +x_1062 = lean_ctor_get(x_1060, 1); +lean_inc(x_1062); +if (lean_is_exclusive(x_1060)) { + lean_ctor_release(x_1060, 0); + lean_ctor_release(x_1060, 1); + x_1063 = x_1060; } else { - lean_dec_ref(x_1179); - x_1182 = lean_box(0); + lean_dec_ref(x_1060); + x_1063 = lean_box(0); } -x_1183 = l_Lean_mkFVar(x_1130); -x_1184 = l_Lean_mkOptionalNode___closed__2; -x_1185 = lean_array_push(x_1184, x_1183); -x_1186 = l_Lean_LocalContext_mkLambda(x_1141, x_1185, x_1180); -lean_dec(x_1180); -lean_dec(x_1185); -if (lean_is_scalar(x_1182)) { - x_1187 = lean_alloc_ctor(0, 2, 0); +x_1064 = l_Lean_mkFVar(x_1031); +x_1065 = l_Lean_mkOptionalNode___closed__2; +x_1066 = lean_array_push(x_1065, x_1064); +x_1067 = l_Lean_LocalContext_mkLambda(x_1039, x_1066, x_1061); +lean_dec(x_1061); +lean_dec(x_1066); +if (lean_is_scalar(x_1063)) { + x_1068 = lean_alloc_ctor(0, 2, 0); } else { - x_1187 = x_1182; + x_1068 = x_1063; } -lean_ctor_set(x_1187, 0, x_1186); -lean_ctor_set(x_1187, 1, x_1181); -return x_1187; +lean_ctor_set(x_1068, 0, x_1067); +lean_ctor_set(x_1068, 1, x_1062); +return x_1068; } else { -lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; -lean_dec(x_1141); -lean_dec(x_1130); -x_1188 = lean_ctor_get(x_1179, 0); -lean_inc(x_1188); -x_1189 = lean_ctor_get(x_1179, 1); -lean_inc(x_1189); -if (lean_is_exclusive(x_1179)) { - lean_ctor_release(x_1179, 0); - lean_ctor_release(x_1179, 1); - x_1190 = x_1179; +lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; +lean_dec(x_1039); +lean_dec(x_1031); +x_1069 = lean_ctor_get(x_1060, 0); +lean_inc(x_1069); +x_1070 = lean_ctor_get(x_1060, 1); +lean_inc(x_1070); +if (lean_is_exclusive(x_1060)) { + lean_ctor_release(x_1060, 0); + lean_ctor_release(x_1060, 1); + x_1071 = x_1060; } else { - lean_dec_ref(x_1179); - x_1190 = lean_box(0); + lean_dec_ref(x_1060); + x_1071 = lean_box(0); } -if (lean_is_scalar(x_1190)) { - x_1191 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1071)) { + x_1072 = lean_alloc_ctor(1, 2, 0); } else { - x_1191 = x_1190; + x_1072 = x_1071; } -lean_ctor_set(x_1191, 0, x_1188); -lean_ctor_set(x_1191, 1, x_1189); -return x_1191; +lean_ctor_set(x_1072, 0, x_1069); +lean_ctor_set(x_1072, 1, x_1070); +return x_1072; } } else { -lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; -lean_dec(x_1130); -lean_dec(x_1122); -lean_dec(x_1115); -lean_dec(x_1113); +lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; +lean_dec(x_1031); +lean_dec(x_1030); lean_dec(x_2); -x_1192 = lean_ctor_get(x_1134, 0); -lean_inc(x_1192); -x_1193 = lean_ctor_get(x_1134, 1); -lean_inc(x_1193); -if (lean_is_exclusive(x_1134)) { - lean_ctor_release(x_1134, 0); - lean_ctor_release(x_1134, 1); - x_1194 = x_1134; +x_1073 = lean_ctor_get(x_1032, 0); +lean_inc(x_1073); +x_1074 = lean_ctor_get(x_1032, 1); +lean_inc(x_1074); +if (lean_is_exclusive(x_1032)) { + lean_ctor_release(x_1032, 0); + lean_ctor_release(x_1032, 1); + x_1075 = x_1032; } else { - lean_dec_ref(x_1134); - x_1194 = lean_box(0); + lean_dec_ref(x_1032); + x_1075 = lean_box(0); } -if (lean_is_scalar(x_1194)) { - x_1195 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1075)) { + x_1076 = lean_alloc_ctor(1, 2, 0); } else { - x_1195 = x_1194; + x_1076 = x_1075; } -lean_ctor_set(x_1195, 0, x_1192); -lean_ctor_set(x_1195, 1, x_1193); -return x_1195; +lean_ctor_set(x_1076, 0, x_1073); +lean_ctor_set(x_1076, 1, x_1074); +return x_1076; } } -else -{ -lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; uint8_t x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; uint8_t x_1231; uint8_t 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_dec(x_1119); -x_1196 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1197 = lean_name_mk_string(x_118, x_1196); -x_1198 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1199 = lean_ctor_get(x_1198, 0); -lean_inc(x_1199); -x_1200 = lean_ctor_get(x_1198, 1); -lean_inc(x_1200); -lean_dec(x_1198); -x_1201 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_1202 = 0; -lean_inc_n(x_1197, 2); -x_1203 = lean_local_ctx_mk_local_decl(x_1199, x_1197, x_1197, x_1201, x_1202); -x_1204 = l_Array_eraseIdx___rarg(x_1113, x_1117); -x_1205 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1200); -x_1206 = lean_ctor_get(x_1205, 1); -lean_inc(x_1206); -lean_dec(x_1205); -x_1207 = l_Lean_Elab_Term_getMainModule___rarg(x_1206); -x_1208 = lean_ctor_get(x_1207, 1); -lean_inc(x_1208); -lean_dec(x_1207); -x_1209 = lean_name_mk_string(x_1122, x_888); -x_1210 = l_Lean_nullKind___closed__1; -x_1211 = lean_name_mk_string(x_118, x_1210); -x_1212 = l_Array_empty___closed__1; -x_1213 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1204, x_1204, x_1117, x_1212); -lean_dec(x_1204); -x_1214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1214, 0, x_1211); -lean_ctor_set(x_1214, 1, x_1213); -x_1215 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1216 = lean_array_push(x_1215, x_1214); -x_1217 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1218 = lean_array_push(x_1216, x_1217); -x_1219 = lean_array_push(x_1218, x_1115); -x_1220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1220, 0, x_1209); -lean_ctor_set(x_1220, 1, x_1219); -x_1221 = lean_ctor_get(x_2, 0); -lean_inc(x_1221); -x_1222 = lean_ctor_get(x_2, 1); -lean_inc(x_1222); -x_1223 = lean_ctor_get(x_2, 2); -lean_inc(x_1223); -x_1224 = lean_ctor_get(x_2, 3); -lean_inc(x_1224); -x_1225 = lean_ctor_get(x_2, 4); -lean_inc(x_1225); -x_1226 = lean_ctor_get(x_2, 5); -lean_inc(x_1226); -x_1227 = lean_ctor_get(x_2, 6); -lean_inc(x_1227); -x_1228 = lean_ctor_get(x_2, 7); -lean_inc(x_1228); -x_1229 = lean_ctor_get(x_2, 8); -lean_inc(x_1229); -x_1230 = lean_ctor_get(x_2, 9); -lean_inc(x_1230); -x_1231 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1232 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1233 = x_2; -} else { - lean_dec_ref(x_2); - x_1233 = lean_box(0); -} -x_1234 = lean_ctor_get(x_1221, 0); -lean_inc(x_1234); -x_1235 = lean_ctor_get(x_1221, 2); -lean_inc(x_1235); -x_1236 = lean_ctor_get(x_1221, 3); -lean_inc(x_1236); -x_1237 = lean_ctor_get(x_1221, 4); -lean_inc(x_1237); -if (lean_is_exclusive(x_1221)) { - lean_ctor_release(x_1221, 0); - lean_ctor_release(x_1221, 1); - lean_ctor_release(x_1221, 2); - lean_ctor_release(x_1221, 3); - lean_ctor_release(x_1221, 4); - x_1238 = x_1221; -} else { - lean_dec_ref(x_1221); - x_1238 = lean_box(0); -} -lean_inc(x_1203); -if (lean_is_scalar(x_1238)) { - x_1239 = lean_alloc_ctor(0, 5, 0); -} else { - x_1239 = x_1238; -} -lean_ctor_set(x_1239, 0, x_1234); -lean_ctor_set(x_1239, 1, x_1203); -lean_ctor_set(x_1239, 2, x_1235); -lean_ctor_set(x_1239, 3, x_1236); -lean_ctor_set(x_1239, 4, x_1237); -if (lean_is_scalar(x_1233)) { - x_1240 = lean_alloc_ctor(0, 10, 2); -} else { - x_1240 = x_1233; -} -lean_ctor_set(x_1240, 0, x_1239); -lean_ctor_set(x_1240, 1, x_1222); -lean_ctor_set(x_1240, 2, x_1223); -lean_ctor_set(x_1240, 3, x_1224); -lean_ctor_set(x_1240, 4, x_1225); -lean_ctor_set(x_1240, 5, x_1226); -lean_ctor_set(x_1240, 6, x_1227); -lean_ctor_set(x_1240, 7, x_1228); -lean_ctor_set(x_1240, 8, x_1229); -lean_ctor_set(x_1240, 9, x_1230); -lean_ctor_set_uint8(x_1240, sizeof(void*)*10, x_1231); -lean_ctor_set_uint8(x_1240, sizeof(void*)*10 + 1, x_1232); -x_1241 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1220, x_1240, x_1208); -if (lean_obj_tag(x_1241) == 0) -{ -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; -x_1242 = lean_ctor_get(x_1241, 0); -lean_inc(x_1242); -x_1243 = lean_ctor_get(x_1241, 1); -lean_inc(x_1243); -if (lean_is_exclusive(x_1241)) { - lean_ctor_release(x_1241, 0); - lean_ctor_release(x_1241, 1); - x_1244 = x_1241; -} else { - lean_dec_ref(x_1241); - x_1244 = lean_box(0); -} -x_1245 = l_Lean_mkFVar(x_1197); -x_1246 = l_Lean_mkOptionalNode___closed__2; -x_1247 = lean_array_push(x_1246, x_1245); -x_1248 = l_Lean_LocalContext_mkLambda(x_1203, x_1247, x_1242); -lean_dec(x_1242); -lean_dec(x_1247); -if (lean_is_scalar(x_1244)) { - x_1249 = lean_alloc_ctor(0, 2, 0); -} else { - x_1249 = x_1244; -} -lean_ctor_set(x_1249, 0, x_1248); -lean_ctor_set(x_1249, 1, x_1243); -return x_1249; -} -else -{ -lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; -lean_dec(x_1203); -lean_dec(x_1197); -x_1250 = lean_ctor_get(x_1241, 0); -lean_inc(x_1250); -x_1251 = lean_ctor_get(x_1241, 1); -lean_inc(x_1251); -if (lean_is_exclusive(x_1241)) { - lean_ctor_release(x_1241, 0); - lean_ctor_release(x_1241, 1); - x_1252 = x_1241; -} else { - lean_dec_ref(x_1241); - x_1252 = lean_box(0); -} -if (lean_is_scalar(x_1252)) { - x_1253 = lean_alloc_ctor(1, 2, 0); -} else { - x_1253 = x_1252; -} -lean_ctor_set(x_1253, 0, x_1250); -lean_ctor_set(x_1253, 1, x_1251); -return x_1253; -} } } else { -lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; uint8_t 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; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; uint8_t x_1288; uint8_t x_1289; lean_object* x_1290; lean_object* x_1291; 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; -x_1254 = l_Lean_Syntax_getIdAt(x_1119, x_1117); -lean_dec(x_1119); -x_1255 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1256 = lean_ctor_get(x_1255, 0); -lean_inc(x_1256); -x_1257 = lean_ctor_get(x_1255, 1); -lean_inc(x_1257); -lean_dec(x_1255); -x_1258 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_1259 = 0; -lean_inc_n(x_1254, 2); -x_1260 = lean_local_ctx_mk_local_decl(x_1256, x_1254, x_1254, x_1258, x_1259); -x_1261 = l_Array_eraseIdx___rarg(x_1113, x_1117); -x_1262 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1257); -x_1263 = lean_ctor_get(x_1262, 1); -lean_inc(x_1263); -lean_dec(x_1262); -x_1264 = l_Lean_Elab_Term_getMainModule___rarg(x_1263); -x_1265 = lean_ctor_get(x_1264, 1); -lean_inc(x_1265); -lean_dec(x_1264); -x_1266 = lean_name_mk_string(x_1122, x_888); -x_1267 = l_Lean_nullKind___closed__1; -x_1268 = lean_name_mk_string(x_118, x_1267); -x_1269 = l_Array_empty___closed__1; -x_1270 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1261, x_1261, x_1117, x_1269); -lean_dec(x_1261); -x_1271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1271, 0, x_1268); -lean_ctor_set(x_1271, 1, x_1270); -x_1272 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1273 = lean_array_push(x_1272, x_1271); -x_1274 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1275 = lean_array_push(x_1273, x_1274); -x_1276 = lean_array_push(x_1275, x_1115); -x_1277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1277, 0, x_1266); -lean_ctor_set(x_1277, 1, x_1276); -x_1278 = lean_ctor_get(x_2, 0); -lean_inc(x_1278); -x_1279 = lean_ctor_get(x_2, 1); -lean_inc(x_1279); -x_1280 = lean_ctor_get(x_2, 2); -lean_inc(x_1280); -x_1281 = lean_ctor_get(x_2, 3); -lean_inc(x_1281); -x_1282 = lean_ctor_get(x_2, 4); -lean_inc(x_1282); -x_1283 = lean_ctor_get(x_2, 5); -lean_inc(x_1283); -x_1284 = lean_ctor_get(x_2, 6); -lean_inc(x_1284); -x_1285 = lean_ctor_get(x_2, 7); -lean_inc(x_1285); -x_1286 = lean_ctor_get(x_2, 8); -lean_inc(x_1286); -x_1287 = lean_ctor_get(x_2, 9); -lean_inc(x_1287); -x_1288 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1289 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1290 = x_2; -} else { - lean_dec_ref(x_2); - x_1290 = lean_box(0); -} -x_1291 = lean_ctor_get(x_1278, 0); -lean_inc(x_1291); -x_1292 = lean_ctor_get(x_1278, 2); -lean_inc(x_1292); -x_1293 = lean_ctor_get(x_1278, 3); -lean_inc(x_1293); -x_1294 = lean_ctor_get(x_1278, 4); -lean_inc(x_1294); -if (lean_is_exclusive(x_1278)) { - lean_ctor_release(x_1278, 0); - lean_ctor_release(x_1278, 1); - lean_ctor_release(x_1278, 2); - lean_ctor_release(x_1278, 3); - lean_ctor_release(x_1278, 4); - x_1295 = x_1278; -} else { - lean_dec_ref(x_1278); - x_1295 = lean_box(0); -} -lean_inc(x_1260); -if (lean_is_scalar(x_1295)) { - x_1296 = lean_alloc_ctor(0, 5, 0); -} else { - x_1296 = x_1295; -} -lean_ctor_set(x_1296, 0, x_1291); -lean_ctor_set(x_1296, 1, x_1260); -lean_ctor_set(x_1296, 2, x_1292); -lean_ctor_set(x_1296, 3, x_1293); -lean_ctor_set(x_1296, 4, x_1294); -if (lean_is_scalar(x_1290)) { - x_1297 = lean_alloc_ctor(0, 10, 2); -} else { - x_1297 = x_1290; -} -lean_ctor_set(x_1297, 0, x_1296); -lean_ctor_set(x_1297, 1, x_1279); -lean_ctor_set(x_1297, 2, x_1280); -lean_ctor_set(x_1297, 3, x_1281); -lean_ctor_set(x_1297, 4, x_1282); -lean_ctor_set(x_1297, 5, x_1283); -lean_ctor_set(x_1297, 6, x_1284); -lean_ctor_set(x_1297, 7, x_1285); -lean_ctor_set(x_1297, 8, x_1286); -lean_ctor_set(x_1297, 9, x_1287); -lean_ctor_set_uint8(x_1297, sizeof(void*)*10, x_1288); -lean_ctor_set_uint8(x_1297, sizeof(void*)*10 + 1, x_1289); -x_1298 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1277, x_1297, x_1265); -if (lean_obj_tag(x_1298) == 0) +lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; uint8_t x_1088; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_1080 = l_Lean_Syntax_inhabited; +x_1081 = lean_unsigned_to_nat(1u); +x_1082 = lean_array_get(x_1080, x_4, x_1081); +x_1083 = l_Lean_Syntax_getArgs(x_1082); +lean_dec(x_1082); +x_1084 = lean_unsigned_to_nat(3u); +x_1085 = lean_array_get(x_1080, x_4, x_1084); +lean_dec(x_4); +x_1086 = lean_array_get_size(x_1083); +x_1087 = lean_unsigned_to_nat(0u); +x_1088 = lean_nat_dec_eq(x_1086, x_1087); +lean_dec(x_1086); +if (x_1088 == 0) { -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; -x_1299 = lean_ctor_get(x_1298, 0); -lean_inc(x_1299); -x_1300 = lean_ctor_get(x_1298, 1); -lean_inc(x_1300); -if (lean_is_exclusive(x_1298)) { - lean_ctor_release(x_1298, 0); - lean_ctor_release(x_1298, 1); - x_1301 = x_1298; -} else { - lean_dec_ref(x_1298); - x_1301 = lean_box(0); -} -x_1302 = l_Lean_mkFVar(x_1254); -x_1303 = l_Lean_mkOptionalNode___closed__2; -x_1304 = lean_array_push(x_1303, x_1302); -x_1305 = l_Lean_LocalContext_mkLambda(x_1260, x_1304, x_1299); -lean_dec(x_1299); -lean_dec(x_1304); -if (lean_is_scalar(x_1301)) { - x_1306 = lean_alloc_ctor(0, 2, 0); -} else { - x_1306 = x_1301; -} -lean_ctor_set(x_1306, 0, x_1305); -lean_ctor_set(x_1306, 1, x_1300); -return x_1306; -} -else +lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; uint8_t x_1094; +x_1089 = lean_array_get(x_1080, x_1083, x_1087); +x_1090 = lean_name_mk_string(x_27, x_39); +x_1091 = lean_name_mk_string(x_1090, x_825); +x_1092 = lean_name_mk_string(x_1091, x_835); +lean_inc(x_1092); +x_1093 = lean_name_mk_string(x_1092, x_845); +lean_inc(x_1089); +x_1094 = l_Lean_Syntax_isOfKind(x_1089, x_1093); +lean_dec(x_1093); +if (x_1094 == 0) { -lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; -lean_dec(x_1260); -lean_dec(x_1254); -x_1307 = lean_ctor_get(x_1298, 0); -lean_inc(x_1307); -x_1308 = lean_ctor_get(x_1298, 1); -lean_inc(x_1308); -if (lean_is_exclusive(x_1298)) { - lean_ctor_release(x_1298, 0); - lean_ctor_release(x_1298, 1); - x_1309 = x_1298; -} else { - lean_dec_ref(x_1298); - x_1309 = lean_box(0); -} -if (lean_is_scalar(x_1309)) { - x_1310 = lean_alloc_ctor(1, 2, 0); -} else { - x_1310 = x_1309; -} -lean_ctor_set(x_1310, 0, x_1307); -lean_ctor_set(x_1310, 1, x_1308); -return x_1310; -} -} -} -else +lean_object* x_1095; lean_object* x_1096; uint8_t x_1097; +x_1095 = l_Lean_mkHole___closed__1; +lean_inc(x_1092); +x_1096 = lean_name_mk_string(x_1092, x_1095); +lean_inc(x_1089); +x_1097 = l_Lean_Syntax_isOfKind(x_1089, x_1096); +lean_dec(x_1096); +if (x_1097 == 0) { +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; +x_1098 = l_Lean_Syntax_getArg(x_1089, x_1081); +lean_dec(x_1089); +x_1099 = l_Lean_Syntax_getArg(x_1098, x_1087); +x_1100 = l_Lean_Syntax_getIdAt(x_1099, x_1087); +lean_dec(x_1099); +x_1101 = l_Lean_Syntax_getArg(x_1098, x_1081); +lean_dec(x_1098); +x_1102 = l_Lean_Syntax_getArg(x_1101, x_1087); +lean_dec(x_1101); +x_1103 = l_Lean_Syntax_getArg(x_1102, x_1081); +lean_dec(x_1102); +lean_inc(x_2); +x_1104 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1103, x_2, x_3); +if (lean_obj_tag(x_1104) == 0) +{ +lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; uint8_t x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; uint8_t x_1139; uint8_t 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; +x_1105 = lean_ctor_get(x_1104, 0); +lean_inc(x_1105); +x_1106 = lean_ctor_get(x_1104, 1); +lean_inc(x_1106); +lean_dec(x_1104); +x_1107 = l_Lean_Elab_Term_getLCtx(x_2, x_1106); +x_1108 = lean_ctor_get(x_1107, 0); +lean_inc(x_1108); +x_1109 = lean_ctor_get(x_1107, 1); +lean_inc(x_1109); +lean_dec(x_1107); +x_1110 = 0; +lean_inc_n(x_1100, 2); +x_1111 = lean_local_ctx_mk_local_decl(x_1108, x_1100, x_1100, x_1105, x_1110); +x_1112 = l_Array_eraseIdx___rarg(x_1083, x_1087); +x_1113 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1109); +x_1114 = lean_ctor_get(x_1113, 1); +lean_inc(x_1114); lean_dec(x_1113); -x_1 = x_1115; +x_1115 = l_Lean_Elab_Term_getMainModule___rarg(x_1114); +x_1116 = lean_ctor_get(x_1115, 1); +lean_inc(x_1116); +lean_dec(x_1115); +x_1117 = lean_name_mk_string(x_1092, x_847); +x_1118 = l_Lean_nullKind___closed__1; +x_1119 = lean_name_mk_string(x_27, x_1118); +x_1120 = l_Array_empty___closed__1; +x_1121 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1112, x_1112, x_1087, x_1120); +lean_dec(x_1112); +x_1122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1122, 0, x_1119); +lean_ctor_set(x_1122, 1, x_1121); +x_1123 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +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_1085); +x_1128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1128, 0, x_1117); +lean_ctor_set(x_1128, 1, x_1127); +x_1129 = lean_ctor_get(x_2, 0); +lean_inc(x_1129); +x_1130 = lean_ctor_get(x_2, 1); +lean_inc(x_1130); +x_1131 = lean_ctor_get(x_2, 2); +lean_inc(x_1131); +x_1132 = lean_ctor_get(x_2, 3); +lean_inc(x_1132); +x_1133 = lean_ctor_get(x_2, 4); +lean_inc(x_1133); +x_1134 = lean_ctor_get(x_2, 5); +lean_inc(x_1134); +x_1135 = lean_ctor_get(x_2, 6); +lean_inc(x_1135); +x_1136 = lean_ctor_get(x_2, 7); +lean_inc(x_1136); +x_1137 = lean_ctor_get(x_2, 8); +lean_inc(x_1137); +x_1138 = lean_ctor_get(x_2, 9); +lean_inc(x_1138); +x_1139 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1140 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1141 = x_2; +} else { + lean_dec_ref(x_2); + x_1141 = lean_box(0); +} +x_1142 = lean_ctor_get(x_1129, 0); +lean_inc(x_1142); +x_1143 = lean_ctor_get(x_1129, 2); +lean_inc(x_1143); +x_1144 = lean_ctor_get(x_1129, 3); +lean_inc(x_1144); +x_1145 = lean_ctor_get(x_1129, 4); +lean_inc(x_1145); +if (lean_is_exclusive(x_1129)) { + lean_ctor_release(x_1129, 0); + lean_ctor_release(x_1129, 1); + lean_ctor_release(x_1129, 2); + lean_ctor_release(x_1129, 3); + lean_ctor_release(x_1129, 4); + x_1146 = x_1129; +} else { + lean_dec_ref(x_1129); + x_1146 = lean_box(0); +} +lean_inc(x_1111); +if (lean_is_scalar(x_1146)) { + x_1147 = lean_alloc_ctor(0, 5, 0); +} else { + x_1147 = x_1146; +} +lean_ctor_set(x_1147, 0, x_1142); +lean_ctor_set(x_1147, 1, x_1111); +lean_ctor_set(x_1147, 2, x_1143); +lean_ctor_set(x_1147, 3, x_1144); +lean_ctor_set(x_1147, 4, x_1145); +if (lean_is_scalar(x_1141)) { + x_1148 = lean_alloc_ctor(0, 10, 2); +} else { + x_1148 = x_1141; +} +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1130); +lean_ctor_set(x_1148, 2, x_1131); +lean_ctor_set(x_1148, 3, x_1132); +lean_ctor_set(x_1148, 4, x_1133); +lean_ctor_set(x_1148, 5, x_1134); +lean_ctor_set(x_1148, 6, x_1135); +lean_ctor_set(x_1148, 7, x_1136); +lean_ctor_set(x_1148, 8, x_1137); +lean_ctor_set(x_1148, 9, x_1138); +lean_ctor_set_uint8(x_1148, sizeof(void*)*10, x_1139); +lean_ctor_set_uint8(x_1148, sizeof(void*)*10 + 1, x_1140); +x_1149 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1128, x_1148, x_1116); +if (lean_obj_tag(x_1149) == 0) +{ +lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; +x_1150 = lean_ctor_get(x_1149, 0); +lean_inc(x_1150); +x_1151 = lean_ctor_get(x_1149, 1); +lean_inc(x_1151); +if (lean_is_exclusive(x_1149)) { + lean_ctor_release(x_1149, 0); + lean_ctor_release(x_1149, 1); + x_1152 = x_1149; +} else { + lean_dec_ref(x_1149); + x_1152 = lean_box(0); +} +x_1153 = l_Lean_mkFVar(x_1100); +x_1154 = l_Lean_mkOptionalNode___closed__2; +x_1155 = lean_array_push(x_1154, x_1153); +x_1156 = l_Lean_LocalContext_mkLambda(x_1111, x_1155, x_1150); +lean_dec(x_1150); +lean_dec(x_1155); +if (lean_is_scalar(x_1152)) { + x_1157 = lean_alloc_ctor(0, 2, 0); +} else { + x_1157 = x_1152; +} +lean_ctor_set(x_1157, 0, x_1156); +lean_ctor_set(x_1157, 1, x_1151); +return x_1157; +} +else +{ +lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; +lean_dec(x_1111); +lean_dec(x_1100); +x_1158 = lean_ctor_get(x_1149, 0); +lean_inc(x_1158); +x_1159 = lean_ctor_get(x_1149, 1); +lean_inc(x_1159); +if (lean_is_exclusive(x_1149)) { + lean_ctor_release(x_1149, 0); + lean_ctor_release(x_1149, 1); + x_1160 = x_1149; +} else { + lean_dec_ref(x_1149); + x_1160 = lean_box(0); +} +if (lean_is_scalar(x_1160)) { + x_1161 = lean_alloc_ctor(1, 2, 0); +} else { + x_1161 = x_1160; +} +lean_ctor_set(x_1161, 0, x_1158); +lean_ctor_set(x_1161, 1, x_1159); +return x_1161; +} +} +else +{ +lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; +lean_dec(x_1100); +lean_dec(x_1092); +lean_dec(x_1085); +lean_dec(x_1083); +lean_dec(x_2); +x_1162 = lean_ctor_get(x_1104, 0); +lean_inc(x_1162); +x_1163 = lean_ctor_get(x_1104, 1); +lean_inc(x_1163); +if (lean_is_exclusive(x_1104)) { + lean_ctor_release(x_1104, 0); + lean_ctor_release(x_1104, 1); + x_1164 = x_1104; +} else { + lean_dec_ref(x_1104); + x_1164 = lean_box(0); +} +if (lean_is_scalar(x_1164)) { + x_1165 = lean_alloc_ctor(1, 2, 0); +} else { + x_1165 = x_1164; +} +lean_ctor_set(x_1165, 0, x_1162); +lean_ctor_set(x_1165, 1, x_1163); +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; uint8_t 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; uint8_t x_1201; uint8_t x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; +lean_dec(x_1089); +x_1166 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1167 = lean_name_mk_string(x_27, x_1166); +x_1168 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1169 = lean_ctor_get(x_1168, 0); +lean_inc(x_1169); +x_1170 = lean_ctor_get(x_1168, 1); +lean_inc(x_1170); +lean_dec(x_1168); +x_1171 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_1172 = 0; +lean_inc_n(x_1167, 2); +x_1173 = lean_local_ctx_mk_local_decl(x_1169, x_1167, x_1167, x_1171, x_1172); +x_1174 = l_Array_eraseIdx___rarg(x_1083, x_1087); +x_1175 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1170); +x_1176 = lean_ctor_get(x_1175, 1); +lean_inc(x_1176); +lean_dec(x_1175); +x_1177 = l_Lean_Elab_Term_getMainModule___rarg(x_1176); +x_1178 = lean_ctor_get(x_1177, 1); +lean_inc(x_1178); +lean_dec(x_1177); +x_1179 = lean_name_mk_string(x_1092, x_847); +x_1180 = l_Lean_nullKind___closed__1; +x_1181 = lean_name_mk_string(x_27, x_1180); +x_1182 = l_Array_empty___closed__1; +x_1183 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1174, x_1174, x_1087, x_1182); +lean_dec(x_1174); +x_1184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1184, 0, x_1181); +lean_ctor_set(x_1184, 1, x_1183); +x_1185 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1186 = lean_array_push(x_1185, x_1184); +x_1187 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1188 = lean_array_push(x_1186, x_1187); +x_1189 = lean_array_push(x_1188, x_1085); +x_1190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1190, 0, x_1179); +lean_ctor_set(x_1190, 1, x_1189); +x_1191 = lean_ctor_get(x_2, 0); +lean_inc(x_1191); +x_1192 = lean_ctor_get(x_2, 1); +lean_inc(x_1192); +x_1193 = lean_ctor_get(x_2, 2); +lean_inc(x_1193); +x_1194 = lean_ctor_get(x_2, 3); +lean_inc(x_1194); +x_1195 = lean_ctor_get(x_2, 4); +lean_inc(x_1195); +x_1196 = lean_ctor_get(x_2, 5); +lean_inc(x_1196); +x_1197 = lean_ctor_get(x_2, 6); +lean_inc(x_1197); +x_1198 = lean_ctor_get(x_2, 7); +lean_inc(x_1198); +x_1199 = lean_ctor_get(x_2, 8); +lean_inc(x_1199); +x_1200 = lean_ctor_get(x_2, 9); +lean_inc(x_1200); +x_1201 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1202 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1203 = x_2; +} else { + lean_dec_ref(x_2); + x_1203 = lean_box(0); +} +x_1204 = lean_ctor_get(x_1191, 0); +lean_inc(x_1204); +x_1205 = lean_ctor_get(x_1191, 2); +lean_inc(x_1205); +x_1206 = lean_ctor_get(x_1191, 3); +lean_inc(x_1206); +x_1207 = lean_ctor_get(x_1191, 4); +lean_inc(x_1207); +if (lean_is_exclusive(x_1191)) { + lean_ctor_release(x_1191, 0); + lean_ctor_release(x_1191, 1); + lean_ctor_release(x_1191, 2); + lean_ctor_release(x_1191, 3); + lean_ctor_release(x_1191, 4); + x_1208 = x_1191; +} else { + lean_dec_ref(x_1191); + x_1208 = lean_box(0); +} +lean_inc(x_1173); +if (lean_is_scalar(x_1208)) { + x_1209 = lean_alloc_ctor(0, 5, 0); +} else { + x_1209 = x_1208; +} +lean_ctor_set(x_1209, 0, x_1204); +lean_ctor_set(x_1209, 1, x_1173); +lean_ctor_set(x_1209, 2, x_1205); +lean_ctor_set(x_1209, 3, x_1206); +lean_ctor_set(x_1209, 4, x_1207); +if (lean_is_scalar(x_1203)) { + x_1210 = lean_alloc_ctor(0, 10, 2); +} else { + x_1210 = x_1203; +} +lean_ctor_set(x_1210, 0, x_1209); +lean_ctor_set(x_1210, 1, x_1192); +lean_ctor_set(x_1210, 2, x_1193); +lean_ctor_set(x_1210, 3, x_1194); +lean_ctor_set(x_1210, 4, x_1195); +lean_ctor_set(x_1210, 5, x_1196); +lean_ctor_set(x_1210, 6, x_1197); +lean_ctor_set(x_1210, 7, x_1198); +lean_ctor_set(x_1210, 8, x_1199); +lean_ctor_set(x_1210, 9, x_1200); +lean_ctor_set_uint8(x_1210, sizeof(void*)*10, x_1201); +lean_ctor_set_uint8(x_1210, sizeof(void*)*10 + 1, x_1202); +x_1211 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1190, x_1210, x_1178); +if (lean_obj_tag(x_1211) == 0) +{ +lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; +x_1212 = lean_ctor_get(x_1211, 0); +lean_inc(x_1212); +x_1213 = lean_ctor_get(x_1211, 1); +lean_inc(x_1213); +if (lean_is_exclusive(x_1211)) { + lean_ctor_release(x_1211, 0); + lean_ctor_release(x_1211, 1); + x_1214 = x_1211; +} else { + lean_dec_ref(x_1211); + x_1214 = lean_box(0); +} +x_1215 = l_Lean_mkFVar(x_1167); +x_1216 = l_Lean_mkOptionalNode___closed__2; +x_1217 = lean_array_push(x_1216, x_1215); +x_1218 = l_Lean_LocalContext_mkLambda(x_1173, x_1217, x_1212); +lean_dec(x_1212); +lean_dec(x_1217); +if (lean_is_scalar(x_1214)) { + x_1219 = lean_alloc_ctor(0, 2, 0); +} else { + x_1219 = x_1214; +} +lean_ctor_set(x_1219, 0, x_1218); +lean_ctor_set(x_1219, 1, x_1213); +return x_1219; +} +else +{ +lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; +lean_dec(x_1173); +lean_dec(x_1167); +x_1220 = lean_ctor_get(x_1211, 0); +lean_inc(x_1220); +x_1221 = lean_ctor_get(x_1211, 1); +lean_inc(x_1221); +if (lean_is_exclusive(x_1211)) { + lean_ctor_release(x_1211, 0); + lean_ctor_release(x_1211, 1); + x_1222 = x_1211; +} else { + lean_dec_ref(x_1211); + x_1222 = lean_box(0); +} +if (lean_is_scalar(x_1222)) { + x_1223 = lean_alloc_ctor(1, 2, 0); +} else { + x_1223 = x_1222; +} +lean_ctor_set(x_1223, 0, x_1220); +lean_ctor_set(x_1223, 1, x_1221); +return x_1223; +} +} +} +else +{ +lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; uint8_t 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; uint8_t x_1258; uint8_t 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; +x_1224 = l_Lean_Syntax_getIdAt(x_1089, x_1087); +lean_dec(x_1089); +x_1225 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +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 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_1229 = 0; +lean_inc_n(x_1224, 2); +x_1230 = lean_local_ctx_mk_local_decl(x_1226, x_1224, x_1224, x_1228, x_1229); +x_1231 = l_Array_eraseIdx___rarg(x_1083, x_1087); +x_1232 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1227); +x_1233 = lean_ctor_get(x_1232, 1); +lean_inc(x_1233); +lean_dec(x_1232); +x_1234 = l_Lean_Elab_Term_getMainModule___rarg(x_1233); +x_1235 = lean_ctor_get(x_1234, 1); +lean_inc(x_1235); +lean_dec(x_1234); +x_1236 = lean_name_mk_string(x_1092, x_847); +x_1237 = l_Lean_nullKind___closed__1; +x_1238 = lean_name_mk_string(x_27, x_1237); +x_1239 = l_Array_empty___closed__1; +x_1240 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1231, x_1231, x_1087, x_1239); +lean_dec(x_1231); +x_1241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1241, 0, x_1238); +lean_ctor_set(x_1241, 1, x_1240); +x_1242 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1243 = lean_array_push(x_1242, x_1241); +x_1244 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1245 = lean_array_push(x_1243, x_1244); +x_1246 = lean_array_push(x_1245, x_1085); +x_1247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1247, 0, x_1236); +lean_ctor_set(x_1247, 1, x_1246); +x_1248 = lean_ctor_get(x_2, 0); +lean_inc(x_1248); +x_1249 = lean_ctor_get(x_2, 1); +lean_inc(x_1249); +x_1250 = lean_ctor_get(x_2, 2); +lean_inc(x_1250); +x_1251 = lean_ctor_get(x_2, 3); +lean_inc(x_1251); +x_1252 = lean_ctor_get(x_2, 4); +lean_inc(x_1252); +x_1253 = lean_ctor_get(x_2, 5); +lean_inc(x_1253); +x_1254 = lean_ctor_get(x_2, 6); +lean_inc(x_1254); +x_1255 = lean_ctor_get(x_2, 7); +lean_inc(x_1255); +x_1256 = lean_ctor_get(x_2, 8); +lean_inc(x_1256); +x_1257 = lean_ctor_get(x_2, 9); +lean_inc(x_1257); +x_1258 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1259 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1260 = x_2; +} else { + lean_dec_ref(x_2); + x_1260 = lean_box(0); +} +x_1261 = lean_ctor_get(x_1248, 0); +lean_inc(x_1261); +x_1262 = lean_ctor_get(x_1248, 2); +lean_inc(x_1262); +x_1263 = lean_ctor_get(x_1248, 3); +lean_inc(x_1263); +x_1264 = lean_ctor_get(x_1248, 4); +lean_inc(x_1264); +if (lean_is_exclusive(x_1248)) { + lean_ctor_release(x_1248, 0); + lean_ctor_release(x_1248, 1); + lean_ctor_release(x_1248, 2); + lean_ctor_release(x_1248, 3); + lean_ctor_release(x_1248, 4); + x_1265 = x_1248; +} else { + lean_dec_ref(x_1248); + x_1265 = lean_box(0); +} +lean_inc(x_1230); +if (lean_is_scalar(x_1265)) { + x_1266 = lean_alloc_ctor(0, 5, 0); +} else { + x_1266 = x_1265; +} +lean_ctor_set(x_1266, 0, x_1261); +lean_ctor_set(x_1266, 1, x_1230); +lean_ctor_set(x_1266, 2, x_1262); +lean_ctor_set(x_1266, 3, x_1263); +lean_ctor_set(x_1266, 4, x_1264); +if (lean_is_scalar(x_1260)) { + x_1267 = lean_alloc_ctor(0, 10, 2); +} else { + x_1267 = x_1260; +} +lean_ctor_set(x_1267, 0, x_1266); +lean_ctor_set(x_1267, 1, x_1249); +lean_ctor_set(x_1267, 2, x_1250); +lean_ctor_set(x_1267, 3, x_1251); +lean_ctor_set(x_1267, 4, x_1252); +lean_ctor_set(x_1267, 5, x_1253); +lean_ctor_set(x_1267, 6, x_1254); +lean_ctor_set(x_1267, 7, x_1255); +lean_ctor_set(x_1267, 8, x_1256); +lean_ctor_set(x_1267, 9, x_1257); +lean_ctor_set_uint8(x_1267, sizeof(void*)*10, x_1258); +lean_ctor_set_uint8(x_1267, sizeof(void*)*10 + 1, x_1259); +x_1268 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1247, x_1267, x_1235); +if (lean_obj_tag(x_1268) == 0) +{ +lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; +x_1269 = lean_ctor_get(x_1268, 0); +lean_inc(x_1269); +x_1270 = lean_ctor_get(x_1268, 1); +lean_inc(x_1270); +if (lean_is_exclusive(x_1268)) { + lean_ctor_release(x_1268, 0); + lean_ctor_release(x_1268, 1); + x_1271 = x_1268; +} else { + lean_dec_ref(x_1268); + x_1271 = lean_box(0); +} +x_1272 = l_Lean_mkFVar(x_1224); +x_1273 = l_Lean_mkOptionalNode___closed__2; +x_1274 = lean_array_push(x_1273, x_1272); +x_1275 = l_Lean_LocalContext_mkLambda(x_1230, x_1274, x_1269); +lean_dec(x_1269); +lean_dec(x_1274); +if (lean_is_scalar(x_1271)) { + x_1276 = lean_alloc_ctor(0, 2, 0); +} else { + x_1276 = x_1271; +} +lean_ctor_set(x_1276, 0, x_1275); +lean_ctor_set(x_1276, 1, x_1270); +return x_1276; +} +else +{ +lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; +lean_dec(x_1230); +lean_dec(x_1224); +x_1277 = lean_ctor_get(x_1268, 0); +lean_inc(x_1277); +x_1278 = lean_ctor_get(x_1268, 1); +lean_inc(x_1278); +if (lean_is_exclusive(x_1268)) { + lean_ctor_release(x_1268, 0); + lean_ctor_release(x_1268, 1); + x_1279 = x_1268; +} else { + lean_dec_ref(x_1268); + 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_1083); +x_1 = x_1085; goto _start; } } } else { -lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; -lean_free_object(x_117); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_1312 = l_Lean_Syntax_inhabited; -x_1313 = lean_unsigned_to_nat(0u); -x_1314 = lean_array_get(x_1312, x_4, x_1313); +lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; +lean_free_object(x_26); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_1282 = l_Lean_Syntax_inhabited; +x_1283 = lean_unsigned_to_nat(0u); +x_1284 = lean_array_get(x_1282, x_4, x_1283); lean_dec(x_4); -if (lean_obj_tag(x_1314) == 3) +if (lean_obj_tag(x_1284) == 3) { -lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; -x_1315 = lean_ctor_get(x_1314, 2); -lean_inc(x_1315); -x_1316 = lean_ctor_get(x_1314, 3); -lean_inc(x_1316); -lean_dec(x_1314); -x_1317 = lean_box(0); +lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; +x_1285 = lean_ctor_get(x_1284, 2); +lean_inc(x_1285); +x_1286 = lean_ctor_get(x_1284, 3); +lean_inc(x_1286); +lean_dec(x_1284); +x_1287 = lean_box(0); lean_inc(x_2); -x_1318 = l_Lean_Elab_Term_resolveName(x_1, x_1315, x_1316, x_1317, x_2, x_3); +x_1288 = l_Lean_Elab_Term_resolveName(x_1, x_1285, x_1286, x_1287, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_1318) == 0) +if (lean_obj_tag(x_1288) == 0) { -lean_object* x_1319; -x_1319 = lean_ctor_get(x_1318, 0); -lean_inc(x_1319); -if (lean_obj_tag(x_1319) == 0) +lean_object* x_1289; +x_1289 = lean_ctor_get(x_1288, 0); +lean_inc(x_1289); +if (lean_obj_tag(x_1289) == 0) { -lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; -x_1320 = lean_ctor_get(x_1318, 1); -lean_inc(x_1320); -lean_dec(x_1318); -x_1321 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1322 = l_unreachable_x21___rarg(x_1321); -x_1323 = lean_apply_2(x_1322, x_2, x_1320); -return x_1323; +lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; +x_1290 = lean_ctor_get(x_1288, 1); +lean_inc(x_1290); +lean_dec(x_1288); +x_1291 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1292 = l_unreachable_x21___rarg(x_1291); +x_1293 = lean_apply_2(x_1292, x_2, x_1290); +return x_1293; } else { -lean_object* x_1324; lean_object* x_1325; +lean_object* x_1294; lean_object* x_1295; lean_dec(x_2); -x_1324 = lean_ctor_get(x_1319, 0); -lean_inc(x_1324); -lean_dec(x_1319); -x_1325 = lean_ctor_get(x_1324, 0); -lean_inc(x_1325); -switch (lean_obj_tag(x_1325)) { +x_1294 = lean_ctor_get(x_1289, 0); +lean_inc(x_1294); +lean_dec(x_1289); +x_1295 = lean_ctor_get(x_1294, 0); +lean_inc(x_1295); +switch (lean_obj_tag(x_1295)) { case 0: { -lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; -x_1326 = lean_ctor_get(x_1318, 1); -lean_inc(x_1326); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1327 = x_1318; +lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; +x_1296 = lean_ctor_get(x_1288, 1); +lean_inc(x_1296); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1297 = x_1288; } else { - lean_dec_ref(x_1318); - x_1327 = lean_box(0); + lean_dec_ref(x_1288); + x_1297 = lean_box(0); } -x_1328 = lean_ctor_get(x_1324, 1); -lean_inc(x_1328); -lean_dec(x_1324); -x_1329 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_1325, x_1328); -if (lean_is_scalar(x_1327)) { - x_1330 = lean_alloc_ctor(0, 2, 0); +x_1298 = lean_ctor_get(x_1294, 1); +lean_inc(x_1298); +lean_dec(x_1294); +x_1299 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_1295, x_1298); +if (lean_is_scalar(x_1297)) { + x_1300 = lean_alloc_ctor(0, 2, 0); } else { - x_1330 = x_1327; + x_1300 = x_1297; } -lean_ctor_set(x_1330, 0, x_1329); -lean_ctor_set(x_1330, 1, x_1326); -return x_1330; +lean_ctor_set(x_1300, 0, x_1299); +lean_ctor_set(x_1300, 1, x_1296); +return x_1300; } case 1: { -lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; -x_1331 = lean_ctor_get(x_1318, 1); -lean_inc(x_1331); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1332 = x_1318; +lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; +x_1301 = lean_ctor_get(x_1288, 1); +lean_inc(x_1301); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1302 = x_1288; } else { - lean_dec_ref(x_1318); - x_1332 = lean_box(0); + lean_dec_ref(x_1288); + x_1302 = lean_box(0); } -x_1333 = lean_ctor_get(x_1324, 1); -lean_inc(x_1333); -lean_dec(x_1324); -x_1334 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_1325, x_1333); -if (lean_is_scalar(x_1332)) { - x_1335 = lean_alloc_ctor(0, 2, 0); +x_1303 = lean_ctor_get(x_1294, 1); +lean_inc(x_1303); +lean_dec(x_1294); +x_1304 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_1295, x_1303); +if (lean_is_scalar(x_1302)) { + x_1305 = lean_alloc_ctor(0, 2, 0); } else { - x_1335 = x_1332; + x_1305 = x_1302; } -lean_ctor_set(x_1335, 0, x_1334); -lean_ctor_set(x_1335, 1, x_1331); -return x_1335; +lean_ctor_set(x_1305, 0, x_1304); +lean_ctor_set(x_1305, 1, x_1301); +return x_1305; } case 2: { -lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; -x_1336 = lean_ctor_get(x_1318, 1); -lean_inc(x_1336); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1337 = x_1318; +lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; +x_1306 = lean_ctor_get(x_1288, 1); +lean_inc(x_1306); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1307 = x_1288; } else { - lean_dec_ref(x_1318); - x_1337 = lean_box(0); + lean_dec_ref(x_1288); + x_1307 = lean_box(0); } -x_1338 = lean_ctor_get(x_1324, 1); -lean_inc(x_1338); -lean_dec(x_1324); -x_1339 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_1325, x_1338); -if (lean_is_scalar(x_1337)) { - x_1340 = lean_alloc_ctor(0, 2, 0); +x_1308 = lean_ctor_get(x_1294, 1); +lean_inc(x_1308); +lean_dec(x_1294); +x_1309 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_1295, x_1308); +if (lean_is_scalar(x_1307)) { + x_1310 = lean_alloc_ctor(0, 2, 0); } else { - x_1340 = x_1337; + x_1310 = x_1307; } -lean_ctor_set(x_1340, 0, x_1339); -lean_ctor_set(x_1340, 1, x_1336); -return x_1340; +lean_ctor_set(x_1310, 0, x_1309); +lean_ctor_set(x_1310, 1, x_1306); +return x_1310; } case 3: { -lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; -x_1341 = lean_ctor_get(x_1318, 1); -lean_inc(x_1341); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1342 = x_1318; +lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; +x_1311 = lean_ctor_get(x_1288, 1); +lean_inc(x_1311); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1312 = x_1288; } else { - lean_dec_ref(x_1318); - x_1342 = lean_box(0); + lean_dec_ref(x_1288); + x_1312 = lean_box(0); } -x_1343 = lean_ctor_get(x_1324, 1); -lean_inc(x_1343); -lean_dec(x_1324); -x_1344 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_1325, x_1343); -if (lean_is_scalar(x_1342)) { - x_1345 = lean_alloc_ctor(0, 2, 0); +x_1313 = lean_ctor_get(x_1294, 1); +lean_inc(x_1313); +lean_dec(x_1294); +x_1314 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_1295, x_1313); +if (lean_is_scalar(x_1312)) { + x_1315 = lean_alloc_ctor(0, 2, 0); } else { - x_1345 = x_1342; + x_1315 = x_1312; } -lean_ctor_set(x_1345, 0, x_1344); -lean_ctor_set(x_1345, 1, x_1341); -return x_1345; +lean_ctor_set(x_1315, 0, x_1314); +lean_ctor_set(x_1315, 1, x_1311); +return x_1315; } case 4: { -lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; -x_1346 = lean_ctor_get(x_1318, 1); -lean_inc(x_1346); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1347 = x_1318; +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; +x_1316 = lean_ctor_get(x_1288, 1); +lean_inc(x_1316); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1317 = x_1288; } else { - lean_dec_ref(x_1318); - x_1347 = lean_box(0); + lean_dec_ref(x_1288); + x_1317 = lean_box(0); } -x_1348 = lean_ctor_get(x_1324, 1); -lean_inc(x_1348); -lean_dec(x_1324); -x_1349 = lean_ctor_get(x_1325, 0); -lean_inc(x_1349); -lean_dec(x_1325); -x_1350 = l_Lean_mkConst(x_1349, x_1317); -x_1351 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_1350, x_1348); -if (lean_is_scalar(x_1347)) { - x_1352 = lean_alloc_ctor(0, 2, 0); +x_1318 = lean_ctor_get(x_1294, 1); +lean_inc(x_1318); +lean_dec(x_1294); +x_1319 = lean_ctor_get(x_1295, 0); +lean_inc(x_1319); +lean_dec(x_1295); +x_1320 = l_Lean_mkConst(x_1319, x_1287); +x_1321 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_1320, x_1318); +if (lean_is_scalar(x_1317)) { + x_1322 = lean_alloc_ctor(0, 2, 0); } else { - x_1352 = x_1347; + x_1322 = x_1317; } -lean_ctor_set(x_1352, 0, x_1351); -lean_ctor_set(x_1352, 1, x_1346); -return x_1352; +lean_ctor_set(x_1322, 0, x_1321); +lean_ctor_set(x_1322, 1, x_1316); +return x_1322; } case 5: { -lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; -x_1353 = lean_ctor_get(x_1318, 1); -lean_inc(x_1353); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1354 = x_1318; +lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; +x_1323 = lean_ctor_get(x_1288, 1); +lean_inc(x_1323); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1324 = x_1288; } else { - lean_dec_ref(x_1318); + lean_dec_ref(x_1288); + x_1324 = lean_box(0); +} +x_1325 = lean_ctor_get(x_1294, 1); +lean_inc(x_1325); +lean_dec(x_1294); +x_1326 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_1295, x_1325); +if (lean_is_scalar(x_1324)) { + x_1327 = lean_alloc_ctor(0, 2, 0); +} else { + x_1327 = x_1324; +} +lean_ctor_set(x_1327, 0, x_1326); +lean_ctor_set(x_1327, 1, x_1323); +return x_1327; +} +case 6: +{ +lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; +x_1328 = lean_ctor_get(x_1288, 1); +lean_inc(x_1328); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1329 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1329 = lean_box(0); +} +x_1330 = lean_ctor_get(x_1294, 1); +lean_inc(x_1330); +lean_dec(x_1294); +x_1331 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_1295, x_1330); +if (lean_is_scalar(x_1329)) { + x_1332 = lean_alloc_ctor(0, 2, 0); +} else { + x_1332 = x_1329; +} +lean_ctor_set(x_1332, 0, x_1331); +lean_ctor_set(x_1332, 1, x_1328); +return x_1332; +} +case 7: +{ +lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; +x_1333 = lean_ctor_get(x_1288, 1); +lean_inc(x_1333); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1334 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1334 = lean_box(0); +} +x_1335 = lean_ctor_get(x_1294, 1); +lean_inc(x_1335); +lean_dec(x_1294); +x_1336 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_1295, x_1335); +if (lean_is_scalar(x_1334)) { + x_1337 = lean_alloc_ctor(0, 2, 0); +} else { + x_1337 = x_1334; +} +lean_ctor_set(x_1337, 0, x_1336); +lean_ctor_set(x_1337, 1, x_1333); +return x_1337; +} +case 8: +{ +lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; +x_1338 = lean_ctor_get(x_1288, 1); +lean_inc(x_1338); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1339 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1339 = lean_box(0); +} +x_1340 = lean_ctor_get(x_1294, 1); +lean_inc(x_1340); +lean_dec(x_1294); +x_1341 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_1295, x_1340); +if (lean_is_scalar(x_1339)) { + x_1342 = lean_alloc_ctor(0, 2, 0); +} else { + x_1342 = x_1339; +} +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1338); +return x_1342; +} +case 9: +{ +lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; +x_1343 = lean_ctor_get(x_1288, 1); +lean_inc(x_1343); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1344 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1344 = lean_box(0); +} +x_1345 = lean_ctor_get(x_1294, 1); +lean_inc(x_1345); +lean_dec(x_1294); +x_1346 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_1295, x_1345); +if (lean_is_scalar(x_1344)) { + x_1347 = lean_alloc_ctor(0, 2, 0); +} else { + x_1347 = x_1344; +} +lean_ctor_set(x_1347, 0, x_1346); +lean_ctor_set(x_1347, 1, x_1343); +return x_1347; +} +case 10: +{ +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; +x_1348 = lean_ctor_get(x_1288, 1); +lean_inc(x_1348); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1349 = x_1288; +} else { + lean_dec_ref(x_1288); + x_1349 = lean_box(0); +} +x_1350 = lean_ctor_get(x_1294, 1); +lean_inc(x_1350); +lean_dec(x_1294); +x_1351 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_1295, x_1350); +if (lean_is_scalar(x_1349)) { + x_1352 = lean_alloc_ctor(0, 2, 0); +} else { + x_1352 = x_1349; +} +lean_ctor_set(x_1352, 0, x_1351); +lean_ctor_set(x_1352, 1, x_1348); +return x_1352; +} +case 11: +{ +lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; +x_1353 = lean_ctor_get(x_1288, 1); +lean_inc(x_1353); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1354 = x_1288; +} else { + lean_dec_ref(x_1288); x_1354 = lean_box(0); } -x_1355 = lean_ctor_get(x_1324, 1); +x_1355 = lean_ctor_get(x_1294, 1); lean_inc(x_1355); -lean_dec(x_1324); -x_1356 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_1325, x_1355); +lean_dec(x_1294); +x_1356 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_1295, x_1355); if (lean_is_scalar(x_1354)) { x_1357 = lean_alloc_ctor(0, 2, 0); } else { @@ -19027,23 +19322,23 @@ lean_ctor_set(x_1357, 0, x_1356); lean_ctor_set(x_1357, 1, x_1353); return x_1357; } -case 6: +default: { lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; -x_1358 = lean_ctor_get(x_1318, 1); +x_1358 = lean_ctor_get(x_1288, 1); lean_inc(x_1358); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1359 = x_1318; +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1359 = x_1288; } else { - lean_dec_ref(x_1318); + lean_dec_ref(x_1288); x_1359 = lean_box(0); } -x_1360 = lean_ctor_get(x_1324, 1); +x_1360 = lean_ctor_get(x_1294, 1); lean_inc(x_1360); -lean_dec(x_1324); -x_1361 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_1325, x_1360); +lean_dec(x_1294); +x_1361 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_1295, x_1360); if (lean_is_scalar(x_1359)) { x_1362 = lean_alloc_ctor(0, 2, 0); } else { @@ -19053,200 +19348,44 @@ lean_ctor_set(x_1362, 0, x_1361); lean_ctor_set(x_1362, 1, x_1358); return x_1362; } -case 7: -{ -lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; -x_1363 = lean_ctor_get(x_1318, 1); -lean_inc(x_1363); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1364 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1364 = lean_box(0); -} -x_1365 = lean_ctor_get(x_1324, 1); -lean_inc(x_1365); -lean_dec(x_1324); -x_1366 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_1325, x_1365); -if (lean_is_scalar(x_1364)) { - x_1367 = lean_alloc_ctor(0, 2, 0); -} else { - x_1367 = x_1364; -} -lean_ctor_set(x_1367, 0, x_1366); -lean_ctor_set(x_1367, 1, x_1363); -return x_1367; -} -case 8: -{ -lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; -x_1368 = lean_ctor_get(x_1318, 1); -lean_inc(x_1368); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1369 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1369 = lean_box(0); -} -x_1370 = lean_ctor_get(x_1324, 1); -lean_inc(x_1370); -lean_dec(x_1324); -x_1371 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_1325, x_1370); -if (lean_is_scalar(x_1369)) { - x_1372 = lean_alloc_ctor(0, 2, 0); -} else { - x_1372 = x_1369; -} -lean_ctor_set(x_1372, 0, x_1371); -lean_ctor_set(x_1372, 1, x_1368); -return x_1372; -} -case 9: -{ -lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; -x_1373 = lean_ctor_get(x_1318, 1); -lean_inc(x_1373); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1374 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1374 = lean_box(0); -} -x_1375 = lean_ctor_get(x_1324, 1); -lean_inc(x_1375); -lean_dec(x_1324); -x_1376 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_1325, x_1375); -if (lean_is_scalar(x_1374)) { - x_1377 = lean_alloc_ctor(0, 2, 0); -} else { - x_1377 = x_1374; -} -lean_ctor_set(x_1377, 0, x_1376); -lean_ctor_set(x_1377, 1, x_1373); -return x_1377; -} -case 10: -{ -lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; -x_1378 = lean_ctor_get(x_1318, 1); -lean_inc(x_1378); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1379 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1379 = lean_box(0); -} -x_1380 = lean_ctor_get(x_1324, 1); -lean_inc(x_1380); -lean_dec(x_1324); -x_1381 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_1325, x_1380); -if (lean_is_scalar(x_1379)) { - x_1382 = lean_alloc_ctor(0, 2, 0); -} else { - x_1382 = x_1379; -} -lean_ctor_set(x_1382, 0, x_1381); -lean_ctor_set(x_1382, 1, x_1378); -return x_1382; -} -case 11: -{ -lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; -x_1383 = lean_ctor_get(x_1318, 1); -lean_inc(x_1383); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1384 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1384 = lean_box(0); -} -x_1385 = lean_ctor_get(x_1324, 1); -lean_inc(x_1385); -lean_dec(x_1324); -x_1386 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_1325, x_1385); -if (lean_is_scalar(x_1384)) { - x_1387 = lean_alloc_ctor(0, 2, 0); -} else { - x_1387 = x_1384; -} -lean_ctor_set(x_1387, 0, x_1386); -lean_ctor_set(x_1387, 1, x_1383); -return x_1387; -} -default: -{ -lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; -x_1388 = lean_ctor_get(x_1318, 1); -lean_inc(x_1388); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1389 = x_1318; -} else { - lean_dec_ref(x_1318); - x_1389 = lean_box(0); -} -x_1390 = lean_ctor_get(x_1324, 1); -lean_inc(x_1390); -lean_dec(x_1324); -x_1391 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_1325, x_1390); -if (lean_is_scalar(x_1389)) { - x_1392 = lean_alloc_ctor(0, 2, 0); -} else { - x_1392 = x_1389; -} -lean_ctor_set(x_1392, 0, x_1391); -lean_ctor_set(x_1392, 1, x_1388); -return x_1392; -} } } } else { -lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_dec(x_2); -x_1393 = lean_ctor_get(x_1318, 0); -lean_inc(x_1393); -x_1394 = lean_ctor_get(x_1318, 1); -lean_inc(x_1394); -if (lean_is_exclusive(x_1318)) { - lean_ctor_release(x_1318, 0); - lean_ctor_release(x_1318, 1); - x_1395 = x_1318; +x_1363 = lean_ctor_get(x_1288, 0); +lean_inc(x_1363); +x_1364 = lean_ctor_get(x_1288, 1); +lean_inc(x_1364); +if (lean_is_exclusive(x_1288)) { + lean_ctor_release(x_1288, 0); + lean_ctor_release(x_1288, 1); + x_1365 = x_1288; } else { - lean_dec_ref(x_1318); - x_1395 = lean_box(0); + lean_dec_ref(x_1288); + x_1365 = lean_box(0); } -if (lean_is_scalar(x_1395)) { - x_1396 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1365)) { + x_1366 = lean_alloc_ctor(1, 2, 0); } else { - x_1396 = x_1395; + x_1366 = x_1365; } -lean_ctor_set(x_1396, 0, x_1393); -lean_ctor_set(x_1396, 1, x_1394); -return x_1396; +lean_ctor_set(x_1366, 0, x_1363); +lean_ctor_set(x_1366, 1, x_1364); +return x_1366; } } else { -lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; -lean_dec(x_1314); +lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; +lean_dec(x_1284); lean_dec(x_1); -x_1397 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1398 = l_unreachable_x21___rarg(x_1397); -x_1399 = lean_apply_2(x_1398, x_2, x_3); -return x_1399; +x_1367 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1368 = l_unreachable_x21___rarg(x_1367); +x_1369 = lean_apply_2(x_1368, x_2, x_3); +return x_1369; } } } @@ -19256,1070 +19395,813 @@ return x_1399; } else { -lean_object* x_1400; size_t x_1401; lean_object* x_1402; uint8_t x_1403; -x_1400 = lean_ctor_get(x_117, 1); -x_1401 = lean_ctor_get_usize(x_117, 2); -lean_inc(x_1400); -lean_dec(x_117); -x_1402 = l_Lean_mkAppStx___closed__1; -x_1403 = lean_string_dec_eq(x_1400, x_1402); -lean_dec(x_1400); +lean_object* x_1370; size_t x_1371; lean_object* x_1372; uint8_t x_1373; +x_1370 = lean_ctor_get(x_26, 1); +x_1371 = lean_ctor_get_usize(x_26, 2); +lean_inc(x_1370); +lean_dec(x_26); +x_1372 = l_Lean_mkAppStx___closed__1; +x_1373 = lean_string_dec_eq(x_1370, x_1372); +lean_dec(x_1370); +if (x_1373 == 0) +{ +lean_object* x_1374; +lean_free_object(x_25); +lean_dec(x_34); +lean_free_object(x_15); +lean_dec(x_31); +lean_dec(x_28); +lean_dec(x_4); +x_1374 = lean_box(0); +x_6 = x_1374; +goto block_14; +} +else +{ +lean_object* x_1375; lean_object* x_1376; uint8_t x_1377; +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_1375 = x_5; +} else { + lean_dec_ref(x_5); + x_1375 = lean_box(0); +} +x_1376 = l_Lean_mkAppStx___closed__3; +x_1377 = lean_string_dec_eq(x_34, x_1376); +if (x_1377 == 0) +{ +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_dec(x_4); +x_1378 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1378, 0, x_27); +lean_ctor_set(x_1378, 1, x_1372); +lean_ctor_set_usize(x_1378, 2, x_1371); +lean_ctor_set(x_25, 0, x_1378); +if (lean_is_scalar(x_1375)) { + x_1379 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1379 = x_1375; +} +lean_ctor_set(x_1379, 0, x_15); +lean_ctor_set(x_1379, 1, x_28); +lean_ctor_set_usize(x_1379, 2, x_30); +x_1380 = l_System_FilePath_dirName___closed__1; +x_1381 = l_Lean_Name_toStringWithSep___main(x_1380, x_1379); +x_1382 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1382, 0, x_1381); +x_1383 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1383, 0, x_1382); +x_1384 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1385 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1385, 0, x_1384); +lean_ctor_set(x_1385, 1, x_1383); +x_1386 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1385, x_2, x_3); +lean_dec(x_1); +return x_1386; +} +else +{ +lean_object* x_1387; uint8_t x_1388; +lean_dec(x_34); +x_1387 = l_Lean_mkAppStx___closed__5; +x_1388 = lean_string_dec_eq(x_31, x_1387); +if (x_1388 == 0) +{ +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_dec(x_4); +x_1389 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1389, 0, x_27); +lean_ctor_set(x_1389, 1, x_1372); +lean_ctor_set_usize(x_1389, 2, x_1371); +lean_ctor_set(x_25, 1, x_1376); +lean_ctor_set(x_25, 0, x_1389); +if (lean_is_scalar(x_1375)) { + x_1390 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1390 = x_1375; +} +lean_ctor_set(x_1390, 0, x_15); +lean_ctor_set(x_1390, 1, x_28); +lean_ctor_set_usize(x_1390, 2, x_30); +x_1391 = l_System_FilePath_dirName___closed__1; +x_1392 = l_Lean_Name_toStringWithSep___main(x_1391, x_1390); +x_1393 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1393, 0, x_1392); +x_1394 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1394, 0, x_1393); +x_1395 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1396 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1396, 0, x_1395); +lean_ctor_set(x_1396, 1, x_1394); +x_1397 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1396, x_2, x_3); +lean_dec(x_1); +return x_1397; +} +else +{ +lean_object* x_1398; uint8_t x_1399; +lean_dec(x_31); +x_1398 = l_Lean_mkTermIdFromIdent___closed__1; +x_1399 = lean_string_dec_eq(x_28, x_1398); +if (x_1399 == 0) +{ +lean_object* x_1400; uint8_t x_1401; +x_1400 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1401 = lean_string_dec_eq(x_28, x_1400); +if (x_1401 == 0) +{ +lean_object* x_1402; uint8_t x_1403; +x_1402 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1403 = lean_string_dec_eq(x_28, x_1402); if (x_1403 == 0) { -lean_object* x_1404; -lean_free_object(x_116); -lean_dec(x_125); -lean_free_object(x_106); -lean_dec(x_122); -lean_dec(x_119); -lean_dec(x_4); -x_1404 = lean_box(0); -x_97 = x_1404; -goto block_105; -} -else +lean_object* x_1404; uint8_t x_1405; +x_1404 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; +x_1405 = lean_string_dec_eq(x_28, x_1404); +if (x_1405 == 0) { -lean_object* x_1405; lean_object* x_1406; uint8_t x_1407; -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_1405 = x_96; -} else { - lean_dec_ref(x_96); - x_1405 = lean_box(0); -} -x_1406 = l_Lean_mkAppStx___closed__3; -x_1407 = lean_string_dec_eq(x_125, x_1406); +lean_object* x_1406; uint8_t x_1407; +x_1406 = l_Lean_mkAppStx___closed__7; +x_1407 = lean_string_dec_eq(x_28, x_1406); if (x_1407 == 0) { -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_dec(x_4); -x_1408 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1408, 0, x_118); -lean_ctor_set(x_1408, 1, x_1402); -lean_ctor_set_usize(x_1408, 2, x_1401); -lean_ctor_set(x_116, 0, x_1408); -if (lean_is_scalar(x_1405)) { - x_1409 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1409 = x_1405; -} -lean_ctor_set(x_1409, 0, x_106); -lean_ctor_set(x_1409, 1, x_119); -lean_ctor_set_usize(x_1409, 2, x_121); -x_1410 = l_System_FilePath_dirName___closed__1; -x_1411 = l_Lean_Name_toStringWithSep___main(x_1410, x_1409); -x_1412 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1412, 0, x_1411); -x_1413 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1413, 0, x_1412); -x_1414 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_1415 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1415, 0, x_1414); -lean_ctor_set(x_1415, 1, x_1413); -x_1416 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1415, x_2, x_3); -lean_dec(x_1); -return x_1416; -} -else +lean_object* x_1408; uint8_t x_1409; +x_1408 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1409 = lean_string_dec_eq(x_28, x_1408); +if (x_1409 == 0) { -lean_object* x_1417; uint8_t x_1418; -lean_dec(x_125); -x_1417 = l_Lean_mkAppStx___closed__5; -x_1418 = lean_string_dec_eq(x_122, x_1417); -if (x_1418 == 0) +lean_object* x_1410; uint8_t x_1411; +x_1410 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1411 = lean_string_dec_eq(x_28, x_1410); +if (x_1411 == 0) { -lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; +lean_object* x_1412; uint8_t x_1413; +x_1412 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1413 = lean_string_dec_eq(x_28, x_1412); +if (x_1413 == 0) +{ +lean_object* x_1414; uint8_t x_1415; +x_1414 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1415 = lean_string_dec_eq(x_28, x_1414); +if (x_1415 == 0) +{ +lean_object* x_1416; uint8_t x_1417; lean_dec(x_4); -x_1419 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1419, 0, x_118); -lean_ctor_set(x_1419, 1, x_1402); -lean_ctor_set_usize(x_1419, 2, x_1401); -lean_ctor_set(x_116, 1, x_1406); -lean_ctor_set(x_116, 0, x_1419); -if (lean_is_scalar(x_1405)) { - x_1420 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_1416 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1417 = lean_string_dec_eq(x_28, x_1416); +if (x_1417 == 0) +{ +lean_object* x_1418; uint8_t x_1419; +x_1418 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1419 = lean_string_dec_eq(x_28, x_1418); +if (x_1419 == 0) +{ +lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; +x_1420 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1420, 0, x_27); +lean_ctor_set(x_1420, 1, x_1372); +lean_ctor_set_usize(x_1420, 2, x_1371); +lean_ctor_set(x_25, 1, x_1376); +lean_ctor_set(x_25, 0, x_1420); +lean_ctor_set(x_15, 1, x_1387); +if (lean_is_scalar(x_1375)) { + x_1421 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1420 = x_1405; + x_1421 = x_1375; } -lean_ctor_set(x_1420, 0, x_106); -lean_ctor_set(x_1420, 1, x_119); -lean_ctor_set_usize(x_1420, 2, x_121); -x_1421 = l_System_FilePath_dirName___closed__1; -x_1422 = l_Lean_Name_toStringWithSep___main(x_1421, x_1420); -x_1423 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1423, 0, x_1422); -x_1424 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1421, 0, x_15); +lean_ctor_set(x_1421, 1, x_28); +lean_ctor_set_usize(x_1421, 2, x_30); +x_1422 = l_System_FilePath_dirName___closed__1; +x_1423 = l_Lean_Name_toStringWithSep___main(x_1422, x_1421); +x_1424 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_1424, 0, x_1423); -x_1425 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_1426 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1426, 0, x_1425); -lean_ctor_set(x_1426, 1, x_1424); -x_1427 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1426, x_2, x_3); +x_1425 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1425, 0, x_1424); +x_1426 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1427 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1427, 0, x_1426); +lean_ctor_set(x_1427, 1, x_1425); +x_1428 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1427, x_2, x_3); lean_dec(x_1); -return x_1427; +return x_1428; } else { -lean_object* x_1428; uint8_t x_1429; -lean_dec(x_122); -x_1428 = l_Lean_mkTermIdFromIdent___closed__1; -x_1429 = lean_string_dec_eq(x_119, x_1428); -if (x_1429 == 0) +lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_1429 = lean_unsigned_to_nat(0u); +x_1430 = l_Lean_Syntax_getArg(x_1, x_1429); +lean_dec(x_1); +x_1431 = l_Lean_numLitKind; +x_1432 = l_Lean_Syntax_isNatLitAux(x_1431, x_1430); +lean_dec(x_1430); +if (lean_obj_tag(x_1432) == 0) { -lean_object* x_1430; uint8_t x_1431; -x_1430 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1431 = lean_string_dec_eq(x_119, x_1430); -if (x_1431 == 0) +lean_object* x_1433; lean_object* x_1434; +x_1433 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_1434 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1434, 0, x_1433); +lean_ctor_set(x_1434, 1, x_3); +return x_1434; +} +else { -lean_object* x_1432; uint8_t x_1433; -x_1432 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1433 = lean_string_dec_eq(x_119, x_1432); -if (x_1433 == 0) +lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; +x_1435 = lean_ctor_get(x_1432, 0); +lean_inc(x_1435); +lean_dec(x_1432); +x_1436 = l_Lean_mkNatLit(x_1435); +x_1437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1437, 0, x_1436); +lean_ctor_set(x_1437, 1, x_3); +return x_1437; +} +} +} +else { -lean_object* x_1434; uint8_t x_1435; -x_1434 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; -x_1435 = lean_string_dec_eq(x_119, x_1434); -if (x_1435 == 0) +lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_1438 = lean_unsigned_to_nat(0u); +x_1439 = l_Lean_Syntax_getArg(x_1, x_1438); +lean_dec(x_1); +x_1440 = l_Lean_Syntax_isStrLit_x3f(x_1439); +lean_dec(x_1439); +if (lean_obj_tag(x_1440) == 0) { -lean_object* x_1436; uint8_t x_1437; -x_1436 = l_Lean_mkAppStx___closed__7; -x_1437 = lean_string_dec_eq(x_119, x_1436); -if (x_1437 == 0) +lean_object* x_1441; lean_object* x_1442; +x_1441 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; +x_1442 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1442, 0, x_1441); +lean_ctor_set(x_1442, 1, x_3); +return x_1442; +} +else { -lean_object* x_1438; uint8_t x_1439; -x_1438 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1439 = lean_string_dec_eq(x_119, x_1438); -if (x_1439 == 0) +lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; +x_1443 = lean_ctor_get(x_1440, 0); +lean_inc(x_1443); +lean_dec(x_1440); +x_1444 = l_Lean_mkStrLit(x_1443); +x_1445 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1445, 0, x_1444); +lean_ctor_set(x_1445, 1, x_3); +return x_1445; +} +} +} +else { -lean_object* x_1440; uint8_t x_1441; -x_1440 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_1441 = lean_string_dec_eq(x_119, x_1440); -if (x_1441 == 0) -{ -lean_object* x_1442; uint8_t x_1443; -x_1442 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1443 = lean_string_dec_eq(x_119, x_1442); -if (x_1443 == 0) -{ -lean_object* x_1444; uint8_t x_1445; -x_1444 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1445 = lean_string_dec_eq(x_119, x_1444); -if (x_1445 == 0) -{ -lean_object* x_1446; uint8_t x_1447; +lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_1446 = l_Lean_Syntax_inhabited; +x_1447 = lean_unsigned_to_nat(0u); +x_1448 = lean_array_get(x_1446, x_4, x_1447); +x_1449 = lean_unsigned_to_nat(2u); +x_1450 = lean_array_get(x_1446, x_4, x_1449); lean_dec(x_4); -x_1446 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1447 = lean_string_dec_eq(x_119, x_1446); -if (x_1447 == 0) -{ -lean_object* x_1448; uint8_t x_1449; -x_1448 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1449 = lean_string_dec_eq(x_119, x_1448); -if (x_1449 == 0) -{ -lean_object* x_1450; lean_object* x_1451; 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; -x_1450 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1450, 0, x_118); -lean_ctor_set(x_1450, 1, x_1402); -lean_ctor_set_usize(x_1450, 2, x_1401); -lean_ctor_set(x_116, 1, x_1406); -lean_ctor_set(x_116, 0, x_1450); -lean_ctor_set(x_106, 1, x_1417); -if (lean_is_scalar(x_1405)) { - x_1451 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1451 = x_1405; +x_1451 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_1451, 0, x_27); +lean_closure_set(x_1451, 1, x_1448); +lean_closure_set(x_1451, 2, x_1450); +x_1452 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_1453 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1453, 0, x_1452); +lean_closure_set(x_1453, 1, x_1451); +x_1454 = l_Lean_Unhygienic_run___rarg(x_1453); +x_1 = x_1454; +goto _start; } -lean_ctor_set(x_1451, 0, x_106); -lean_ctor_set(x_1451, 1, x_119); -lean_ctor_set_usize(x_1451, 2, x_121); -x_1452 = l_System_FilePath_dirName___closed__1; -x_1453 = l_Lean_Name_toStringWithSep___main(x_1452, x_1451); -x_1454 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1454, 0, x_1453); -x_1455 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1455, 0, x_1454); -x_1456 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_1457 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1457, 0, x_1456); -lean_ctor_set(x_1457, 1, x_1455); -x_1458 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1457, x_2, x_3); +} +else +{ +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_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -return x_1458; +x_1456 = l_Lean_Syntax_inhabited; +x_1457 = lean_unsigned_to_nat(0u); +x_1458 = lean_array_get(x_1456, x_4, x_1457); +x_1459 = lean_unsigned_to_nat(2u); +x_1460 = lean_array_get(x_1456, x_4, x_1459); +lean_dec(x_4); +x_1461 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_1461, 0, x_27); +lean_closure_set(x_1461, 1, x_1458); +lean_closure_set(x_1461, 2, x_1460); +x_1462 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_1463 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1463, 0, x_1462); +lean_closure_set(x_1463, 1, x_1461); +x_1464 = l_Lean_Unhygienic_run___rarg(x_1463); +x_1 = x_1464; +goto _start; +} } else { -lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_2); -x_1459 = lean_unsigned_to_nat(0u); -x_1460 = l_Lean_Syntax_getArg(x_1, x_1459); +lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; uint8_t x_1472; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_1461 = l_Lean_numLitKind; -x_1462 = l_Lean_Syntax_isNatLitAux(x_1461, x_1460); -lean_dec(x_1460); -if (lean_obj_tag(x_1462) == 0) -{ -lean_object* x_1463; lean_object* x_1464; -x_1463 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; -x_1464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1464, 0, x_1463); -lean_ctor_set(x_1464, 1, x_3); -return x_1464; -} -else -{ -lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; -x_1465 = lean_ctor_get(x_1462, 0); -lean_inc(x_1465); -lean_dec(x_1462); -x_1466 = l_Lean_mkNatLit(x_1465); -x_1467 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1467, 0, x_1466); -lean_ctor_set(x_1467, 1, x_3); -return x_1467; -} -} -} -else -{ -lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_2); -x_1468 = lean_unsigned_to_nat(0u); -x_1469 = l_Lean_Syntax_getArg(x_1, x_1468); -lean_dec(x_1); -x_1470 = l_Lean_Syntax_isStrLit_x3f(x_1469); -lean_dec(x_1469); -if (lean_obj_tag(x_1470) == 0) -{ -lean_object* x_1471; lean_object* x_1472; -x_1471 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; -x_1472 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1472, 0, x_1471); -lean_ctor_set(x_1472, 1, x_3); -return x_1472; -} -else -{ -lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; -x_1473 = lean_ctor_get(x_1470, 0); -lean_inc(x_1473); +x_1466 = l_Lean_Syntax_inhabited; +x_1467 = lean_unsigned_to_nat(1u); +x_1468 = lean_array_get(x_1466, x_4, x_1467); +lean_dec(x_4); +x_1469 = l_Lean_Syntax_getArgs(x_1468); +lean_dec(x_1468); +x_1470 = lean_array_get_size(x_1469); +x_1471 = lean_unsigned_to_nat(0u); +x_1472 = lean_nat_dec_eq(x_1470, x_1471); lean_dec(x_1470); -x_1474 = l_Lean_mkStrLit(x_1473); -x_1475 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1475, 0, x_1474); -lean_ctor_set(x_1475, 1, x_3); -return x_1475; +if (x_1472 == 0) +{ +lean_object* x_1473; +x_1473 = lean_array_get(x_1466, x_1469, x_1471); +lean_dec(x_1469); +x_1 = x_1473; +goto _start; +} +else +{ +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_dec(x_1469); +lean_dec(x_2); +x_1475 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1476 = lean_name_mk_string(x_27, x_1475); +x_1477 = l_Lean_Elab_Term_elabParen___closed__4; +x_1478 = lean_name_mk_string(x_1476, x_1477); +x_1479 = lean_box(0); +x_1480 = l_Lean_mkConst(x_1478, x_1479); +x_1481 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1481, 0, x_1480); +lean_ctor_set(x_1481, 1, x_3); +return x_1481; } } } else { -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_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +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_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_1476 = l_Lean_Syntax_inhabited; -x_1477 = lean_unsigned_to_nat(0u); -x_1478 = lean_array_get(x_1476, x_4, x_1477); -x_1479 = lean_unsigned_to_nat(2u); -x_1480 = lean_array_get(x_1476, x_4, x_1479); +x_1482 = l_Lean_Syntax_inhabited; +x_1483 = lean_unsigned_to_nat(2u); +x_1484 = lean_array_get(x_1482, x_4, x_1483); +x_1485 = lean_unsigned_to_nat(4u); +x_1486 = lean_array_get(x_1482, x_4, x_1485); +x_1487 = lean_unsigned_to_nat(6u); +x_1488 = lean_array_get(x_1482, x_4, x_1487); lean_dec(x_4); -x_1481 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_1481, 0, x_118); -lean_closure_set(x_1481, 1, x_1478); -lean_closure_set(x_1481, 2, x_1480); -x_1482 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_1483 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1483, 0, x_1482); -lean_closure_set(x_1483, 1, x_1481); -x_1484 = l_Lean_Unhygienic_run___rarg(x_1483); -x_1 = x_1484; +x_1489 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1489, 0, x_27); +lean_closure_set(x_1489, 1, x_1484); +lean_closure_set(x_1489, 2, x_1486); +lean_closure_set(x_1489, 3, x_1488); +x_1490 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_1491 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_1491, 0, x_1490); +lean_closure_set(x_1491, 1, x_1489); +x_1492 = l_Lean_Unhygienic_run___rarg(x_1491); +x_1 = x_1492; goto _start; } } else { -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_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_1486 = l_Lean_Syntax_inhabited; -x_1487 = lean_unsigned_to_nat(0u); -x_1488 = lean_array_get(x_1486, x_4, x_1487); -x_1489 = lean_unsigned_to_nat(2u); -x_1490 = lean_array_get(x_1486, x_4, x_1489); +x_1494 = l_Lean_Syntax_inhabited; +x_1495 = lean_unsigned_to_nat(0u); +x_1496 = lean_array_get(x_1494, x_4, x_1495); +lean_inc(x_2); +x_1497 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1496, x_2, x_3); +if (lean_obj_tag(x_1497) == 0) +{ +lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; +x_1498 = lean_ctor_get(x_1497, 0); +lean_inc(x_1498); +x_1499 = lean_ctor_get(x_1497, 1); +lean_inc(x_1499); +lean_dec(x_1497); +x_1500 = lean_unsigned_to_nat(1u); +x_1501 = lean_array_get(x_1494, x_4, x_1500); lean_dec(x_4); -x_1491 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_1491, 0, x_118); -lean_closure_set(x_1491, 1, x_1488); -lean_closure_set(x_1491, 2, x_1490); -x_1492 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_1493 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1493, 0, x_1492); -lean_closure_set(x_1493, 1, x_1491); -x_1494 = l_Lean_Unhygienic_run___rarg(x_1493); -x_1 = x_1494; -goto _start; +x_1502 = l_Lean_Syntax_getArgs(x_1501); +lean_dec(x_1501); +x_1503 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_1495, x_1502, x_2, x_1499); +if (lean_obj_tag(x_1503) == 0) +{ +lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; +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; +} else { + lean_dec_ref(x_1503); + x_1506 = lean_box(0); } +x_1507 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1504, x_1504, x_1495, x_1498); +lean_dec(x_1504); +if (lean_is_scalar(x_1506)) { + x_1508 = lean_alloc_ctor(0, 2, 0); +} else { + x_1508 = x_1506; +} +lean_ctor_set(x_1508, 0, x_1507); +lean_ctor_set(x_1508, 1, x_1505); +return x_1508; } else { -lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; uint8_t x_1502; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1496 = l_Lean_Syntax_inhabited; -x_1497 = lean_unsigned_to_nat(1u); -x_1498 = lean_array_get(x_1496, x_4, x_1497); -lean_dec(x_4); -x_1499 = l_Lean_Syntax_getArgs(x_1498); +lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_dec(x_1498); -x_1500 = lean_array_get_size(x_1499); -x_1501 = lean_unsigned_to_nat(0u); -x_1502 = lean_nat_dec_eq(x_1500, x_1501); -lean_dec(x_1500); -if (x_1502 == 0) -{ -lean_object* x_1503; -x_1503 = lean_array_get(x_1496, x_1499, x_1501); -lean_dec(x_1499); -x_1 = x_1503; -goto _start; +x_1509 = lean_ctor_get(x_1503, 0); +lean_inc(x_1509); +x_1510 = lean_ctor_get(x_1503, 1); +lean_inc(x_1510); +if (lean_is_exclusive(x_1503)) { + lean_ctor_release(x_1503, 0); + lean_ctor_release(x_1503, 1); + x_1511 = x_1503; +} else { + lean_dec_ref(x_1503); + x_1511 = lean_box(0); } -else -{ -lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; -lean_dec(x_1499); -lean_dec(x_2); -x_1505 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1506 = lean_name_mk_string(x_118, x_1505); -x_1507 = l_Lean_Elab_Term_elabParen___closed__4; -x_1508 = lean_name_mk_string(x_1506, x_1507); -x_1509 = lean_box(0); -x_1510 = l_Lean_mkConst(x_1508, x_1509); -x_1511 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1511, 0, x_1510); -lean_ctor_set(x_1511, 1, x_3); -return x_1511; +if (lean_is_scalar(x_1511)) { + x_1512 = lean_alloc_ctor(1, 2, 0); +} else { + x_1512 = x_1511; } +lean_ctor_set(x_1512, 0, x_1509); +lean_ctor_set(x_1512, 1, x_1510); +return x_1512; } } else { -lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1512 = l_Lean_Syntax_inhabited; -x_1513 = lean_unsigned_to_nat(2u); -x_1514 = lean_array_get(x_1512, x_4, x_1513); -x_1515 = lean_unsigned_to_nat(4u); -x_1516 = lean_array_get(x_1512, x_4, x_1515); -x_1517 = lean_unsigned_to_nat(6u); -x_1518 = lean_array_get(x_1512, x_4, x_1517); +lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_dec(x_4); -x_1519 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_1519, 0, x_118); -lean_closure_set(x_1519, 1, x_1514); -lean_closure_set(x_1519, 2, x_1516); -lean_closure_set(x_1519, 3, x_1518); -x_1520 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_1521 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_1521, 0, x_1520); -lean_closure_set(x_1521, 1, x_1519); -x_1522 = l_Lean_Unhygienic_run___rarg(x_1521); -x_1 = x_1522; -goto _start; +lean_dec(x_2); +x_1513 = lean_ctor_get(x_1497, 0); +lean_inc(x_1513); +x_1514 = lean_ctor_get(x_1497, 1); +lean_inc(x_1514); +if (lean_is_exclusive(x_1497)) { + lean_ctor_release(x_1497, 0); + lean_ctor_release(x_1497, 1); + x_1515 = x_1497; +} else { + lean_dec_ref(x_1497); + x_1515 = lean_box(0); +} +if (lean_is_scalar(x_1515)) { + x_1516 = lean_alloc_ctor(1, 2, 0); +} else { + x_1516 = x_1515; +} +lean_ctor_set(x_1516, 0, x_1513); +lean_ctor_set(x_1516, 1, x_1514); +return x_1516; +} } } else { -lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1524 = l_Lean_Syntax_inhabited; -x_1525 = lean_unsigned_to_nat(0u); -x_1526 = lean_array_get(x_1524, x_4, x_1525); -lean_inc(x_2); -x_1527 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1526, x_2, x_3); -if (lean_obj_tag(x_1527) == 0) +lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; uint8_t x_1520; lean_object* x_1521; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_1517 = l_Lean_Syntax_inhabited; +x_1518 = lean_unsigned_to_nat(1u); +x_1519 = lean_array_get(x_1517, x_4, x_1518); +x_1520 = 1; +x_1521 = l_Lean_Syntax_isSimpleTermId_x3f(x_1519, x_1520); +if (lean_obj_tag(x_1521) == 0) { -lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; -x_1528 = lean_ctor_get(x_1527, 0); -lean_inc(x_1528); -x_1529 = lean_ctor_get(x_1527, 1); +lean_object* x_1522; lean_object* x_1523; +lean_dec(x_4); +x_1522 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; +x_1523 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1522, x_2, x_3); +lean_dec(x_1); +return x_1523; +} +else +{ +lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; +lean_dec(x_1); +x_1524 = lean_ctor_get(x_1521, 0); +lean_inc(x_1524); +lean_dec(x_1521); +x_1525 = l_Lean_Syntax_getId(x_1524); +lean_dec(x_1524); +x_1526 = lean_unsigned_to_nat(3u); +x_1527 = lean_array_get(x_1517, x_4, x_1526); +lean_inc(x_2); +x_1528 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1527, x_2, x_3); +if (lean_obj_tag(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_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; uint8_t x_1548; uint8_t 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; +x_1529 = lean_ctor_get(x_1528, 0); lean_inc(x_1529); -lean_dec(x_1527); -x_1530 = lean_unsigned_to_nat(1u); -x_1531 = lean_array_get(x_1524, x_4, x_1530); -lean_dec(x_4); -x_1532 = l_Lean_Syntax_getArgs(x_1531); -lean_dec(x_1531); -x_1533 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_1525, x_1532, x_2, x_1529); -if (lean_obj_tag(x_1533) == 0) -{ -lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; -x_1534 = lean_ctor_get(x_1533, 0); -lean_inc(x_1534); -x_1535 = lean_ctor_get(x_1533, 1); -lean_inc(x_1535); -if (lean_is_exclusive(x_1533)) { - lean_ctor_release(x_1533, 0); - lean_ctor_release(x_1533, 1); - x_1536 = x_1533; -} else { - lean_dec_ref(x_1533); - x_1536 = lean_box(0); -} -x_1537 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_1534, x_1534, x_1525, x_1528); -lean_dec(x_1534); -if (lean_is_scalar(x_1536)) { - x_1538 = lean_alloc_ctor(0, 2, 0); -} else { - x_1538 = x_1536; -} -lean_ctor_set(x_1538, 0, x_1537); -lean_ctor_set(x_1538, 1, x_1535); -return x_1538; -} -else -{ -lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; +x_1530 = lean_ctor_get(x_1528, 1); +lean_inc(x_1530); lean_dec(x_1528); -x_1539 = lean_ctor_get(x_1533, 0); +x_1531 = l_Lean_Elab_Term_getLCtx(x_2, x_1530); +x_1532 = lean_ctor_get(x_1531, 0); +lean_inc(x_1532); +x_1533 = lean_ctor_get(x_1531, 1); +lean_inc(x_1533); +lean_dec(x_1531); +x_1534 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_1525, 2); +x_1535 = lean_local_ctx_mk_let_decl(x_1532, x_1525, x_1525, x_1534, x_1529); +x_1536 = lean_unsigned_to_nat(5u); +x_1537 = lean_array_get(x_1517, x_4, x_1536); +lean_dec(x_4); +x_1538 = lean_ctor_get(x_2, 0); +lean_inc(x_1538); +x_1539 = lean_ctor_get(x_2, 1); lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1533, 1); +x_1540 = lean_ctor_get(x_2, 2); lean_inc(x_1540); -if (lean_is_exclusive(x_1533)) { - lean_ctor_release(x_1533, 0); - lean_ctor_release(x_1533, 1); - x_1541 = x_1533; -} else { - lean_dec_ref(x_1533); - x_1541 = lean_box(0); -} -if (lean_is_scalar(x_1541)) { - x_1542 = lean_alloc_ctor(1, 2, 0); -} else { - x_1542 = x_1541; -} -lean_ctor_set(x_1542, 0, x_1539); -lean_ctor_set(x_1542, 1, x_1540); -return x_1542; -} -} -else -{ -lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; -lean_dec(x_4); -lean_dec(x_2); -x_1543 = lean_ctor_get(x_1527, 0); +x_1541 = lean_ctor_get(x_2, 3); +lean_inc(x_1541); +x_1542 = lean_ctor_get(x_2, 4); +lean_inc(x_1542); +x_1543 = lean_ctor_get(x_2, 5); lean_inc(x_1543); -x_1544 = lean_ctor_get(x_1527, 1); +x_1544 = lean_ctor_get(x_2, 6); lean_inc(x_1544); -if (lean_is_exclusive(x_1527)) { - lean_ctor_release(x_1527, 0); - lean_ctor_release(x_1527, 1); - x_1545 = x_1527; +x_1545 = lean_ctor_get(x_2, 7); +lean_inc(x_1545); +x_1546 = lean_ctor_get(x_2, 8); +lean_inc(x_1546); +x_1547 = lean_ctor_get(x_2, 9); +lean_inc(x_1547); +x_1548 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1549 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1550 = x_2; } else { - lean_dec_ref(x_1527); - x_1545 = lean_box(0); + lean_dec_ref(x_2); + x_1550 = lean_box(0); } -if (lean_is_scalar(x_1545)) { - x_1546 = lean_alloc_ctor(1, 2, 0); -} else { - x_1546 = x_1545; -} -lean_ctor_set(x_1546, 0, x_1543); -lean_ctor_set(x_1546, 1, x_1544); -return x_1546; -} -} -} -else -{ -lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; uint8_t x_1550; lean_object* x_1551; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_1547 = l_Lean_Syntax_inhabited; -x_1548 = lean_unsigned_to_nat(1u); -x_1549 = lean_array_get(x_1547, x_4, x_1548); -x_1550 = 1; -x_1551 = l_Lean_Syntax_isSimpleTermId_x3f(x_1549, x_1550); -if (lean_obj_tag(x_1551) == 0) -{ -lean_object* x_1552; lean_object* x_1553; -lean_dec(x_4); -x_1552 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; -x_1553 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1552, x_2, x_3); -lean_dec(x_1); -return x_1553; -} -else -{ -lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; -lean_dec(x_1); -x_1554 = lean_ctor_get(x_1551, 0); +x_1551 = lean_ctor_get(x_1538, 0); +lean_inc(x_1551); +x_1552 = lean_ctor_get(x_1538, 2); +lean_inc(x_1552); +x_1553 = lean_ctor_get(x_1538, 3); +lean_inc(x_1553); +x_1554 = lean_ctor_get(x_1538, 4); lean_inc(x_1554); -lean_dec(x_1551); -x_1555 = l_Lean_Syntax_getId(x_1554); -lean_dec(x_1554); -x_1556 = lean_unsigned_to_nat(3u); -x_1557 = lean_array_get(x_1547, x_4, x_1556); -lean_inc(x_2); -x_1558 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1557, x_2, x_3); +if (lean_is_exclusive(x_1538)) { + lean_ctor_release(x_1538, 0); + lean_ctor_release(x_1538, 1); + lean_ctor_release(x_1538, 2); + lean_ctor_release(x_1538, 3); + lean_ctor_release(x_1538, 4); + x_1555 = x_1538; +} else { + lean_dec_ref(x_1538); + x_1555 = lean_box(0); +} +lean_inc(x_1535); +if (lean_is_scalar(x_1555)) { + x_1556 = lean_alloc_ctor(0, 5, 0); +} else { + x_1556 = x_1555; +} +lean_ctor_set(x_1556, 0, x_1551); +lean_ctor_set(x_1556, 1, x_1535); +lean_ctor_set(x_1556, 2, x_1552); +lean_ctor_set(x_1556, 3, x_1553); +lean_ctor_set(x_1556, 4, x_1554); +if (lean_is_scalar(x_1550)) { + x_1557 = lean_alloc_ctor(0, 10, 2); +} else { + x_1557 = x_1550; +} +lean_ctor_set(x_1557, 0, x_1556); +lean_ctor_set(x_1557, 1, x_1539); +lean_ctor_set(x_1557, 2, x_1540); +lean_ctor_set(x_1557, 3, x_1541); +lean_ctor_set(x_1557, 4, x_1542); +lean_ctor_set(x_1557, 5, x_1543); +lean_ctor_set(x_1557, 6, x_1544); +lean_ctor_set(x_1557, 7, x_1545); +lean_ctor_set(x_1557, 8, x_1546); +lean_ctor_set(x_1557, 9, x_1547); +lean_ctor_set_uint8(x_1557, sizeof(void*)*10, x_1548); +lean_ctor_set_uint8(x_1557, sizeof(void*)*10 + 1, x_1549); +x_1558 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1537, x_1557, x_1533); if (lean_obj_tag(x_1558) == 0) { -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; uint8_t x_1578; uint8_t 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; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; +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; x_1559 = lean_ctor_get(x_1558, 0); lean_inc(x_1559); x_1560 = lean_ctor_get(x_1558, 1); lean_inc(x_1560); -lean_dec(x_1558); -x_1561 = l_Lean_Elab_Term_getLCtx(x_2, x_1560); -x_1562 = lean_ctor_get(x_1561, 0); -lean_inc(x_1562); -x_1563 = lean_ctor_get(x_1561, 1); -lean_inc(x_1563); -lean_dec(x_1561); -x_1564 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_1555, 2); -x_1565 = lean_local_ctx_mk_let_decl(x_1562, x_1555, x_1555, x_1564, x_1559); -x_1566 = lean_unsigned_to_nat(5u); -x_1567 = lean_array_get(x_1547, x_4, x_1566); -lean_dec(x_4); -x_1568 = lean_ctor_get(x_2, 0); -lean_inc(x_1568); -x_1569 = lean_ctor_get(x_2, 1); -lean_inc(x_1569); -x_1570 = lean_ctor_get(x_2, 2); -lean_inc(x_1570); -x_1571 = lean_ctor_get(x_2, 3); -lean_inc(x_1571); -x_1572 = lean_ctor_get(x_2, 4); -lean_inc(x_1572); -x_1573 = lean_ctor_get(x_2, 5); -lean_inc(x_1573); -x_1574 = lean_ctor_get(x_2, 6); -lean_inc(x_1574); -x_1575 = lean_ctor_get(x_2, 7); -lean_inc(x_1575); -x_1576 = lean_ctor_get(x_2, 8); -lean_inc(x_1576); -x_1577 = lean_ctor_get(x_2, 9); -lean_inc(x_1577); -x_1578 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1579 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_1580 = x_2; -} else { - lean_dec_ref(x_2); - x_1580 = lean_box(0); -} -x_1581 = lean_ctor_get(x_1568, 0); -lean_inc(x_1581); -x_1582 = lean_ctor_get(x_1568, 2); -lean_inc(x_1582); -x_1583 = lean_ctor_get(x_1568, 3); -lean_inc(x_1583); -x_1584 = lean_ctor_get(x_1568, 4); -lean_inc(x_1584); -if (lean_is_exclusive(x_1568)) { - lean_ctor_release(x_1568, 0); - lean_ctor_release(x_1568, 1); - lean_ctor_release(x_1568, 2); - lean_ctor_release(x_1568, 3); - lean_ctor_release(x_1568, 4); - x_1585 = x_1568; -} else { - lean_dec_ref(x_1568); - x_1585 = lean_box(0); -} -lean_inc(x_1565); -if (lean_is_scalar(x_1585)) { - x_1586 = lean_alloc_ctor(0, 5, 0); -} else { - x_1586 = x_1585; -} -lean_ctor_set(x_1586, 0, x_1581); -lean_ctor_set(x_1586, 1, x_1565); -lean_ctor_set(x_1586, 2, x_1582); -lean_ctor_set(x_1586, 3, x_1583); -lean_ctor_set(x_1586, 4, x_1584); -if (lean_is_scalar(x_1580)) { - x_1587 = lean_alloc_ctor(0, 10, 2); -} else { - x_1587 = x_1580; -} -lean_ctor_set(x_1587, 0, x_1586); -lean_ctor_set(x_1587, 1, x_1569); -lean_ctor_set(x_1587, 2, x_1570); -lean_ctor_set(x_1587, 3, x_1571); -lean_ctor_set(x_1587, 4, x_1572); -lean_ctor_set(x_1587, 5, x_1573); -lean_ctor_set(x_1587, 6, x_1574); -lean_ctor_set(x_1587, 7, x_1575); -lean_ctor_set(x_1587, 8, x_1576); -lean_ctor_set(x_1587, 9, x_1577); -lean_ctor_set_uint8(x_1587, sizeof(void*)*10, x_1578); -lean_ctor_set_uint8(x_1587, sizeof(void*)*10 + 1, x_1579); -x_1588 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1567, x_1587, x_1563); -if (lean_obj_tag(x_1588) == 0) -{ -lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; -x_1589 = lean_ctor_get(x_1588, 0); -lean_inc(x_1589); -x_1590 = lean_ctor_get(x_1588, 1); -lean_inc(x_1590); -if (lean_is_exclusive(x_1588)) { - lean_ctor_release(x_1588, 0); - lean_ctor_release(x_1588, 1); - x_1591 = x_1588; -} else { - lean_dec_ref(x_1588); - x_1591 = lean_box(0); -} -x_1592 = l_Lean_mkFVar(x_1555); -x_1593 = l_Lean_mkOptionalNode___closed__2; -x_1594 = lean_array_push(x_1593, x_1592); -x_1595 = l_Lean_LocalContext_mkLambda(x_1565, x_1594, x_1589); -lean_dec(x_1589); -lean_dec(x_1594); -if (lean_is_scalar(x_1591)) { - x_1596 = lean_alloc_ctor(0, 2, 0); -} else { - x_1596 = x_1591; -} -lean_ctor_set(x_1596, 0, x_1595); -lean_ctor_set(x_1596, 1, x_1590); -return x_1596; -} -else -{ -lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; -lean_dec(x_1565); -lean_dec(x_1555); -x_1597 = lean_ctor_get(x_1588, 0); -lean_inc(x_1597); -x_1598 = lean_ctor_get(x_1588, 1); -lean_inc(x_1598); -if (lean_is_exclusive(x_1588)) { - lean_ctor_release(x_1588, 0); - lean_ctor_release(x_1588, 1); - x_1599 = x_1588; -} else { - lean_dec_ref(x_1588); - x_1599 = lean_box(0); -} -if (lean_is_scalar(x_1599)) { - x_1600 = lean_alloc_ctor(1, 2, 0); -} else { - x_1600 = x_1599; -} -lean_ctor_set(x_1600, 0, x_1597); -lean_ctor_set(x_1600, 1, x_1598); -return x_1600; -} -} -else -{ -lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; -lean_dec(x_1555); -lean_dec(x_4); -lean_dec(x_2); -x_1601 = lean_ctor_get(x_1558, 0); -lean_inc(x_1601); -x_1602 = lean_ctor_get(x_1558, 1); -lean_inc(x_1602); if (lean_is_exclusive(x_1558)) { lean_ctor_release(x_1558, 0); lean_ctor_release(x_1558, 1); - x_1603 = x_1558; + x_1561 = x_1558; } else { lean_dec_ref(x_1558); - x_1603 = lean_box(0); + x_1561 = lean_box(0); } -if (lean_is_scalar(x_1603)) { - x_1604 = lean_alloc_ctor(1, 2, 0); +x_1562 = l_Lean_mkFVar(x_1525); +x_1563 = l_Lean_mkOptionalNode___closed__2; +x_1564 = lean_array_push(x_1563, x_1562); +x_1565 = l_Lean_LocalContext_mkLambda(x_1535, x_1564, x_1559); +lean_dec(x_1559); +lean_dec(x_1564); +if (lean_is_scalar(x_1561)) { + x_1566 = lean_alloc_ctor(0, 2, 0); } else { - x_1604 = x_1603; + x_1566 = x_1561; } -lean_ctor_set(x_1604, 0, x_1601); -lean_ctor_set(x_1604, 1, x_1602); -return x_1604; +lean_ctor_set(x_1566, 0, x_1565); +lean_ctor_set(x_1566, 1, x_1560); +return x_1566; } +else +{ +lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; +lean_dec(x_1535); +lean_dec(x_1525); +x_1567 = lean_ctor_get(x_1558, 0); +lean_inc(x_1567); +x_1568 = lean_ctor_get(x_1558, 1); +lean_inc(x_1568); +if (lean_is_exclusive(x_1558)) { + lean_ctor_release(x_1558, 0); + lean_ctor_release(x_1558, 1); + x_1569 = x_1558; +} else { + lean_dec_ref(x_1558); + x_1569 = lean_box(0); } +if (lean_is_scalar(x_1569)) { + x_1570 = lean_alloc_ctor(1, 2, 0); +} else { + x_1570 = x_1569; +} +lean_ctor_set(x_1570, 0, x_1567); +lean_ctor_set(x_1570, 1, x_1568); +return x_1570; } } else { -lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1605 = l_Lean_Syntax_inhabited; -x_1606 = lean_unsigned_to_nat(1u); -x_1607 = lean_array_get(x_1605, x_4, x_1606); -lean_inc(x_1607); -x_1608 = l_Lean_Syntax_getKind(x_1607); -if (lean_obj_tag(x_1608) == 1) -{ -lean_object* x_1609; -x_1609 = lean_ctor_get(x_1608, 0); -lean_inc(x_1609); -if (lean_obj_tag(x_1609) == 1) -{ -lean_object* x_1610; -x_1610 = lean_ctor_get(x_1609, 0); -lean_inc(x_1610); -if (lean_obj_tag(x_1610) == 1) -{ -lean_object* x_1611; -x_1611 = lean_ctor_get(x_1610, 0); -lean_inc(x_1611); -if (lean_obj_tag(x_1611) == 1) -{ -lean_object* x_1612; -x_1612 = lean_ctor_get(x_1611, 0); -lean_inc(x_1612); -if (lean_obj_tag(x_1612) == 0) -{ -lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; uint8_t x_1617; -x_1613 = lean_ctor_get(x_1608, 1); -lean_inc(x_1613); -lean_dec(x_1608); -x_1614 = lean_ctor_get(x_1609, 1); -lean_inc(x_1614); -lean_dec(x_1609); -x_1615 = lean_ctor_get(x_1610, 1); -lean_inc(x_1615); -lean_dec(x_1610); -x_1616 = lean_ctor_get(x_1611, 1); -lean_inc(x_1616); -lean_dec(x_1611); -x_1617 = lean_string_dec_eq(x_1616, x_1402); -lean_dec(x_1616); -if (x_1617 == 0) -{ -lean_object* x_1618; lean_object* x_1619; -lean_dec(x_1615); -lean_dec(x_1614); -lean_dec(x_1613); -lean_dec(x_1607); -x_1618 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1619 = l_unreachable_x21___rarg(x_1618); -x_5 = x_1619; -goto block_95; -} -else -{ -uint8_t x_1620; -x_1620 = lean_string_dec_eq(x_1615, x_1406); -lean_dec(x_1615); -if (x_1620 == 0) -{ -lean_object* x_1621; lean_object* x_1622; -lean_dec(x_1614); -lean_dec(x_1613); -lean_dec(x_1607); -x_1621 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1622 = l_unreachable_x21___rarg(x_1621); -x_5 = x_1622; -goto block_95; -} -else -{ -uint8_t x_1623; -x_1623 = lean_string_dec_eq(x_1614, x_1417); -lean_dec(x_1614); -if (x_1623 == 0) -{ -lean_object* x_1624; lean_object* x_1625; -lean_dec(x_1613); -lean_dec(x_1607); -x_1624 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1625 = l_unreachable_x21___rarg(x_1624); -x_5 = x_1625; -goto block_95; -} -else -{ -lean_object* x_1626; uint8_t x_1627; -x_1626 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; -x_1627 = lean_string_dec_eq(x_1613, x_1626); -if (x_1627 == 0) -{ -lean_object* x_1628; uint8_t x_1629; -x_1628 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; -x_1629 = lean_string_dec_eq(x_1613, x_1628); -lean_dec(x_1613); -if (x_1629 == 0) -{ -lean_object* x_1630; lean_object* x_1631; -lean_dec(x_1607); -x_1630 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1631 = l_unreachable_x21___rarg(x_1630); -x_5 = x_1631; -goto block_95; -} -else -{ -lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; -x_1632 = lean_unsigned_to_nat(0u); -x_1633 = l_Lean_Syntax_getArg(x_1607, x_1632); -x_1634 = l_Lean_Syntax_getIdAt(x_1633, x_1632); -lean_dec(x_1633); -x_1635 = lean_unsigned_to_nat(3u); -x_1636 = l_Lean_Syntax_getArg(x_1607, x_1635); -lean_dec(x_1607); -x_1637 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1637, 0, x_1634); -lean_ctor_set(x_1637, 1, x_1636); -x_5 = x_1637; -goto block_95; -} -} -else -{ -lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; -lean_dec(x_1613); -x_1638 = lean_unsigned_to_nat(0u); -x_1639 = l_Lean_Syntax_getIdAt(x_1607, x_1638); -x_1640 = lean_unsigned_to_nat(4u); -x_1641 = l_Lean_Syntax_getArg(x_1607, x_1640); -lean_dec(x_1607); -x_1642 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1642, 0, x_1639); -lean_ctor_set(x_1642, 1, x_1641); -x_5 = x_1642; -goto block_95; -} -} -} -} -} -else -{ -lean_object* x_1643; lean_object* x_1644; -lean_dec(x_1612); -lean_dec(x_1611); -lean_dec(x_1610); -lean_dec(x_1609); -lean_dec(x_1608); -lean_dec(x_1607); -x_1643 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1644 = l_unreachable_x21___rarg(x_1643); -x_5 = x_1644; -goto block_95; -} -} -else -{ -lean_object* x_1645; lean_object* x_1646; -lean_dec(x_1611); -lean_dec(x_1610); -lean_dec(x_1609); -lean_dec(x_1608); -lean_dec(x_1607); -x_1645 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1646 = l_unreachable_x21___rarg(x_1645); -x_5 = x_1646; -goto block_95; -} -} -else -{ -lean_object* x_1647; lean_object* x_1648; -lean_dec(x_1610); -lean_dec(x_1609); -lean_dec(x_1608); -lean_dec(x_1607); -x_1647 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1648 = l_unreachable_x21___rarg(x_1647); -x_5 = x_1648; -goto block_95; -} -} -else -{ -lean_object* x_1649; lean_object* x_1650; -lean_dec(x_1609); -lean_dec(x_1608); -lean_dec(x_1607); -x_1649 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1650 = l_unreachable_x21___rarg(x_1649); -x_5 = x_1650; -goto block_95; -} -} -else -{ -lean_object* x_1651; lean_object* x_1652; -lean_dec(x_1608); -lean_dec(x_1607); -x_1651 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_1652 = l_unreachable_x21___rarg(x_1651); -x_5 = x_1652; -goto block_95; -} -} -} -else -{ -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; uint8_t x_1661; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_1653 = l_Lean_Syntax_inhabited; -x_1654 = lean_unsigned_to_nat(1u); -x_1655 = lean_array_get(x_1653, x_4, x_1654); -x_1656 = l_Lean_Syntax_getArgs(x_1655); -lean_dec(x_1655); -x_1657 = lean_unsigned_to_nat(3u); -x_1658 = lean_array_get(x_1653, x_4, x_1657); +lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; +lean_dec(x_1525); lean_dec(x_4); -x_1659 = lean_array_get_size(x_1656); -x_1660 = lean_unsigned_to_nat(0u); -x_1661 = lean_nat_dec_eq(x_1659, x_1660); -lean_dec(x_1659); -if (x_1661 == 0) +lean_dec(x_2); +x_1571 = lean_ctor_get(x_1528, 0); +lean_inc(x_1571); +x_1572 = lean_ctor_get(x_1528, 1); +lean_inc(x_1572); +if (lean_is_exclusive(x_1528)) { + lean_ctor_release(x_1528, 0); + lean_ctor_release(x_1528, 1); + x_1573 = x_1528; +} else { + lean_dec_ref(x_1528); + x_1573 = lean_box(0); +} +if (lean_is_scalar(x_1573)) { + x_1574 = lean_alloc_ctor(1, 2, 0); +} else { + x_1574 = x_1573; +} +lean_ctor_set(x_1574, 0, x_1571); +lean_ctor_set(x_1574, 1, x_1572); +return x_1574; +} +} +} +} +else { -lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; uint8_t x_1667; -x_1662 = lean_array_get(x_1653, x_1656, x_1660); -x_1663 = lean_name_mk_string(x_118, x_1402); -x_1664 = lean_name_mk_string(x_1663, x_1406); -x_1665 = lean_name_mk_string(x_1664, x_1417); -lean_inc(x_1665); -x_1666 = lean_name_mk_string(x_1665, x_1428); -lean_inc(x_1662); -x_1667 = l_Lean_Syntax_isOfKind(x_1662, x_1666); -lean_dec(x_1666); -if (x_1667 == 0) +lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; uint8_t x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_1575 = l_Lean_Syntax_inhabited; +x_1576 = lean_unsigned_to_nat(1u); +x_1577 = lean_array_get(x_1575, x_4, x_1576); +x_1578 = lean_unsigned_to_nat(0u); +x_1579 = l_Lean_Syntax_getArg(x_1577, x_1578); +x_1580 = l_Lean_Syntax_isIdent(x_1579); +x_1581 = lean_unsigned_to_nat(4u); +x_1582 = l_Lean_Syntax_getArg(x_1577, x_1581); +lean_dec(x_1577); +x_1583 = lean_unsigned_to_nat(3u); +x_1584 = lean_array_get(x_1575, x_4, x_1583); +lean_dec(x_4); +if (x_1580 == 0) { -lean_object* x_1668; lean_object* x_1669; uint8_t x_1670; -x_1668 = l_Lean_mkHole___closed__1; -lean_inc(x_1665); -x_1669 = lean_name_mk_string(x_1665, x_1668); -lean_inc(x_1662); -x_1670 = l_Lean_Syntax_isOfKind(x_1662, x_1669); -lean_dec(x_1669); -if (x_1670 == 0) +lean_object* x_1632; +x_1632 = l_Lean_Syntax_getIdAt(x_1579, x_1578); +lean_dec(x_1579); +x_1585 = x_1632; +goto block_1631; +} +else { -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; -x_1671 = l_Lean_Syntax_getArg(x_1662, x_1654); -lean_dec(x_1662); -x_1672 = l_Lean_Syntax_getArg(x_1671, x_1660); -x_1673 = l_Lean_Syntax_getIdAt(x_1672, x_1660); -lean_dec(x_1672); -x_1674 = l_Lean_Syntax_getArg(x_1671, x_1654); -lean_dec(x_1671); -x_1675 = l_Lean_Syntax_getArg(x_1674, x_1660); -lean_dec(x_1674); -x_1676 = l_Lean_Syntax_getArg(x_1675, x_1654); -lean_dec(x_1675); +lean_object* x_1633; +x_1633 = l_Lean_Syntax_getId(x_1579); +lean_dec(x_1579); +x_1585 = x_1633; +goto block_1631; +} +block_1631: +{ +lean_object* x_1586; lean_inc(x_2); -x_1677 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1676, x_2, x_3); -if (lean_obj_tag(x_1677) == 0) +x_1586 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1582, x_2, x_3); +if (lean_obj_tag(x_1586) == 0) { -lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; uint8_t 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; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; uint8_t x_1712; uint8_t 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; -x_1678 = lean_ctor_get(x_1677, 0); -lean_inc(x_1678); -x_1679 = lean_ctor_get(x_1677, 1); -lean_inc(x_1679); -lean_dec(x_1677); -x_1680 = l_Lean_Elab_Term_getLCtx(x_2, x_1679); -x_1681 = lean_ctor_get(x_1680, 0); -lean_inc(x_1681); -x_1682 = lean_ctor_get(x_1680, 1); -lean_inc(x_1682); -lean_dec(x_1680); -x_1683 = 0; -lean_inc_n(x_1673, 2); -x_1684 = lean_local_ctx_mk_local_decl(x_1681, x_1673, x_1673, x_1678, x_1683); -x_1685 = l_Array_eraseIdx___rarg(x_1656, x_1660); -x_1686 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1682); -x_1687 = lean_ctor_get(x_1686, 1); -lean_inc(x_1687); -lean_dec(x_1686); -x_1688 = l_Lean_Elab_Term_getMainModule___rarg(x_1687); -x_1689 = lean_ctor_get(x_1688, 1); -lean_inc(x_1689); -lean_dec(x_1688); -x_1690 = lean_name_mk_string(x_1665, x_1430); -x_1691 = l_Lean_nullKind___closed__1; -x_1692 = lean_name_mk_string(x_118, x_1691); -x_1693 = l_Array_empty___closed__1; -x_1694 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1685, x_1685, x_1660, x_1693); -lean_dec(x_1685); -x_1695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1695, 0, x_1692); -lean_ctor_set(x_1695, 1, x_1694); -x_1696 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1697 = lean_array_push(x_1696, x_1695); -x_1698 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1699 = lean_array_push(x_1697, x_1698); -x_1700 = lean_array_push(x_1699, x_1658); -x_1701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1701, 0, x_1690); -lean_ctor_set(x_1701, 1, x_1700); -x_1702 = lean_ctor_get(x_2, 0); -lean_inc(x_1702); -x_1703 = lean_ctor_get(x_2, 1); -lean_inc(x_1703); -x_1704 = lean_ctor_get(x_2, 2); -lean_inc(x_1704); -x_1705 = lean_ctor_get(x_2, 3); -lean_inc(x_1705); -x_1706 = lean_ctor_get(x_2, 4); -lean_inc(x_1706); -x_1707 = lean_ctor_get(x_2, 5); -lean_inc(x_1707); -x_1708 = lean_ctor_get(x_2, 6); -lean_inc(x_1708); -x_1709 = lean_ctor_get(x_2, 7); -lean_inc(x_1709); -x_1710 = lean_ctor_get(x_2, 8); -lean_inc(x_1710); -x_1711 = lean_ctor_get(x_2, 9); -lean_inc(x_1711); -x_1712 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1713 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +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_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; uint8_t x_1604; uint8_t 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; +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 = l_Lean_Elab_Term_getLCtx(x_2, x_1588); +x_1590 = lean_ctor_get(x_1589, 0); +lean_inc(x_1590); +x_1591 = lean_ctor_get(x_1589, 1); +lean_inc(x_1591); +lean_dec(x_1589); +x_1592 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_1585, 2); +x_1593 = lean_local_ctx_mk_let_decl(x_1590, x_1585, x_1585, x_1592, x_1587); +x_1594 = lean_ctor_get(x_2, 0); +lean_inc(x_1594); +x_1595 = lean_ctor_get(x_2, 1); +lean_inc(x_1595); +x_1596 = lean_ctor_get(x_2, 2); +lean_inc(x_1596); +x_1597 = lean_ctor_get(x_2, 3); +lean_inc(x_1597); +x_1598 = lean_ctor_get(x_2, 4); +lean_inc(x_1598); +x_1599 = lean_ctor_get(x_2, 5); +lean_inc(x_1599); +x_1600 = lean_ctor_get(x_2, 6); +lean_inc(x_1600); +x_1601 = lean_ctor_get(x_2, 7); +lean_inc(x_1601); +x_1602 = lean_ctor_get(x_2, 8); +lean_inc(x_1602); +x_1603 = lean_ctor_get(x_2, 9); +lean_inc(x_1603); +x_1604 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1605 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -20331,210 +20213,483 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1714 = x_2; + x_1606 = x_2; } else { lean_dec_ref(x_2); + x_1606 = lean_box(0); +} +x_1607 = lean_ctor_get(x_1594, 0); +lean_inc(x_1607); +x_1608 = lean_ctor_get(x_1594, 2); +lean_inc(x_1608); +x_1609 = lean_ctor_get(x_1594, 3); +lean_inc(x_1609); +x_1610 = lean_ctor_get(x_1594, 4); +lean_inc(x_1610); +if (lean_is_exclusive(x_1594)) { + lean_ctor_release(x_1594, 0); + lean_ctor_release(x_1594, 1); + lean_ctor_release(x_1594, 2); + lean_ctor_release(x_1594, 3); + lean_ctor_release(x_1594, 4); + x_1611 = x_1594; +} else { + lean_dec_ref(x_1594); + x_1611 = lean_box(0); +} +lean_inc(x_1593); +if (lean_is_scalar(x_1611)) { + x_1612 = lean_alloc_ctor(0, 5, 0); +} else { + x_1612 = x_1611; +} +lean_ctor_set(x_1612, 0, x_1607); +lean_ctor_set(x_1612, 1, x_1593); +lean_ctor_set(x_1612, 2, x_1608); +lean_ctor_set(x_1612, 3, x_1609); +lean_ctor_set(x_1612, 4, x_1610); +if (lean_is_scalar(x_1606)) { + x_1613 = lean_alloc_ctor(0, 10, 2); +} else { + x_1613 = x_1606; +} +lean_ctor_set(x_1613, 0, x_1612); +lean_ctor_set(x_1613, 1, x_1595); +lean_ctor_set(x_1613, 2, x_1596); +lean_ctor_set(x_1613, 3, x_1597); +lean_ctor_set(x_1613, 4, x_1598); +lean_ctor_set(x_1613, 5, x_1599); +lean_ctor_set(x_1613, 6, x_1600); +lean_ctor_set(x_1613, 7, x_1601); +lean_ctor_set(x_1613, 8, x_1602); +lean_ctor_set(x_1613, 9, x_1603); +lean_ctor_set_uint8(x_1613, sizeof(void*)*10, x_1604); +lean_ctor_set_uint8(x_1613, sizeof(void*)*10 + 1, x_1605); +x_1614 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1584, x_1613, x_1591); +if (lean_obj_tag(x_1614) == 0) +{ +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; +x_1615 = lean_ctor_get(x_1614, 0); +lean_inc(x_1615); +x_1616 = lean_ctor_get(x_1614, 1); +lean_inc(x_1616); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1617 = x_1614; +} else { + lean_dec_ref(x_1614); + x_1617 = lean_box(0); +} +x_1618 = l_Lean_mkFVar(x_1585); +x_1619 = l_Lean_mkOptionalNode___closed__2; +x_1620 = lean_array_push(x_1619, x_1618); +x_1621 = l_Lean_LocalContext_mkLambda(x_1593, x_1620, x_1615); +lean_dec(x_1615); +lean_dec(x_1620); +if (lean_is_scalar(x_1617)) { + x_1622 = lean_alloc_ctor(0, 2, 0); +} else { + x_1622 = x_1617; +} +lean_ctor_set(x_1622, 0, x_1621); +lean_ctor_set(x_1622, 1, x_1616); +return x_1622; +} +else +{ +lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; +lean_dec(x_1593); +lean_dec(x_1585); +x_1623 = lean_ctor_get(x_1614, 0); +lean_inc(x_1623); +x_1624 = lean_ctor_get(x_1614, 1); +lean_inc(x_1624); +if (lean_is_exclusive(x_1614)) { + lean_ctor_release(x_1614, 0); + lean_ctor_release(x_1614, 1); + x_1625 = x_1614; +} else { + lean_dec_ref(x_1614); + x_1625 = lean_box(0); +} +if (lean_is_scalar(x_1625)) { + x_1626 = lean_alloc_ctor(1, 2, 0); +} else { + x_1626 = x_1625; +} +lean_ctor_set(x_1626, 0, x_1623); +lean_ctor_set(x_1626, 1, x_1624); +return x_1626; +} +} +else +{ +lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; +lean_dec(x_1585); +lean_dec(x_1584); +lean_dec(x_2); +x_1627 = lean_ctor_get(x_1586, 0); +lean_inc(x_1627); +x_1628 = lean_ctor_get(x_1586, 1); +lean_inc(x_1628); +if (lean_is_exclusive(x_1586)) { + lean_ctor_release(x_1586, 0); + lean_ctor_release(x_1586, 1); + x_1629 = x_1586; +} else { + lean_dec_ref(x_1586); + x_1629 = lean_box(0); +} +if (lean_is_scalar(x_1629)) { + x_1630 = lean_alloc_ctor(1, 2, 0); +} else { + x_1630 = x_1629; +} +lean_ctor_set(x_1630, 0, x_1627); +lean_ctor_set(x_1630, 1, x_1628); +return x_1630; +} +} +} +} +else +{ +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; uint8_t x_1642; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_1634 = l_Lean_Syntax_inhabited; +x_1635 = lean_unsigned_to_nat(1u); +x_1636 = lean_array_get(x_1634, x_4, x_1635); +x_1637 = l_Lean_Syntax_getArgs(x_1636); +lean_dec(x_1636); +x_1638 = lean_unsigned_to_nat(3u); +x_1639 = lean_array_get(x_1634, x_4, x_1638); +lean_dec(x_4); +x_1640 = lean_array_get_size(x_1637); +x_1641 = lean_unsigned_to_nat(0u); +x_1642 = lean_nat_dec_eq(x_1640, x_1641); +lean_dec(x_1640); +if (x_1642 == 0) +{ +lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; uint8_t x_1648; +x_1643 = lean_array_get(x_1634, x_1637, x_1641); +x_1644 = lean_name_mk_string(x_27, x_1372); +x_1645 = lean_name_mk_string(x_1644, x_1376); +x_1646 = lean_name_mk_string(x_1645, x_1387); +lean_inc(x_1646); +x_1647 = lean_name_mk_string(x_1646, x_1398); +lean_inc(x_1643); +x_1648 = l_Lean_Syntax_isOfKind(x_1643, x_1647); +lean_dec(x_1647); +if (x_1648 == 0) +{ +lean_object* x_1649; lean_object* x_1650; uint8_t x_1651; +x_1649 = l_Lean_mkHole___closed__1; +lean_inc(x_1646); +x_1650 = lean_name_mk_string(x_1646, x_1649); +lean_inc(x_1643); +x_1651 = l_Lean_Syntax_isOfKind(x_1643, x_1650); +lean_dec(x_1650); +if (x_1651 == 0) +{ +lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; +x_1652 = l_Lean_Syntax_getArg(x_1643, x_1635); +lean_dec(x_1643); +x_1653 = l_Lean_Syntax_getArg(x_1652, x_1641); +x_1654 = l_Lean_Syntax_getIdAt(x_1653, x_1641); +lean_dec(x_1653); +x_1655 = l_Lean_Syntax_getArg(x_1652, x_1635); +lean_dec(x_1652); +x_1656 = l_Lean_Syntax_getArg(x_1655, x_1641); +lean_dec(x_1655); +x_1657 = l_Lean_Syntax_getArg(x_1656, x_1635); +lean_dec(x_1656); +lean_inc(x_2); +x_1658 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1657, x_2, x_3); +if (lean_obj_tag(x_1658) == 0) +{ +lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; uint8_t 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; uint8_t x_1693; uint8_t 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; lean_object* x_1702; lean_object* x_1703; +x_1659 = lean_ctor_get(x_1658, 0); +lean_inc(x_1659); +x_1660 = lean_ctor_get(x_1658, 1); +lean_inc(x_1660); +lean_dec(x_1658); +x_1661 = l_Lean_Elab_Term_getLCtx(x_2, x_1660); +x_1662 = lean_ctor_get(x_1661, 0); +lean_inc(x_1662); +x_1663 = lean_ctor_get(x_1661, 1); +lean_inc(x_1663); +lean_dec(x_1661); +x_1664 = 0; +lean_inc_n(x_1654, 2); +x_1665 = lean_local_ctx_mk_local_decl(x_1662, x_1654, x_1654, x_1659, x_1664); +x_1666 = l_Array_eraseIdx___rarg(x_1637, x_1641); +x_1667 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1663); +x_1668 = lean_ctor_get(x_1667, 1); +lean_inc(x_1668); +lean_dec(x_1667); +x_1669 = l_Lean_Elab_Term_getMainModule___rarg(x_1668); +x_1670 = lean_ctor_get(x_1669, 1); +lean_inc(x_1670); +lean_dec(x_1669); +x_1671 = lean_name_mk_string(x_1646, x_1400); +x_1672 = l_Lean_nullKind___closed__1; +x_1673 = lean_name_mk_string(x_27, x_1672); +x_1674 = l_Array_empty___closed__1; +x_1675 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1666, x_1666, x_1641, x_1674); +lean_dec(x_1666); +x_1676 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1676, 0, x_1673); +lean_ctor_set(x_1676, 1, x_1675); +x_1677 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1678 = lean_array_push(x_1677, x_1676); +x_1679 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1680 = lean_array_push(x_1678, x_1679); +x_1681 = lean_array_push(x_1680, x_1639); +x_1682 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1682, 0, x_1671); +lean_ctor_set(x_1682, 1, x_1681); +x_1683 = lean_ctor_get(x_2, 0); +lean_inc(x_1683); +x_1684 = lean_ctor_get(x_2, 1); +lean_inc(x_1684); +x_1685 = lean_ctor_get(x_2, 2); +lean_inc(x_1685); +x_1686 = lean_ctor_get(x_2, 3); +lean_inc(x_1686); +x_1687 = lean_ctor_get(x_2, 4); +lean_inc(x_1687); +x_1688 = lean_ctor_get(x_2, 5); +lean_inc(x_1688); +x_1689 = lean_ctor_get(x_2, 6); +lean_inc(x_1689); +x_1690 = lean_ctor_get(x_2, 7); +lean_inc(x_1690); +x_1691 = lean_ctor_get(x_2, 8); +lean_inc(x_1691); +x_1692 = lean_ctor_get(x_2, 9); +lean_inc(x_1692); +x_1693 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1694 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_1695 = x_2; +} else { + lean_dec_ref(x_2); + x_1695 = lean_box(0); +} +x_1696 = lean_ctor_get(x_1683, 0); +lean_inc(x_1696); +x_1697 = lean_ctor_get(x_1683, 2); +lean_inc(x_1697); +x_1698 = lean_ctor_get(x_1683, 3); +lean_inc(x_1698); +x_1699 = lean_ctor_get(x_1683, 4); +lean_inc(x_1699); +if (lean_is_exclusive(x_1683)) { + lean_ctor_release(x_1683, 0); + lean_ctor_release(x_1683, 1); + lean_ctor_release(x_1683, 2); + lean_ctor_release(x_1683, 3); + lean_ctor_release(x_1683, 4); + x_1700 = x_1683; +} else { + lean_dec_ref(x_1683); + x_1700 = lean_box(0); +} +lean_inc(x_1665); +if (lean_is_scalar(x_1700)) { + x_1701 = lean_alloc_ctor(0, 5, 0); +} else { + x_1701 = x_1700; +} +lean_ctor_set(x_1701, 0, x_1696); +lean_ctor_set(x_1701, 1, x_1665); +lean_ctor_set(x_1701, 2, x_1697); +lean_ctor_set(x_1701, 3, x_1698); +lean_ctor_set(x_1701, 4, x_1699); +if (lean_is_scalar(x_1695)) { + x_1702 = lean_alloc_ctor(0, 10, 2); +} else { + x_1702 = x_1695; +} +lean_ctor_set(x_1702, 0, x_1701); +lean_ctor_set(x_1702, 1, x_1684); +lean_ctor_set(x_1702, 2, x_1685); +lean_ctor_set(x_1702, 3, x_1686); +lean_ctor_set(x_1702, 4, x_1687); +lean_ctor_set(x_1702, 5, x_1688); +lean_ctor_set(x_1702, 6, x_1689); +lean_ctor_set(x_1702, 7, x_1690); +lean_ctor_set(x_1702, 8, x_1691); +lean_ctor_set(x_1702, 9, x_1692); +lean_ctor_set_uint8(x_1702, sizeof(void*)*10, x_1693); +lean_ctor_set_uint8(x_1702, sizeof(void*)*10 + 1, x_1694); +x_1703 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1682, x_1702, x_1670); +if (lean_obj_tag(x_1703) == 0) +{ +lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; +x_1704 = lean_ctor_get(x_1703, 0); +lean_inc(x_1704); +x_1705 = lean_ctor_get(x_1703, 1); +lean_inc(x_1705); +if (lean_is_exclusive(x_1703)) { + lean_ctor_release(x_1703, 0); + lean_ctor_release(x_1703, 1); + x_1706 = x_1703; +} else { + lean_dec_ref(x_1703); + x_1706 = lean_box(0); +} +x_1707 = l_Lean_mkFVar(x_1654); +x_1708 = l_Lean_mkOptionalNode___closed__2; +x_1709 = lean_array_push(x_1708, x_1707); +x_1710 = l_Lean_LocalContext_mkLambda(x_1665, x_1709, x_1704); +lean_dec(x_1704); +lean_dec(x_1709); +if (lean_is_scalar(x_1706)) { + x_1711 = lean_alloc_ctor(0, 2, 0); +} else { + x_1711 = x_1706; +} +lean_ctor_set(x_1711, 0, x_1710); +lean_ctor_set(x_1711, 1, x_1705); +return x_1711; +} +else +{ +lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; +lean_dec(x_1665); +lean_dec(x_1654); +x_1712 = lean_ctor_get(x_1703, 0); +lean_inc(x_1712); +x_1713 = lean_ctor_get(x_1703, 1); +lean_inc(x_1713); +if (lean_is_exclusive(x_1703)) { + lean_ctor_release(x_1703, 0); + lean_ctor_release(x_1703, 1); + x_1714 = x_1703; +} else { + lean_dec_ref(x_1703); x_1714 = lean_box(0); } -x_1715 = lean_ctor_get(x_1702, 0); -lean_inc(x_1715); -x_1716 = lean_ctor_get(x_1702, 2); -lean_inc(x_1716); -x_1717 = lean_ctor_get(x_1702, 3); -lean_inc(x_1717); -x_1718 = lean_ctor_get(x_1702, 4); -lean_inc(x_1718); -if (lean_is_exclusive(x_1702)) { - lean_ctor_release(x_1702, 0); - lean_ctor_release(x_1702, 1); - lean_ctor_release(x_1702, 2); - lean_ctor_release(x_1702, 3); - lean_ctor_release(x_1702, 4); - x_1719 = x_1702; -} else { - lean_dec_ref(x_1702); - x_1719 = lean_box(0); -} -lean_inc(x_1684); -if (lean_is_scalar(x_1719)) { - x_1720 = lean_alloc_ctor(0, 5, 0); -} else { - x_1720 = x_1719; -} -lean_ctor_set(x_1720, 0, x_1715); -lean_ctor_set(x_1720, 1, x_1684); -lean_ctor_set(x_1720, 2, x_1716); -lean_ctor_set(x_1720, 3, x_1717); -lean_ctor_set(x_1720, 4, x_1718); if (lean_is_scalar(x_1714)) { - x_1721 = lean_alloc_ctor(0, 10, 2); + x_1715 = lean_alloc_ctor(1, 2, 0); } else { - x_1721 = x_1714; + x_1715 = x_1714; } -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1703); -lean_ctor_set(x_1721, 2, x_1704); -lean_ctor_set(x_1721, 3, x_1705); -lean_ctor_set(x_1721, 4, x_1706); -lean_ctor_set(x_1721, 5, x_1707); -lean_ctor_set(x_1721, 6, x_1708); -lean_ctor_set(x_1721, 7, x_1709); -lean_ctor_set(x_1721, 8, x_1710); -lean_ctor_set(x_1721, 9, x_1711); -lean_ctor_set_uint8(x_1721, sizeof(void*)*10, x_1712); -lean_ctor_set_uint8(x_1721, sizeof(void*)*10 + 1, x_1713); -x_1722 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1701, x_1721, x_1689); -if (lean_obj_tag(x_1722) == 0) +lean_ctor_set(x_1715, 0, x_1712); +lean_ctor_set(x_1715, 1, x_1713); +return x_1715; +} +} +else { -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_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; +lean_dec(x_1654); +lean_dec(x_1646); +lean_dec(x_1639); +lean_dec(x_1637); +lean_dec(x_2); +x_1716 = lean_ctor_get(x_1658, 0); +lean_inc(x_1716); +x_1717 = lean_ctor_get(x_1658, 1); +lean_inc(x_1717); +if (lean_is_exclusive(x_1658)) { + lean_ctor_release(x_1658, 0); + lean_ctor_release(x_1658, 1); + x_1718 = x_1658; +} else { + lean_dec_ref(x_1658); + x_1718 = lean_box(0); +} +if (lean_is_scalar(x_1718)) { + x_1719 = lean_alloc_ctor(1, 2, 0); +} else { + x_1719 = x_1718; +} +lean_ctor_set(x_1719, 0, x_1716); +lean_ctor_set(x_1719, 1, x_1717); +return x_1719; +} +} +else +{ +lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; uint8_t 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; uint8_t x_1755; uint8_t x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; +lean_dec(x_1643); +x_1720 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_1721 = lean_name_mk_string(x_27, x_1720); +x_1722 = l_Lean_Elab_Term_getLCtx(x_2, x_3); x_1723 = lean_ctor_get(x_1722, 0); lean_inc(x_1723); x_1724 = lean_ctor_get(x_1722, 1); lean_inc(x_1724); -if (lean_is_exclusive(x_1722)) { - lean_ctor_release(x_1722, 0); - lean_ctor_release(x_1722, 1); - x_1725 = x_1722; -} else { - lean_dec_ref(x_1722); - x_1725 = lean_box(0); -} -x_1726 = l_Lean_mkFVar(x_1673); -x_1727 = l_Lean_mkOptionalNode___closed__2; -x_1728 = lean_array_push(x_1727, x_1726); -x_1729 = l_Lean_LocalContext_mkLambda(x_1684, x_1728, x_1723); -lean_dec(x_1723); -lean_dec(x_1728); -if (lean_is_scalar(x_1725)) { - x_1730 = lean_alloc_ctor(0, 2, 0); -} else { - x_1730 = x_1725; -} -lean_ctor_set(x_1730, 0, x_1729); -lean_ctor_set(x_1730, 1, x_1724); -return x_1730; -} -else -{ -lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; -lean_dec(x_1684); -lean_dec(x_1673); -x_1731 = lean_ctor_get(x_1722, 0); -lean_inc(x_1731); -x_1732 = lean_ctor_get(x_1722, 1); +lean_dec(x_1722); +x_1725 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_1726 = 0; +lean_inc_n(x_1721, 2); +x_1727 = lean_local_ctx_mk_local_decl(x_1723, x_1721, x_1721, x_1725, x_1726); +x_1728 = l_Array_eraseIdx___rarg(x_1637, x_1641); +x_1729 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1724); +x_1730 = lean_ctor_get(x_1729, 1); +lean_inc(x_1730); +lean_dec(x_1729); +x_1731 = l_Lean_Elab_Term_getMainModule___rarg(x_1730); +x_1732 = lean_ctor_get(x_1731, 1); lean_inc(x_1732); -if (lean_is_exclusive(x_1722)) { - lean_ctor_release(x_1722, 0); - lean_ctor_release(x_1722, 1); - x_1733 = x_1722; -} else { - lean_dec_ref(x_1722); - x_1733 = lean_box(0); -} -if (lean_is_scalar(x_1733)) { - x_1734 = lean_alloc_ctor(1, 2, 0); -} else { - x_1734 = x_1733; -} -lean_ctor_set(x_1734, 0, x_1731); -lean_ctor_set(x_1734, 1, x_1732); -return x_1734; -} -} -else -{ -lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; -lean_dec(x_1673); -lean_dec(x_1665); -lean_dec(x_1658); -lean_dec(x_1656); -lean_dec(x_2); -x_1735 = lean_ctor_get(x_1677, 0); -lean_inc(x_1735); -x_1736 = lean_ctor_get(x_1677, 1); -lean_inc(x_1736); -if (lean_is_exclusive(x_1677)) { - lean_ctor_release(x_1677, 0); - lean_ctor_release(x_1677, 1); - x_1737 = x_1677; -} else { - lean_dec_ref(x_1677); - x_1737 = lean_box(0); -} -if (lean_is_scalar(x_1737)) { - x_1738 = lean_alloc_ctor(1, 2, 0); -} else { - x_1738 = x_1737; -} +lean_dec(x_1731); +x_1733 = lean_name_mk_string(x_1646, x_1400); +x_1734 = l_Lean_nullKind___closed__1; +x_1735 = lean_name_mk_string(x_27, x_1734); +x_1736 = l_Array_empty___closed__1; +x_1737 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1728, x_1728, x_1641, x_1736); +lean_dec(x_1728); +x_1738 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1738, 0, x_1735); -lean_ctor_set(x_1738, 1, x_1736); -return x_1738; -} -} -else -{ -lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; uint8_t 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; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; uint8_t x_1774; uint8_t x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; -lean_dec(x_1662); -x_1739 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_1740 = lean_name_mk_string(x_118, x_1739); -x_1741 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1742 = lean_ctor_get(x_1741, 0); -lean_inc(x_1742); -x_1743 = lean_ctor_get(x_1741, 1); -lean_inc(x_1743); -lean_dec(x_1741); -x_1744 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_1745 = 0; -lean_inc_n(x_1740, 2); -x_1746 = lean_local_ctx_mk_local_decl(x_1742, x_1740, x_1740, x_1744, x_1745); -x_1747 = l_Array_eraseIdx___rarg(x_1656, x_1660); -x_1748 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1743); -x_1749 = lean_ctor_get(x_1748, 1); +lean_ctor_set(x_1738, 1, x_1737); +x_1739 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1740 = lean_array_push(x_1739, x_1738); +x_1741 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1742 = lean_array_push(x_1740, x_1741); +x_1743 = lean_array_push(x_1742, x_1639); +x_1744 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1744, 0, x_1733); +lean_ctor_set(x_1744, 1, x_1743); +x_1745 = lean_ctor_get(x_2, 0); +lean_inc(x_1745); +x_1746 = lean_ctor_get(x_2, 1); +lean_inc(x_1746); +x_1747 = lean_ctor_get(x_2, 2); +lean_inc(x_1747); +x_1748 = lean_ctor_get(x_2, 3); +lean_inc(x_1748); +x_1749 = lean_ctor_get(x_2, 4); lean_inc(x_1749); -lean_dec(x_1748); -x_1750 = l_Lean_Elab_Term_getMainModule___rarg(x_1749); -x_1751 = lean_ctor_get(x_1750, 1); +x_1750 = lean_ctor_get(x_2, 5); +lean_inc(x_1750); +x_1751 = lean_ctor_get(x_2, 6); lean_inc(x_1751); -lean_dec(x_1750); -x_1752 = lean_name_mk_string(x_1665, x_1430); -x_1753 = l_Lean_nullKind___closed__1; -x_1754 = lean_name_mk_string(x_118, x_1753); -x_1755 = l_Array_empty___closed__1; -x_1756 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1747, x_1747, x_1660, x_1755); -lean_dec(x_1747); -x_1757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1757, 0, x_1754); -lean_ctor_set(x_1757, 1, x_1756); -x_1758 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1759 = lean_array_push(x_1758, x_1757); -x_1760 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1761 = lean_array_push(x_1759, x_1760); -x_1762 = lean_array_push(x_1761, x_1658); -x_1763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1763, 0, x_1752); -lean_ctor_set(x_1763, 1, x_1762); -x_1764 = lean_ctor_get(x_2, 0); -lean_inc(x_1764); -x_1765 = lean_ctor_get(x_2, 1); -lean_inc(x_1765); -x_1766 = lean_ctor_get(x_2, 2); -lean_inc(x_1766); -x_1767 = lean_ctor_get(x_2, 3); -lean_inc(x_1767); -x_1768 = lean_ctor_get(x_2, 4); -lean_inc(x_1768); -x_1769 = lean_ctor_get(x_2, 5); -lean_inc(x_1769); -x_1770 = lean_ctor_get(x_2, 6); -lean_inc(x_1770); -x_1771 = lean_ctor_get(x_2, 7); -lean_inc(x_1771); -x_1772 = lean_ctor_get(x_2, 8); -lean_inc(x_1772); -x_1773 = lean_ctor_get(x_2, 9); -lean_inc(x_1773); -x_1774 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1775 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_1752 = lean_ctor_get(x_2, 7); +lean_inc(x_1752); +x_1753 = lean_ctor_get(x_2, 8); +lean_inc(x_1753); +x_1754 = lean_ctor_get(x_2, 9); +lean_inc(x_1754); +x_1755 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1756 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -20546,180 +20701,180 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1776 = x_2; + x_1757 = x_2; } else { lean_dec_ref(x_2); + x_1757 = lean_box(0); +} +x_1758 = lean_ctor_get(x_1745, 0); +lean_inc(x_1758); +x_1759 = lean_ctor_get(x_1745, 2); +lean_inc(x_1759); +x_1760 = lean_ctor_get(x_1745, 3); +lean_inc(x_1760); +x_1761 = lean_ctor_get(x_1745, 4); +lean_inc(x_1761); +if (lean_is_exclusive(x_1745)) { + lean_ctor_release(x_1745, 0); + lean_ctor_release(x_1745, 1); + lean_ctor_release(x_1745, 2); + lean_ctor_release(x_1745, 3); + lean_ctor_release(x_1745, 4); + x_1762 = x_1745; +} else { + lean_dec_ref(x_1745); + x_1762 = lean_box(0); +} +lean_inc(x_1727); +if (lean_is_scalar(x_1762)) { + x_1763 = lean_alloc_ctor(0, 5, 0); +} else { + x_1763 = x_1762; +} +lean_ctor_set(x_1763, 0, x_1758); +lean_ctor_set(x_1763, 1, x_1727); +lean_ctor_set(x_1763, 2, x_1759); +lean_ctor_set(x_1763, 3, x_1760); +lean_ctor_set(x_1763, 4, x_1761); +if (lean_is_scalar(x_1757)) { + x_1764 = lean_alloc_ctor(0, 10, 2); +} else { + x_1764 = x_1757; +} +lean_ctor_set(x_1764, 0, x_1763); +lean_ctor_set(x_1764, 1, x_1746); +lean_ctor_set(x_1764, 2, x_1747); +lean_ctor_set(x_1764, 3, x_1748); +lean_ctor_set(x_1764, 4, x_1749); +lean_ctor_set(x_1764, 5, x_1750); +lean_ctor_set(x_1764, 6, x_1751); +lean_ctor_set(x_1764, 7, x_1752); +lean_ctor_set(x_1764, 8, x_1753); +lean_ctor_set(x_1764, 9, x_1754); +lean_ctor_set_uint8(x_1764, sizeof(void*)*10, x_1755); +lean_ctor_set_uint8(x_1764, sizeof(void*)*10 + 1, x_1756); +x_1765 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1744, x_1764, x_1732); +if (lean_obj_tag(x_1765) == 0) +{ +lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; +x_1766 = lean_ctor_get(x_1765, 0); +lean_inc(x_1766); +x_1767 = lean_ctor_get(x_1765, 1); +lean_inc(x_1767); +if (lean_is_exclusive(x_1765)) { + lean_ctor_release(x_1765, 0); + lean_ctor_release(x_1765, 1); + x_1768 = x_1765; +} else { + lean_dec_ref(x_1765); + x_1768 = lean_box(0); +} +x_1769 = l_Lean_mkFVar(x_1721); +x_1770 = l_Lean_mkOptionalNode___closed__2; +x_1771 = lean_array_push(x_1770, x_1769); +x_1772 = l_Lean_LocalContext_mkLambda(x_1727, x_1771, x_1766); +lean_dec(x_1766); +lean_dec(x_1771); +if (lean_is_scalar(x_1768)) { + x_1773 = lean_alloc_ctor(0, 2, 0); +} else { + x_1773 = x_1768; +} +lean_ctor_set(x_1773, 0, x_1772); +lean_ctor_set(x_1773, 1, x_1767); +return x_1773; +} +else +{ +lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; +lean_dec(x_1727); +lean_dec(x_1721); +x_1774 = lean_ctor_get(x_1765, 0); +lean_inc(x_1774); +x_1775 = lean_ctor_get(x_1765, 1); +lean_inc(x_1775); +if (lean_is_exclusive(x_1765)) { + lean_ctor_release(x_1765, 0); + lean_ctor_release(x_1765, 1); + x_1776 = x_1765; +} else { + lean_dec_ref(x_1765); x_1776 = lean_box(0); } -x_1777 = lean_ctor_get(x_1764, 0); -lean_inc(x_1777); -x_1778 = lean_ctor_get(x_1764, 2); -lean_inc(x_1778); -x_1779 = lean_ctor_get(x_1764, 3); -lean_inc(x_1779); -x_1780 = lean_ctor_get(x_1764, 4); -lean_inc(x_1780); -if (lean_is_exclusive(x_1764)) { - lean_ctor_release(x_1764, 0); - lean_ctor_release(x_1764, 1); - lean_ctor_release(x_1764, 2); - lean_ctor_release(x_1764, 3); - lean_ctor_release(x_1764, 4); - x_1781 = x_1764; -} else { - lean_dec_ref(x_1764); - x_1781 = lean_box(0); -} -lean_inc(x_1746); -if (lean_is_scalar(x_1781)) { - x_1782 = lean_alloc_ctor(0, 5, 0); -} else { - x_1782 = x_1781; -} -lean_ctor_set(x_1782, 0, x_1777); -lean_ctor_set(x_1782, 1, x_1746); -lean_ctor_set(x_1782, 2, x_1778); -lean_ctor_set(x_1782, 3, x_1779); -lean_ctor_set(x_1782, 4, x_1780); if (lean_is_scalar(x_1776)) { - x_1783 = lean_alloc_ctor(0, 10, 2); + x_1777 = lean_alloc_ctor(1, 2, 0); } else { - x_1783 = x_1776; + x_1777 = x_1776; } -lean_ctor_set(x_1783, 0, x_1782); -lean_ctor_set(x_1783, 1, x_1765); -lean_ctor_set(x_1783, 2, x_1766); -lean_ctor_set(x_1783, 3, x_1767); -lean_ctor_set(x_1783, 4, x_1768); -lean_ctor_set(x_1783, 5, x_1769); -lean_ctor_set(x_1783, 6, x_1770); -lean_ctor_set(x_1783, 7, x_1771); -lean_ctor_set(x_1783, 8, x_1772); -lean_ctor_set(x_1783, 9, x_1773); -lean_ctor_set_uint8(x_1783, sizeof(void*)*10, x_1774); -lean_ctor_set_uint8(x_1783, sizeof(void*)*10 + 1, x_1775); -x_1784 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1763, x_1783, x_1751); -if (lean_obj_tag(x_1784) == 0) +lean_ctor_set(x_1777, 0, x_1774); +lean_ctor_set(x_1777, 1, x_1775); +return x_1777; +} +} +} +else { -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; -x_1785 = lean_ctor_get(x_1784, 0); -lean_inc(x_1785); -x_1786 = lean_ctor_get(x_1784, 1); -lean_inc(x_1786); -if (lean_is_exclusive(x_1784)) { - lean_ctor_release(x_1784, 0); - lean_ctor_release(x_1784, 1); - x_1787 = x_1784; -} else { - lean_dec_ref(x_1784); - x_1787 = lean_box(0); -} -x_1788 = l_Lean_mkFVar(x_1740); -x_1789 = l_Lean_mkOptionalNode___closed__2; -x_1790 = lean_array_push(x_1789, x_1788); -x_1791 = l_Lean_LocalContext_mkLambda(x_1746, x_1790, x_1785); +lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; uint8_t 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; uint8_t x_1812; uint8_t 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; +x_1778 = l_Lean_Syntax_getIdAt(x_1643, x_1641); +lean_dec(x_1643); +x_1779 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_1780 = lean_ctor_get(x_1779, 0); +lean_inc(x_1780); +x_1781 = lean_ctor_get(x_1779, 1); +lean_inc(x_1781); +lean_dec(x_1779); +x_1782 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_1783 = 0; +lean_inc_n(x_1778, 2); +x_1784 = lean_local_ctx_mk_local_decl(x_1780, x_1778, x_1778, x_1782, x_1783); +x_1785 = l_Array_eraseIdx___rarg(x_1637, x_1641); +x_1786 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1781); +x_1787 = lean_ctor_get(x_1786, 1); +lean_inc(x_1787); +lean_dec(x_1786); +x_1788 = l_Lean_Elab_Term_getMainModule___rarg(x_1787); +x_1789 = lean_ctor_get(x_1788, 1); +lean_inc(x_1789); +lean_dec(x_1788); +x_1790 = lean_name_mk_string(x_1646, x_1400); +x_1791 = l_Lean_nullKind___closed__1; +x_1792 = lean_name_mk_string(x_27, x_1791); +x_1793 = l_Array_empty___closed__1; +x_1794 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1785, x_1785, x_1641, x_1793); lean_dec(x_1785); -lean_dec(x_1790); -if (lean_is_scalar(x_1787)) { - x_1792 = lean_alloc_ctor(0, 2, 0); -} else { - x_1792 = x_1787; -} -lean_ctor_set(x_1792, 0, x_1791); -lean_ctor_set(x_1792, 1, x_1786); -return x_1792; -} -else -{ -lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; -lean_dec(x_1746); -lean_dec(x_1740); -x_1793 = lean_ctor_get(x_1784, 0); -lean_inc(x_1793); -x_1794 = lean_ctor_get(x_1784, 1); -lean_inc(x_1794); -if (lean_is_exclusive(x_1784)) { - lean_ctor_release(x_1784, 0); - lean_ctor_release(x_1784, 1); - x_1795 = x_1784; -} else { - lean_dec_ref(x_1784); - x_1795 = lean_box(0); -} -if (lean_is_scalar(x_1795)) { - x_1796 = lean_alloc_ctor(1, 2, 0); -} else { - x_1796 = x_1795; -} -lean_ctor_set(x_1796, 0, x_1793); -lean_ctor_set(x_1796, 1, x_1794); -return x_1796; -} -} -} -else -{ -lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; uint8_t 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; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; uint8_t x_1831; uint8_t x_1832; lean_object* x_1833; 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_object* x_1840; lean_object* x_1841; -x_1797 = l_Lean_Syntax_getIdAt(x_1662, x_1660); -lean_dec(x_1662); -x_1798 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_1799 = lean_ctor_get(x_1798, 0); -lean_inc(x_1799); -x_1800 = lean_ctor_get(x_1798, 1); -lean_inc(x_1800); -lean_dec(x_1798); -x_1801 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_1802 = 0; -lean_inc_n(x_1797, 2); -x_1803 = lean_local_ctx_mk_local_decl(x_1799, x_1797, x_1797, x_1801, x_1802); -x_1804 = l_Array_eraseIdx___rarg(x_1656, x_1660); -x_1805 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_1800); -x_1806 = lean_ctor_get(x_1805, 1); +x_1795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1795, 0, x_1792); +lean_ctor_set(x_1795, 1, x_1794); +x_1796 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1797 = lean_array_push(x_1796, x_1795); +x_1798 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1799 = lean_array_push(x_1797, x_1798); +x_1800 = lean_array_push(x_1799, x_1639); +x_1801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1801, 0, x_1790); +lean_ctor_set(x_1801, 1, x_1800); +x_1802 = lean_ctor_get(x_2, 0); +lean_inc(x_1802); +x_1803 = lean_ctor_get(x_2, 1); +lean_inc(x_1803); +x_1804 = lean_ctor_get(x_2, 2); +lean_inc(x_1804); +x_1805 = lean_ctor_get(x_2, 3); +lean_inc(x_1805); +x_1806 = lean_ctor_get(x_2, 4); lean_inc(x_1806); -lean_dec(x_1805); -x_1807 = l_Lean_Elab_Term_getMainModule___rarg(x_1806); -x_1808 = lean_ctor_get(x_1807, 1); +x_1807 = lean_ctor_get(x_2, 5); +lean_inc(x_1807); +x_1808 = lean_ctor_get(x_2, 6); lean_inc(x_1808); -lean_dec(x_1807); -x_1809 = lean_name_mk_string(x_1665, x_1430); -x_1810 = l_Lean_nullKind___closed__1; -x_1811 = lean_name_mk_string(x_118, x_1810); -x_1812 = l_Array_empty___closed__1; -x_1813 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1804, x_1804, x_1660, x_1812); -lean_dec(x_1804); -x_1814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1814, 0, x_1811); -lean_ctor_set(x_1814, 1, x_1813); -x_1815 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_1816 = lean_array_push(x_1815, x_1814); -x_1817 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1818 = lean_array_push(x_1816, x_1817); -x_1819 = lean_array_push(x_1818, x_1658); -x_1820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1820, 0, x_1809); -lean_ctor_set(x_1820, 1, x_1819); -x_1821 = lean_ctor_get(x_2, 0); -lean_inc(x_1821); -x_1822 = lean_ctor_get(x_2, 1); -lean_inc(x_1822); -x_1823 = lean_ctor_get(x_2, 2); -lean_inc(x_1823); -x_1824 = lean_ctor_get(x_2, 3); -lean_inc(x_1824); -x_1825 = lean_ctor_get(x_2, 4); -lean_inc(x_1825); -x_1826 = lean_ctor_get(x_2, 5); -lean_inc(x_1826); -x_1827 = lean_ctor_get(x_2, 6); -lean_inc(x_1827); -x_1828 = lean_ctor_get(x_2, 7); -lean_inc(x_1828); -x_1829 = lean_ctor_get(x_2, 8); -lean_inc(x_1829); -x_1830 = lean_ctor_get(x_2, 9); -lean_inc(x_1830); -x_1831 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_1832 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_1809 = lean_ctor_get(x_2, 7); +lean_inc(x_1809); +x_1810 = lean_ctor_get(x_2, 8); +lean_inc(x_1810); +x_1811 = lean_ctor_get(x_2, 9); +lean_inc(x_1811); +x_1812 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_1813 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -20731,1172 +20886,1172 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_1833 = x_2; + x_1814 = x_2; } else { lean_dec_ref(x_2); + x_1814 = lean_box(0); +} +x_1815 = lean_ctor_get(x_1802, 0); +lean_inc(x_1815); +x_1816 = lean_ctor_get(x_1802, 2); +lean_inc(x_1816); +x_1817 = lean_ctor_get(x_1802, 3); +lean_inc(x_1817); +x_1818 = lean_ctor_get(x_1802, 4); +lean_inc(x_1818); +if (lean_is_exclusive(x_1802)) { + lean_ctor_release(x_1802, 0); + lean_ctor_release(x_1802, 1); + lean_ctor_release(x_1802, 2); + lean_ctor_release(x_1802, 3); + lean_ctor_release(x_1802, 4); + x_1819 = x_1802; +} else { + lean_dec_ref(x_1802); + x_1819 = lean_box(0); +} +lean_inc(x_1784); +if (lean_is_scalar(x_1819)) { + x_1820 = lean_alloc_ctor(0, 5, 0); +} else { + x_1820 = x_1819; +} +lean_ctor_set(x_1820, 0, x_1815); +lean_ctor_set(x_1820, 1, x_1784); +lean_ctor_set(x_1820, 2, x_1816); +lean_ctor_set(x_1820, 3, x_1817); +lean_ctor_set(x_1820, 4, x_1818); +if (lean_is_scalar(x_1814)) { + x_1821 = lean_alloc_ctor(0, 10, 2); +} else { + x_1821 = x_1814; +} +lean_ctor_set(x_1821, 0, x_1820); +lean_ctor_set(x_1821, 1, x_1803); +lean_ctor_set(x_1821, 2, x_1804); +lean_ctor_set(x_1821, 3, x_1805); +lean_ctor_set(x_1821, 4, x_1806); +lean_ctor_set(x_1821, 5, x_1807); +lean_ctor_set(x_1821, 6, x_1808); +lean_ctor_set(x_1821, 7, x_1809); +lean_ctor_set(x_1821, 8, x_1810); +lean_ctor_set(x_1821, 9, x_1811); +lean_ctor_set_uint8(x_1821, sizeof(void*)*10, x_1812); +lean_ctor_set_uint8(x_1821, sizeof(void*)*10 + 1, x_1813); +x_1822 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1801, x_1821, x_1789); +if (lean_obj_tag(x_1822) == 0) +{ +lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; +x_1823 = lean_ctor_get(x_1822, 0); +lean_inc(x_1823); +x_1824 = lean_ctor_get(x_1822, 1); +lean_inc(x_1824); +if (lean_is_exclusive(x_1822)) { + lean_ctor_release(x_1822, 0); + lean_ctor_release(x_1822, 1); + x_1825 = x_1822; +} else { + lean_dec_ref(x_1822); + x_1825 = lean_box(0); +} +x_1826 = l_Lean_mkFVar(x_1778); +x_1827 = l_Lean_mkOptionalNode___closed__2; +x_1828 = lean_array_push(x_1827, x_1826); +x_1829 = l_Lean_LocalContext_mkLambda(x_1784, x_1828, x_1823); +lean_dec(x_1823); +lean_dec(x_1828); +if (lean_is_scalar(x_1825)) { + x_1830 = lean_alloc_ctor(0, 2, 0); +} else { + x_1830 = x_1825; +} +lean_ctor_set(x_1830, 0, x_1829); +lean_ctor_set(x_1830, 1, x_1824); +return x_1830; +} +else +{ +lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; +lean_dec(x_1784); +lean_dec(x_1778); +x_1831 = lean_ctor_get(x_1822, 0); +lean_inc(x_1831); +x_1832 = lean_ctor_get(x_1822, 1); +lean_inc(x_1832); +if (lean_is_exclusive(x_1822)) { + lean_ctor_release(x_1822, 0); + lean_ctor_release(x_1822, 1); + x_1833 = x_1822; +} else { + lean_dec_ref(x_1822); x_1833 = lean_box(0); } -x_1834 = lean_ctor_get(x_1821, 0); -lean_inc(x_1834); -x_1835 = lean_ctor_get(x_1821, 2); -lean_inc(x_1835); -x_1836 = lean_ctor_get(x_1821, 3); -lean_inc(x_1836); -x_1837 = lean_ctor_get(x_1821, 4); -lean_inc(x_1837); -if (lean_is_exclusive(x_1821)) { - lean_ctor_release(x_1821, 0); - lean_ctor_release(x_1821, 1); - lean_ctor_release(x_1821, 2); - lean_ctor_release(x_1821, 3); - lean_ctor_release(x_1821, 4); - x_1838 = x_1821; -} else { - lean_dec_ref(x_1821); - x_1838 = lean_box(0); -} -lean_inc(x_1803); -if (lean_is_scalar(x_1838)) { - x_1839 = lean_alloc_ctor(0, 5, 0); -} else { - x_1839 = x_1838; -} -lean_ctor_set(x_1839, 0, x_1834); -lean_ctor_set(x_1839, 1, x_1803); -lean_ctor_set(x_1839, 2, x_1835); -lean_ctor_set(x_1839, 3, x_1836); -lean_ctor_set(x_1839, 4, x_1837); if (lean_is_scalar(x_1833)) { - x_1840 = lean_alloc_ctor(0, 10, 2); + x_1834 = lean_alloc_ctor(1, 2, 0); } else { - x_1840 = x_1833; + x_1834 = x_1833; } -lean_ctor_set(x_1840, 0, x_1839); -lean_ctor_set(x_1840, 1, x_1822); -lean_ctor_set(x_1840, 2, x_1823); -lean_ctor_set(x_1840, 3, x_1824); -lean_ctor_set(x_1840, 4, x_1825); -lean_ctor_set(x_1840, 5, x_1826); -lean_ctor_set(x_1840, 6, x_1827); -lean_ctor_set(x_1840, 7, x_1828); -lean_ctor_set(x_1840, 8, x_1829); -lean_ctor_set(x_1840, 9, x_1830); -lean_ctor_set_uint8(x_1840, sizeof(void*)*10, x_1831); -lean_ctor_set_uint8(x_1840, sizeof(void*)*10 + 1, x_1832); -x_1841 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_1820, x_1840, x_1808); -if (lean_obj_tag(x_1841) == 0) -{ -lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; -x_1842 = lean_ctor_get(x_1841, 0); -lean_inc(x_1842); -x_1843 = lean_ctor_get(x_1841, 1); -lean_inc(x_1843); -if (lean_is_exclusive(x_1841)) { - lean_ctor_release(x_1841, 0); - lean_ctor_release(x_1841, 1); - x_1844 = x_1841; -} else { - lean_dec_ref(x_1841); - x_1844 = lean_box(0); -} -x_1845 = l_Lean_mkFVar(x_1797); -x_1846 = l_Lean_mkOptionalNode___closed__2; -x_1847 = lean_array_push(x_1846, x_1845); -x_1848 = l_Lean_LocalContext_mkLambda(x_1803, x_1847, x_1842); -lean_dec(x_1842); -lean_dec(x_1847); -if (lean_is_scalar(x_1844)) { - x_1849 = lean_alloc_ctor(0, 2, 0); -} else { - x_1849 = x_1844; -} -lean_ctor_set(x_1849, 0, x_1848); -lean_ctor_set(x_1849, 1, x_1843); -return x_1849; -} -else -{ -lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; -lean_dec(x_1803); -lean_dec(x_1797); -x_1850 = lean_ctor_get(x_1841, 0); -lean_inc(x_1850); -x_1851 = lean_ctor_get(x_1841, 1); -lean_inc(x_1851); -if (lean_is_exclusive(x_1841)) { - lean_ctor_release(x_1841, 0); - lean_ctor_release(x_1841, 1); - x_1852 = x_1841; -} else { - lean_dec_ref(x_1841); - x_1852 = lean_box(0); -} -if (lean_is_scalar(x_1852)) { - x_1853 = lean_alloc_ctor(1, 2, 0); -} else { - x_1853 = x_1852; -} -lean_ctor_set(x_1853, 0, x_1850); -lean_ctor_set(x_1853, 1, x_1851); -return x_1853; +lean_ctor_set(x_1834, 0, x_1831); +lean_ctor_set(x_1834, 1, x_1832); +return x_1834; } } } else { -lean_dec(x_1656); -x_1 = x_1658; +lean_dec(x_1637); +x_1 = x_1639; goto _start; } } } else { -lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; -lean_dec(x_1405); -lean_free_object(x_116); -lean_free_object(x_106); -lean_dec(x_119); -x_1855 = l_Lean_Syntax_inhabited; -x_1856 = lean_unsigned_to_nat(0u); -x_1857 = lean_array_get(x_1855, x_4, x_1856); +lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; +lean_dec(x_1375); +lean_free_object(x_25); +lean_free_object(x_15); +lean_dec(x_28); +x_1836 = l_Lean_Syntax_inhabited; +x_1837 = lean_unsigned_to_nat(0u); +x_1838 = lean_array_get(x_1836, x_4, x_1837); lean_dec(x_4); -if (lean_obj_tag(x_1857) == 3) +if (lean_obj_tag(x_1838) == 3) { -lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; -x_1858 = lean_ctor_get(x_1857, 2); -lean_inc(x_1858); -x_1859 = lean_ctor_get(x_1857, 3); -lean_inc(x_1859); -lean_dec(x_1857); -x_1860 = lean_box(0); +lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; +x_1839 = lean_ctor_get(x_1838, 2); +lean_inc(x_1839); +x_1840 = lean_ctor_get(x_1838, 3); +lean_inc(x_1840); +lean_dec(x_1838); +x_1841 = lean_box(0); lean_inc(x_2); -x_1861 = l_Lean_Elab_Term_resolveName(x_1, x_1858, x_1859, x_1860, x_2, x_3); +x_1842 = l_Lean_Elab_Term_resolveName(x_1, x_1839, x_1840, x_1841, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_1861) == 0) +if (lean_obj_tag(x_1842) == 0) { -lean_object* x_1862; -x_1862 = lean_ctor_get(x_1861, 0); -lean_inc(x_1862); -if (lean_obj_tag(x_1862) == 0) +lean_object* x_1843; +x_1843 = lean_ctor_get(x_1842, 0); +lean_inc(x_1843); +if (lean_obj_tag(x_1843) == 0) { -lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; -x_1863 = lean_ctor_get(x_1861, 1); -lean_inc(x_1863); -lean_dec(x_1861); -x_1864 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1865 = l_unreachable_x21___rarg(x_1864); -x_1866 = lean_apply_2(x_1865, x_2, x_1863); -return x_1866; +lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; +x_1844 = lean_ctor_get(x_1842, 1); +lean_inc(x_1844); +lean_dec(x_1842); +x_1845 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1846 = l_unreachable_x21___rarg(x_1845); +x_1847 = lean_apply_2(x_1846, x_2, x_1844); +return x_1847; } else { -lean_object* x_1867; lean_object* x_1868; +lean_object* x_1848; lean_object* x_1849; lean_dec(x_2); -x_1867 = lean_ctor_get(x_1862, 0); -lean_inc(x_1867); -lean_dec(x_1862); -x_1868 = lean_ctor_get(x_1867, 0); -lean_inc(x_1868); -switch (lean_obj_tag(x_1868)) { +x_1848 = lean_ctor_get(x_1843, 0); +lean_inc(x_1848); +lean_dec(x_1843); +x_1849 = lean_ctor_get(x_1848, 0); +lean_inc(x_1849); +switch (lean_obj_tag(x_1849)) { case 0: { -lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; -x_1869 = lean_ctor_get(x_1861, 1); -lean_inc(x_1869); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1870 = x_1861; +lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; +x_1850 = lean_ctor_get(x_1842, 1); +lean_inc(x_1850); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1851 = x_1842; } else { - lean_dec_ref(x_1861); - x_1870 = lean_box(0); + lean_dec_ref(x_1842); + x_1851 = lean_box(0); } -x_1871 = lean_ctor_get(x_1867, 1); -lean_inc(x_1871); -lean_dec(x_1867); -x_1872 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_1868, x_1871); -if (lean_is_scalar(x_1870)) { - x_1873 = lean_alloc_ctor(0, 2, 0); +x_1852 = lean_ctor_get(x_1848, 1); +lean_inc(x_1852); +lean_dec(x_1848); +x_1853 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_1849, x_1852); +if (lean_is_scalar(x_1851)) { + x_1854 = lean_alloc_ctor(0, 2, 0); } else { - x_1873 = x_1870; + x_1854 = x_1851; } -lean_ctor_set(x_1873, 0, x_1872); -lean_ctor_set(x_1873, 1, x_1869); -return x_1873; +lean_ctor_set(x_1854, 0, x_1853); +lean_ctor_set(x_1854, 1, x_1850); +return x_1854; } case 1: { -lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; -x_1874 = lean_ctor_get(x_1861, 1); -lean_inc(x_1874); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1875 = x_1861; +lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; +x_1855 = lean_ctor_get(x_1842, 1); +lean_inc(x_1855); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1856 = x_1842; } else { - lean_dec_ref(x_1861); - x_1875 = lean_box(0); + lean_dec_ref(x_1842); + x_1856 = lean_box(0); } -x_1876 = lean_ctor_get(x_1867, 1); -lean_inc(x_1876); -lean_dec(x_1867); -x_1877 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_1868, x_1876); -if (lean_is_scalar(x_1875)) { - x_1878 = lean_alloc_ctor(0, 2, 0); +x_1857 = lean_ctor_get(x_1848, 1); +lean_inc(x_1857); +lean_dec(x_1848); +x_1858 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_1849, x_1857); +if (lean_is_scalar(x_1856)) { + x_1859 = lean_alloc_ctor(0, 2, 0); } else { - x_1878 = x_1875; + x_1859 = x_1856; } -lean_ctor_set(x_1878, 0, x_1877); -lean_ctor_set(x_1878, 1, x_1874); -return x_1878; +lean_ctor_set(x_1859, 0, x_1858); +lean_ctor_set(x_1859, 1, x_1855); +return x_1859; } case 2: { -lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; -x_1879 = lean_ctor_get(x_1861, 1); -lean_inc(x_1879); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1880 = x_1861; +lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; +x_1860 = lean_ctor_get(x_1842, 1); +lean_inc(x_1860); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1861 = x_1842; } else { - lean_dec_ref(x_1861); - x_1880 = lean_box(0); + lean_dec_ref(x_1842); + x_1861 = lean_box(0); } -x_1881 = lean_ctor_get(x_1867, 1); -lean_inc(x_1881); -lean_dec(x_1867); -x_1882 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_1868, x_1881); -if (lean_is_scalar(x_1880)) { - x_1883 = lean_alloc_ctor(0, 2, 0); +x_1862 = lean_ctor_get(x_1848, 1); +lean_inc(x_1862); +lean_dec(x_1848); +x_1863 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_1849, x_1862); +if (lean_is_scalar(x_1861)) { + x_1864 = lean_alloc_ctor(0, 2, 0); } else { - x_1883 = x_1880; + x_1864 = x_1861; } -lean_ctor_set(x_1883, 0, x_1882); -lean_ctor_set(x_1883, 1, x_1879); -return x_1883; +lean_ctor_set(x_1864, 0, x_1863); +lean_ctor_set(x_1864, 1, x_1860); +return x_1864; } case 3: { -lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; -x_1884 = lean_ctor_get(x_1861, 1); -lean_inc(x_1884); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1885 = x_1861; +lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; +x_1865 = lean_ctor_get(x_1842, 1); +lean_inc(x_1865); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1866 = x_1842; } else { - lean_dec_ref(x_1861); - x_1885 = lean_box(0); + lean_dec_ref(x_1842); + x_1866 = lean_box(0); } -x_1886 = lean_ctor_get(x_1867, 1); -lean_inc(x_1886); -lean_dec(x_1867); -x_1887 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_1868, x_1886); -if (lean_is_scalar(x_1885)) { - x_1888 = lean_alloc_ctor(0, 2, 0); +x_1867 = lean_ctor_get(x_1848, 1); +lean_inc(x_1867); +lean_dec(x_1848); +x_1868 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_1849, x_1867); +if (lean_is_scalar(x_1866)) { + x_1869 = lean_alloc_ctor(0, 2, 0); } else { - x_1888 = x_1885; + x_1869 = x_1866; } -lean_ctor_set(x_1888, 0, x_1887); -lean_ctor_set(x_1888, 1, x_1884); -return x_1888; +lean_ctor_set(x_1869, 0, x_1868); +lean_ctor_set(x_1869, 1, x_1865); +return x_1869; } case 4: { -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; -x_1889 = lean_ctor_get(x_1861, 1); -lean_inc(x_1889); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1890 = x_1861; +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; +x_1870 = lean_ctor_get(x_1842, 1); +lean_inc(x_1870); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1871 = x_1842; } else { - lean_dec_ref(x_1861); - x_1890 = lean_box(0); + lean_dec_ref(x_1842); + x_1871 = lean_box(0); } -x_1891 = lean_ctor_get(x_1867, 1); -lean_inc(x_1891); -lean_dec(x_1867); -x_1892 = lean_ctor_get(x_1868, 0); -lean_inc(x_1892); -lean_dec(x_1868); -x_1893 = l_Lean_mkConst(x_1892, x_1860); -x_1894 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_1893, x_1891); -if (lean_is_scalar(x_1890)) { - x_1895 = lean_alloc_ctor(0, 2, 0); +x_1872 = lean_ctor_get(x_1848, 1); +lean_inc(x_1872); +lean_dec(x_1848); +x_1873 = lean_ctor_get(x_1849, 0); +lean_inc(x_1873); +lean_dec(x_1849); +x_1874 = l_Lean_mkConst(x_1873, x_1841); +x_1875 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_1874, x_1872); +if (lean_is_scalar(x_1871)) { + x_1876 = lean_alloc_ctor(0, 2, 0); } else { - x_1895 = x_1890; + x_1876 = x_1871; } -lean_ctor_set(x_1895, 0, x_1894); -lean_ctor_set(x_1895, 1, x_1889); -return x_1895; +lean_ctor_set(x_1876, 0, x_1875); +lean_ctor_set(x_1876, 1, x_1870); +return x_1876; } case 5: { -lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; -x_1896 = lean_ctor_get(x_1861, 1); -lean_inc(x_1896); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1897 = x_1861; +lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; +x_1877 = lean_ctor_get(x_1842, 1); +lean_inc(x_1877); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1878 = x_1842; } else { - lean_dec_ref(x_1861); - x_1897 = lean_box(0); + lean_dec_ref(x_1842); + x_1878 = lean_box(0); } -x_1898 = lean_ctor_get(x_1867, 1); -lean_inc(x_1898); -lean_dec(x_1867); -x_1899 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_1868, x_1898); -if (lean_is_scalar(x_1897)) { - x_1900 = lean_alloc_ctor(0, 2, 0); +x_1879 = lean_ctor_get(x_1848, 1); +lean_inc(x_1879); +lean_dec(x_1848); +x_1880 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_1849, x_1879); +if (lean_is_scalar(x_1878)) { + x_1881 = lean_alloc_ctor(0, 2, 0); } else { - x_1900 = x_1897; + x_1881 = x_1878; } -lean_ctor_set(x_1900, 0, x_1899); -lean_ctor_set(x_1900, 1, x_1896); -return x_1900; +lean_ctor_set(x_1881, 0, x_1880); +lean_ctor_set(x_1881, 1, x_1877); +return x_1881; } case 6: { -lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; -x_1901 = lean_ctor_get(x_1861, 1); -lean_inc(x_1901); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1902 = x_1861; +lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; +x_1882 = lean_ctor_get(x_1842, 1); +lean_inc(x_1882); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1883 = x_1842; } else { - lean_dec_ref(x_1861); - x_1902 = lean_box(0); + lean_dec_ref(x_1842); + x_1883 = lean_box(0); } -x_1903 = lean_ctor_get(x_1867, 1); -lean_inc(x_1903); -lean_dec(x_1867); -x_1904 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_1868, x_1903); -if (lean_is_scalar(x_1902)) { - x_1905 = lean_alloc_ctor(0, 2, 0); +x_1884 = lean_ctor_get(x_1848, 1); +lean_inc(x_1884); +lean_dec(x_1848); +x_1885 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_1849, x_1884); +if (lean_is_scalar(x_1883)) { + x_1886 = lean_alloc_ctor(0, 2, 0); } else { - x_1905 = x_1902; + x_1886 = x_1883; } -lean_ctor_set(x_1905, 0, x_1904); -lean_ctor_set(x_1905, 1, x_1901); -return x_1905; +lean_ctor_set(x_1886, 0, x_1885); +lean_ctor_set(x_1886, 1, x_1882); +return x_1886; } case 7: { -lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; -x_1906 = lean_ctor_get(x_1861, 1); -lean_inc(x_1906); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1907 = x_1861; +lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; +x_1887 = lean_ctor_get(x_1842, 1); +lean_inc(x_1887); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1888 = x_1842; } else { - lean_dec_ref(x_1861); - x_1907 = lean_box(0); + lean_dec_ref(x_1842); + x_1888 = lean_box(0); } -x_1908 = lean_ctor_get(x_1867, 1); -lean_inc(x_1908); -lean_dec(x_1867); -x_1909 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_1868, x_1908); -if (lean_is_scalar(x_1907)) { - x_1910 = lean_alloc_ctor(0, 2, 0); +x_1889 = lean_ctor_get(x_1848, 1); +lean_inc(x_1889); +lean_dec(x_1848); +x_1890 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_1849, x_1889); +if (lean_is_scalar(x_1888)) { + x_1891 = lean_alloc_ctor(0, 2, 0); } else { - x_1910 = x_1907; + x_1891 = x_1888; } -lean_ctor_set(x_1910, 0, x_1909); -lean_ctor_set(x_1910, 1, x_1906); -return x_1910; +lean_ctor_set(x_1891, 0, x_1890); +lean_ctor_set(x_1891, 1, x_1887); +return x_1891; } case 8: { -lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; -x_1911 = lean_ctor_get(x_1861, 1); -lean_inc(x_1911); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1912 = x_1861; +lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; +x_1892 = lean_ctor_get(x_1842, 1); +lean_inc(x_1892); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1893 = x_1842; } else { - lean_dec_ref(x_1861); - x_1912 = lean_box(0); + lean_dec_ref(x_1842); + x_1893 = lean_box(0); } -x_1913 = lean_ctor_get(x_1867, 1); -lean_inc(x_1913); -lean_dec(x_1867); -x_1914 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_1868, x_1913); -if (lean_is_scalar(x_1912)) { - x_1915 = lean_alloc_ctor(0, 2, 0); +x_1894 = lean_ctor_get(x_1848, 1); +lean_inc(x_1894); +lean_dec(x_1848); +x_1895 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_1849, x_1894); +if (lean_is_scalar(x_1893)) { + x_1896 = lean_alloc_ctor(0, 2, 0); } else { - x_1915 = x_1912; + x_1896 = x_1893; } -lean_ctor_set(x_1915, 0, x_1914); -lean_ctor_set(x_1915, 1, x_1911); -return x_1915; +lean_ctor_set(x_1896, 0, x_1895); +lean_ctor_set(x_1896, 1, x_1892); +return x_1896; } case 9: { -lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; -x_1916 = lean_ctor_get(x_1861, 1); -lean_inc(x_1916); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1917 = x_1861; +lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; +x_1897 = lean_ctor_get(x_1842, 1); +lean_inc(x_1897); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1898 = x_1842; } else { - lean_dec_ref(x_1861); - x_1917 = lean_box(0); + lean_dec_ref(x_1842); + x_1898 = lean_box(0); } -x_1918 = lean_ctor_get(x_1867, 1); -lean_inc(x_1918); -lean_dec(x_1867); -x_1919 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_1868, x_1918); -if (lean_is_scalar(x_1917)) { - x_1920 = lean_alloc_ctor(0, 2, 0); +x_1899 = lean_ctor_get(x_1848, 1); +lean_inc(x_1899); +lean_dec(x_1848); +x_1900 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_1849, x_1899); +if (lean_is_scalar(x_1898)) { + x_1901 = lean_alloc_ctor(0, 2, 0); } else { - x_1920 = x_1917; + x_1901 = x_1898; } -lean_ctor_set(x_1920, 0, x_1919); -lean_ctor_set(x_1920, 1, x_1916); -return x_1920; +lean_ctor_set(x_1901, 0, x_1900); +lean_ctor_set(x_1901, 1, x_1897); +return x_1901; } case 10: { -lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; -x_1921 = lean_ctor_get(x_1861, 1); -lean_inc(x_1921); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1922 = x_1861; +lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; +x_1902 = lean_ctor_get(x_1842, 1); +lean_inc(x_1902); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1903 = x_1842; } else { - lean_dec_ref(x_1861); - x_1922 = lean_box(0); + lean_dec_ref(x_1842); + x_1903 = lean_box(0); } -x_1923 = lean_ctor_get(x_1867, 1); -lean_inc(x_1923); -lean_dec(x_1867); -x_1924 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_1868, x_1923); -if (lean_is_scalar(x_1922)) { - x_1925 = lean_alloc_ctor(0, 2, 0); +x_1904 = lean_ctor_get(x_1848, 1); +lean_inc(x_1904); +lean_dec(x_1848); +x_1905 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_1849, x_1904); +if (lean_is_scalar(x_1903)) { + x_1906 = lean_alloc_ctor(0, 2, 0); } else { - x_1925 = x_1922; + x_1906 = x_1903; } -lean_ctor_set(x_1925, 0, x_1924); -lean_ctor_set(x_1925, 1, x_1921); -return x_1925; +lean_ctor_set(x_1906, 0, x_1905); +lean_ctor_set(x_1906, 1, x_1902); +return x_1906; } case 11: { -lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; -x_1926 = lean_ctor_get(x_1861, 1); -lean_inc(x_1926); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1927 = x_1861; +lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; +x_1907 = lean_ctor_get(x_1842, 1); +lean_inc(x_1907); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1908 = x_1842; } else { - lean_dec_ref(x_1861); - x_1927 = lean_box(0); + lean_dec_ref(x_1842); + x_1908 = lean_box(0); } -x_1928 = lean_ctor_get(x_1867, 1); -lean_inc(x_1928); -lean_dec(x_1867); -x_1929 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_1868, x_1928); -if (lean_is_scalar(x_1927)) { - x_1930 = lean_alloc_ctor(0, 2, 0); +x_1909 = lean_ctor_get(x_1848, 1); +lean_inc(x_1909); +lean_dec(x_1848); +x_1910 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_1849, x_1909); +if (lean_is_scalar(x_1908)) { + x_1911 = lean_alloc_ctor(0, 2, 0); } else { - x_1930 = x_1927; + x_1911 = x_1908; } -lean_ctor_set(x_1930, 0, x_1929); -lean_ctor_set(x_1930, 1, x_1926); -return x_1930; +lean_ctor_set(x_1911, 0, x_1910); +lean_ctor_set(x_1911, 1, x_1907); +return x_1911; } default: { -lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; -x_1931 = lean_ctor_get(x_1861, 1); -lean_inc(x_1931); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1932 = x_1861; +lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; +x_1912 = lean_ctor_get(x_1842, 1); +lean_inc(x_1912); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1913 = x_1842; } else { - lean_dec_ref(x_1861); + lean_dec_ref(x_1842); + x_1913 = lean_box(0); +} +x_1914 = lean_ctor_get(x_1848, 1); +lean_inc(x_1914); +lean_dec(x_1848); +x_1915 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_1849, x_1914); +if (lean_is_scalar(x_1913)) { + x_1916 = lean_alloc_ctor(0, 2, 0); +} else { + x_1916 = x_1913; +} +lean_ctor_set(x_1916, 0, x_1915); +lean_ctor_set(x_1916, 1, x_1912); +return x_1916; +} +} +} +} +else +{ +lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; +lean_dec(x_2); +x_1917 = lean_ctor_get(x_1842, 0); +lean_inc(x_1917); +x_1918 = lean_ctor_get(x_1842, 1); +lean_inc(x_1918); +if (lean_is_exclusive(x_1842)) { + lean_ctor_release(x_1842, 0); + lean_ctor_release(x_1842, 1); + x_1919 = x_1842; +} else { + lean_dec_ref(x_1842); + x_1919 = lean_box(0); +} +if (lean_is_scalar(x_1919)) { + x_1920 = lean_alloc_ctor(1, 2, 0); +} else { + x_1920 = x_1919; +} +lean_ctor_set(x_1920, 0, x_1917); +lean_ctor_set(x_1920, 1, x_1918); +return x_1920; +} +} +else +{ +lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; +lean_dec(x_1838); +lean_dec(x_1); +x_1921 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_1922 = l_unreachable_x21___rarg(x_1921); +x_1923 = lean_apply_2(x_1922, x_2, x_3); +return x_1923; +} +} +} +} +} +} +} +else +{ +lean_object* x_1924; size_t x_1925; lean_object* x_1926; size_t x_1927; lean_object* x_1928; lean_object* x_1929; uint8_t x_1930; +x_1924 = lean_ctor_get(x_25, 1); +x_1925 = lean_ctor_get_usize(x_25, 2); +lean_inc(x_1924); +lean_dec(x_25); +x_1926 = lean_ctor_get(x_26, 1); +lean_inc(x_1926); +x_1927 = lean_ctor_get_usize(x_26, 2); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_1928 = x_26; +} else { + lean_dec_ref(x_26); + x_1928 = lean_box(0); +} +x_1929 = l_Lean_mkAppStx___closed__1; +x_1930 = lean_string_dec_eq(x_1926, x_1929); +lean_dec(x_1926); +if (x_1930 == 0) +{ +lean_object* x_1931; +lean_dec(x_1928); +lean_dec(x_1924); +lean_free_object(x_15); +lean_dec(x_31); +lean_dec(x_28); +lean_dec(x_4); +x_1931 = lean_box(0); +x_6 = x_1931; +goto block_14; +} +else +{ +lean_object* x_1932; lean_object* x_1933; uint8_t x_1934; +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_1932 = x_5; +} else { + lean_dec_ref(x_5); x_1932 = lean_box(0); } -x_1933 = lean_ctor_get(x_1867, 1); -lean_inc(x_1933); -lean_dec(x_1867); -x_1934 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_1868, x_1933); +x_1933 = l_Lean_mkAppStx___closed__3; +x_1934 = lean_string_dec_eq(x_1924, x_1933); +if (x_1934 == 0) +{ +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_dec(x_4); +if (lean_is_scalar(x_1928)) { + x_1935 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_1935 = x_1928; +} +lean_ctor_set(x_1935, 0, x_27); +lean_ctor_set(x_1935, 1, x_1929); +lean_ctor_set_usize(x_1935, 2, x_1927); +x_1936 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1936, 0, x_1935); +lean_ctor_set(x_1936, 1, x_1924); +lean_ctor_set_usize(x_1936, 2, x_1925); +lean_ctor_set(x_15, 0, x_1936); if (lean_is_scalar(x_1932)) { - x_1935 = lean_alloc_ctor(0, 2, 0); + x_1937 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1935 = x_1932; + x_1937 = x_1932; } -lean_ctor_set(x_1935, 0, x_1934); -lean_ctor_set(x_1935, 1, x_1931); -return x_1935; -} -} -} -} -else -{ -lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; -lean_dec(x_2); -x_1936 = lean_ctor_get(x_1861, 0); -lean_inc(x_1936); -x_1937 = lean_ctor_get(x_1861, 1); -lean_inc(x_1937); -if (lean_is_exclusive(x_1861)) { - lean_ctor_release(x_1861, 0); - lean_ctor_release(x_1861, 1); - x_1938 = x_1861; -} else { - lean_dec_ref(x_1861); - x_1938 = lean_box(0); -} -if (lean_is_scalar(x_1938)) { - x_1939 = lean_alloc_ctor(1, 2, 0); -} else { - x_1939 = x_1938; -} -lean_ctor_set(x_1939, 0, x_1936); -lean_ctor_set(x_1939, 1, x_1937); -return x_1939; -} -} -else -{ -lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; -lean_dec(x_1857); +lean_ctor_set(x_1937, 0, x_15); +lean_ctor_set(x_1937, 1, x_28); +lean_ctor_set_usize(x_1937, 2, x_30); +x_1938 = l_System_FilePath_dirName___closed__1; +x_1939 = l_Lean_Name_toStringWithSep___main(x_1938, x_1937); +x_1940 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1940, 0, x_1939); +x_1941 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1941, 0, x_1940); +x_1942 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1943 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1943, 0, x_1942); +lean_ctor_set(x_1943, 1, x_1941); +x_1944 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1943, x_2, x_3); lean_dec(x_1); -x_1940 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_1941 = l_unreachable_x21___rarg(x_1940); -x_1942 = lean_apply_2(x_1941, x_2, x_3); -return x_1942; -} -} -} -} -} -} +return x_1944; } else { -lean_object* x_1943; size_t x_1944; lean_object* x_1945; size_t x_1946; lean_object* x_1947; lean_object* x_1948; uint8_t x_1949; -x_1943 = lean_ctor_get(x_116, 1); -x_1944 = lean_ctor_get_usize(x_116, 2); -lean_inc(x_1943); -lean_dec(x_116); -x_1945 = lean_ctor_get(x_117, 1); -lean_inc(x_1945); -x_1946 = lean_ctor_get_usize(x_117, 2); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_1947 = x_117; -} else { - lean_dec_ref(x_117); - x_1947 = lean_box(0); -} -x_1948 = l_Lean_mkAppStx___closed__1; -x_1949 = lean_string_dec_eq(x_1945, x_1948); -lean_dec(x_1945); -if (x_1949 == 0) +lean_object* x_1945; uint8_t x_1946; +lean_dec(x_1924); +x_1945 = l_Lean_mkAppStx___closed__5; +x_1946 = lean_string_dec_eq(x_31, x_1945); +if (x_1946 == 0) { -lean_object* x_1950; -lean_dec(x_1947); -lean_dec(x_1943); -lean_free_object(x_106); -lean_dec(x_122); -lean_dec(x_119); +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_dec(x_4); -x_1950 = lean_box(0); -x_97 = x_1950; -goto block_105; -} -else -{ -lean_object* x_1951; lean_object* x_1952; uint8_t x_1953; -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_1951 = x_96; +if (lean_is_scalar(x_1928)) { + x_1947 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_96); - x_1951 = lean_box(0); + x_1947 = x_1928; } -x_1952 = l_Lean_mkAppStx___closed__3; -x_1953 = lean_string_dec_eq(x_1943, x_1952); -if (x_1953 == 0) -{ -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_dec(x_4); -if (lean_is_scalar(x_1947)) { - x_1954 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1947, 0, x_27); +lean_ctor_set(x_1947, 1, x_1929); +lean_ctor_set_usize(x_1947, 2, x_1927); +x_1948 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1948, 0, x_1947); +lean_ctor_set(x_1948, 1, x_1933); +lean_ctor_set_usize(x_1948, 2, x_1925); +lean_ctor_set(x_15, 0, x_1948); +if (lean_is_scalar(x_1932)) { + x_1949 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1954 = x_1947; + x_1949 = x_1932; } -lean_ctor_set(x_1954, 0, x_118); -lean_ctor_set(x_1954, 1, x_1948); -lean_ctor_set_usize(x_1954, 2, x_1946); -x_1955 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1949, 0, x_15); +lean_ctor_set(x_1949, 1, x_28); +lean_ctor_set_usize(x_1949, 2, x_30); +x_1950 = l_System_FilePath_dirName___closed__1; +x_1951 = l_Lean_Name_toStringWithSep___main(x_1950, x_1949); +x_1952 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1952, 0, x_1951); +x_1953 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1953, 0, x_1952); +x_1954 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1955 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_1955, 0, x_1954); -lean_ctor_set(x_1955, 1, x_1943); -lean_ctor_set_usize(x_1955, 2, x_1944); -lean_ctor_set(x_106, 0, x_1955); -if (lean_is_scalar(x_1951)) { - x_1956 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1956 = x_1951; -} -lean_ctor_set(x_1956, 0, x_106); -lean_ctor_set(x_1956, 1, x_119); -lean_ctor_set_usize(x_1956, 2, x_121); -x_1957 = l_System_FilePath_dirName___closed__1; -x_1958 = l_Lean_Name_toStringWithSep___main(x_1957, x_1956); -x_1959 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1959, 0, x_1958); -x_1960 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1960, 0, x_1959); -x_1961 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_1962 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1962, 0, x_1961); -lean_ctor_set(x_1962, 1, x_1960); -x_1963 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1962, x_2, x_3); +lean_ctor_set(x_1955, 1, x_1953); +x_1956 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1955, x_2, x_3); lean_dec(x_1); -return x_1963; +return x_1956; } else { -lean_object* x_1964; uint8_t x_1965; -lean_dec(x_1943); -x_1964 = l_Lean_mkAppStx___closed__5; -x_1965 = lean_string_dec_eq(x_122, x_1964); -if (x_1965 == 0) +lean_object* x_1957; uint8_t x_1958; +lean_dec(x_31); +x_1957 = l_Lean_mkTermIdFromIdent___closed__1; +x_1958 = lean_string_dec_eq(x_28, x_1957); +if (x_1958 == 0) { -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_1959; uint8_t x_1960; +x_1959 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_1960 = lean_string_dec_eq(x_28, x_1959); +if (x_1960 == 0) +{ +lean_object* x_1961; uint8_t x_1962; +x_1961 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_1962 = lean_string_dec_eq(x_28, x_1961); +if (x_1962 == 0) +{ +lean_object* x_1963; uint8_t x_1964; +x_1963 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; +x_1964 = lean_string_dec_eq(x_28, x_1963); +if (x_1964 == 0) +{ +lean_object* x_1965; uint8_t x_1966; +x_1965 = l_Lean_mkAppStx___closed__7; +x_1966 = lean_string_dec_eq(x_28, x_1965); +if (x_1966 == 0) +{ +lean_object* x_1967; uint8_t x_1968; +x_1967 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_1968 = lean_string_dec_eq(x_28, x_1967); +if (x_1968 == 0) +{ +lean_object* x_1969; uint8_t x_1970; +x_1969 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1970 = lean_string_dec_eq(x_28, x_1969); +if (x_1970 == 0) +{ +lean_object* x_1971; uint8_t x_1972; +x_1971 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_1972 = lean_string_dec_eq(x_28, x_1971); +if (x_1972 == 0) +{ +lean_object* x_1973; uint8_t x_1974; +x_1973 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_1974 = lean_string_dec_eq(x_28, x_1973); +if (x_1974 == 0) +{ +lean_object* x_1975; uint8_t x_1976; lean_dec(x_4); -if (lean_is_scalar(x_1947)) { - x_1966 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_1975 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_1976 = lean_string_dec_eq(x_28, x_1975); +if (x_1976 == 0) +{ +lean_object* x_1977; uint8_t x_1978; +x_1977 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_1978 = lean_string_dec_eq(x_28, x_1977); +if (x_1978 == 0) +{ +lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; +if (lean_is_scalar(x_1928)) { + x_1979 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1966 = x_1947; + x_1979 = x_1928; } -lean_ctor_set(x_1966, 0, x_118); -lean_ctor_set(x_1966, 1, x_1948); -lean_ctor_set_usize(x_1966, 2, x_1946); -x_1967 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1967, 0, x_1966); -lean_ctor_set(x_1967, 1, x_1952); -lean_ctor_set_usize(x_1967, 2, x_1944); -lean_ctor_set(x_106, 0, x_1967); -if (lean_is_scalar(x_1951)) { - x_1968 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1979, 0, x_27); +lean_ctor_set(x_1979, 1, x_1929); +lean_ctor_set_usize(x_1979, 2, x_1927); +x_1980 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1980, 0, x_1979); +lean_ctor_set(x_1980, 1, x_1933); +lean_ctor_set_usize(x_1980, 2, x_1925); +lean_ctor_set(x_15, 1, x_1945); +lean_ctor_set(x_15, 0, x_1980); +if (lean_is_scalar(x_1932)) { + x_1981 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1968 = x_1951; + x_1981 = x_1932; } -lean_ctor_set(x_1968, 0, x_106); -lean_ctor_set(x_1968, 1, x_119); -lean_ctor_set_usize(x_1968, 2, x_121); -x_1969 = l_System_FilePath_dirName___closed__1; -x_1970 = l_Lean_Name_toStringWithSep___main(x_1969, x_1968); -x_1971 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1971, 0, x_1970); -x_1972 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1972, 0, x_1971); -x_1973 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_1974 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1974, 0, x_1973); -lean_ctor_set(x_1974, 1, x_1972); -x_1975 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1974, x_2, x_3); +lean_ctor_set(x_1981, 0, x_15); +lean_ctor_set(x_1981, 1, x_28); +lean_ctor_set_usize(x_1981, 2, x_30); +x_1982 = l_System_FilePath_dirName___closed__1; +x_1983 = l_Lean_Name_toStringWithSep___main(x_1982, x_1981); +x_1984 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1984, 0, x_1983); +x_1985 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1985, 0, x_1984); +x_1986 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_1987 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1987, 0, x_1986); +lean_ctor_set(x_1987, 1, x_1985); +x_1988 = l_Lean_Elab_Term_throwError___rarg(x_1, x_1987, x_2, x_3); lean_dec(x_1); -return x_1975; +return x_1988; } else { -lean_object* x_1976; uint8_t x_1977; -lean_dec(x_122); -x_1976 = l_Lean_mkTermIdFromIdent___closed__1; -x_1977 = lean_string_dec_eq(x_119, x_1976); -if (x_1977 == 0) +lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_1989 = lean_unsigned_to_nat(0u); +x_1990 = l_Lean_Syntax_getArg(x_1, x_1989); +lean_dec(x_1); +x_1991 = l_Lean_numLitKind; +x_1992 = l_Lean_Syntax_isNatLitAux(x_1991, x_1990); +lean_dec(x_1990); +if (lean_obj_tag(x_1992) == 0) { -lean_object* x_1978; uint8_t x_1979; -x_1978 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1979 = lean_string_dec_eq(x_119, x_1978); -if (x_1979 == 0) +lean_object* x_1993; lean_object* x_1994; +x_1993 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_1994 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1994, 0, x_1993); +lean_ctor_set(x_1994, 1, x_3); +return x_1994; +} +else { -lean_object* x_1980; uint8_t x_1981; -x_1980 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1981 = lean_string_dec_eq(x_119, x_1980); -if (x_1981 == 0) +lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; +x_1995 = lean_ctor_get(x_1992, 0); +lean_inc(x_1995); +lean_dec(x_1992); +x_1996 = l_Lean_mkNatLit(x_1995); +x_1997 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1997, 0, x_1996); +lean_ctor_set(x_1997, 1, x_3); +return x_1997; +} +} +} +else { -lean_object* x_1982; uint8_t x_1983; -x_1982 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; -x_1983 = lean_string_dec_eq(x_119, x_1982); -if (x_1983 == 0) +lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_2); +x_1998 = lean_unsigned_to_nat(0u); +x_1999 = l_Lean_Syntax_getArg(x_1, x_1998); +lean_dec(x_1); +x_2000 = l_Lean_Syntax_isStrLit_x3f(x_1999); +lean_dec(x_1999); +if (lean_obj_tag(x_2000) == 0) { -lean_object* x_1984; uint8_t x_1985; -x_1984 = l_Lean_mkAppStx___closed__7; -x_1985 = lean_string_dec_eq(x_119, x_1984); -if (x_1985 == 0) +lean_object* x_2001; lean_object* x_2002; +x_2001 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; +x_2002 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2002, 0, x_2001); +lean_ctor_set(x_2002, 1, x_3); +return x_2002; +} +else { -lean_object* x_1986; uint8_t x_1987; -x_1986 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_1987 = lean_string_dec_eq(x_119, x_1986); -if (x_1987 == 0) +lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; +x_2003 = lean_ctor_get(x_2000, 0); +lean_inc(x_2003); +lean_dec(x_2000); +x_2004 = l_Lean_mkStrLit(x_2003); +x_2005 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2005, 0, x_2004); +lean_ctor_set(x_2005, 1, x_3); +return x_2005; +} +} +} +else { -lean_object* x_1988; uint8_t x_1989; -x_1988 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_1989 = lean_string_dec_eq(x_119, x_1988); -if (x_1989 == 0) -{ -lean_object* x_1990; uint8_t x_1991; -x_1990 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1991 = lean_string_dec_eq(x_119, x_1990); -if (x_1991 == 0) -{ -lean_object* x_1992; uint8_t x_1993; -x_1992 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1993 = lean_string_dec_eq(x_119, x_1992); -if (x_1993 == 0) -{ -lean_object* x_1994; uint8_t x_1995; +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_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_2006 = l_Lean_Syntax_inhabited; +x_2007 = lean_unsigned_to_nat(0u); +x_2008 = lean_array_get(x_2006, x_4, x_2007); +x_2009 = lean_unsigned_to_nat(2u); +x_2010 = lean_array_get(x_2006, x_4, x_2009); lean_dec(x_4); -x_1994 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_1995 = lean_string_dec_eq(x_119, x_1994); -if (x_1995 == 0) -{ -lean_object* x_1996; uint8_t x_1997; -x_1996 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_1997 = lean_string_dec_eq(x_119, x_1996); -if (x_1997 == 0) -{ -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_object* x_2006; lean_object* x_2007; -if (lean_is_scalar(x_1947)) { - x_1998 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1998 = x_1947; +x_2011 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_2011, 0, x_27); +lean_closure_set(x_2011, 1, x_2008); +lean_closure_set(x_2011, 2, x_2010); +x_2012 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2013 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2013, 0, x_2012); +lean_closure_set(x_2013, 1, x_2011); +x_2014 = l_Lean_Unhygienic_run___rarg(x_2013); +x_1 = x_2014; +goto _start; } -lean_ctor_set(x_1998, 0, x_118); -lean_ctor_set(x_1998, 1, x_1948); -lean_ctor_set_usize(x_1998, 2, x_1946); -x_1999 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1999, 0, x_1998); -lean_ctor_set(x_1999, 1, x_1952); -lean_ctor_set_usize(x_1999, 2, x_1944); -lean_ctor_set(x_106, 1, x_1964); -lean_ctor_set(x_106, 0, x_1999); -if (lean_is_scalar(x_1951)) { - x_2000 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2000 = x_1951; } -lean_ctor_set(x_2000, 0, x_106); -lean_ctor_set(x_2000, 1, x_119); -lean_ctor_set_usize(x_2000, 2, x_121); -x_2001 = l_System_FilePath_dirName___closed__1; -x_2002 = l_Lean_Name_toStringWithSep___main(x_2001, x_2000); -x_2003 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2003, 0, x_2002); -x_2004 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2004, 0, x_2003); -x_2005 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_2006 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2006, 0, x_2005); -lean_ctor_set(x_2006, 1, x_2004); -x_2007 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2006, x_2, x_3); +else +{ +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_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -return x_2007; -} -else -{ -lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_2); -x_2008 = lean_unsigned_to_nat(0u); -x_2009 = l_Lean_Syntax_getArg(x_1, x_2008); -lean_dec(x_1); -x_2010 = l_Lean_numLitKind; -x_2011 = l_Lean_Syntax_isNatLitAux(x_2010, x_2009); -lean_dec(x_2009); -if (lean_obj_tag(x_2011) == 0) -{ -lean_object* x_2012; lean_object* x_2013; -x_2012 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; -x_2013 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2013, 0, x_2012); -lean_ctor_set(x_2013, 1, x_3); -return x_2013; -} -else -{ -lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; -x_2014 = lean_ctor_get(x_2011, 0); -lean_inc(x_2014); -lean_dec(x_2011); -x_2015 = l_Lean_mkNatLit(x_2014); -x_2016 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2016, 0, x_2015); -lean_ctor_set(x_2016, 1, x_3); -return x_2016; -} -} -} -else -{ -lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_2); +x_2016 = l_Lean_Syntax_inhabited; x_2017 = lean_unsigned_to_nat(0u); -x_2018 = l_Lean_Syntax_getArg(x_1, x_2017); -lean_dec(x_1); -x_2019 = l_Lean_Syntax_isStrLit_x3f(x_2018); -lean_dec(x_2018); -if (lean_obj_tag(x_2019) == 0) -{ -lean_object* x_2020; lean_object* x_2021; -x_2020 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; -x_2021 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2021, 0, x_2020); -lean_ctor_set(x_2021, 1, x_3); -return x_2021; -} -else -{ -lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; -x_2022 = lean_ctor_get(x_2019, 0); -lean_inc(x_2022); -lean_dec(x_2019); -x_2023 = l_Lean_mkStrLit(x_2022); -x_2024 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2024, 0, x_2023); -lean_ctor_set(x_2024, 1, x_3); -return x_2024; -} -} -} -else -{ -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_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_2025 = l_Lean_Syntax_inhabited; -x_2026 = lean_unsigned_to_nat(0u); -x_2027 = lean_array_get(x_2025, x_4, x_2026); -x_2028 = lean_unsigned_to_nat(2u); -x_2029 = lean_array_get(x_2025, x_4, x_2028); +x_2018 = lean_array_get(x_2016, x_4, x_2017); +x_2019 = lean_unsigned_to_nat(2u); +x_2020 = lean_array_get(x_2016, x_4, x_2019); lean_dec(x_4); -x_2030 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_2030, 0, x_118); -lean_closure_set(x_2030, 1, x_2027); -lean_closure_set(x_2030, 2, x_2029); -x_2031 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2032 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2032, 0, x_2031); -lean_closure_set(x_2032, 1, x_2030); -x_2033 = l_Lean_Unhygienic_run___rarg(x_2032); +x_2021 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_2021, 0, x_27); +lean_closure_set(x_2021, 1, x_2018); +lean_closure_set(x_2021, 2, x_2020); +x_2022 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2023 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2023, 0, x_2022); +lean_closure_set(x_2023, 1, x_2021); +x_2024 = l_Lean_Unhygienic_run___rarg(x_2023); +x_1 = x_2024; +goto _start; +} +} +else +{ +lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; uint8_t x_2032; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_2026 = l_Lean_Syntax_inhabited; +x_2027 = lean_unsigned_to_nat(1u); +x_2028 = lean_array_get(x_2026, x_4, x_2027); +lean_dec(x_4); +x_2029 = l_Lean_Syntax_getArgs(x_2028); +lean_dec(x_2028); +x_2030 = lean_array_get_size(x_2029); +x_2031 = lean_unsigned_to_nat(0u); +x_2032 = lean_nat_dec_eq(x_2030, x_2031); +lean_dec(x_2030); +if (x_2032 == 0) +{ +lean_object* x_2033; +x_2033 = lean_array_get(x_2026, x_2029, x_2031); +lean_dec(x_2029); x_1 = x_2033; goto _start; } -} else { -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_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_2035 = l_Lean_Syntax_inhabited; -x_2036 = lean_unsigned_to_nat(0u); -x_2037 = lean_array_get(x_2035, x_4, x_2036); -x_2038 = lean_unsigned_to_nat(2u); -x_2039 = lean_array_get(x_2035, x_4, x_2038); -lean_dec(x_4); -x_2040 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_2040, 0, x_118); -lean_closure_set(x_2040, 1, x_2037); -lean_closure_set(x_2040, 2, x_2039); -x_2041 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2042 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2042, 0, x_2041); -lean_closure_set(x_2042, 1, x_2040); -x_2043 = l_Lean_Unhygienic_run___rarg(x_2042); -x_1 = x_2043; -goto _start; +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_dec(x_2029); +lean_dec(x_2); +x_2035 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_2036 = lean_name_mk_string(x_27, x_2035); +x_2037 = l_Lean_Elab_Term_elabParen___closed__4; +x_2038 = lean_name_mk_string(x_2036, x_2037); +x_2039 = lean_box(0); +x_2040 = l_Lean_mkConst(x_2038, x_2039); +x_2041 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2041, 0, x_2040); +lean_ctor_set(x_2041, 1, x_3); +return x_2041; +} } } else { -lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; uint8_t x_2051; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); +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_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_2045 = l_Lean_Syntax_inhabited; -x_2046 = lean_unsigned_to_nat(1u); -x_2047 = lean_array_get(x_2045, x_4, x_2046); +x_2042 = l_Lean_Syntax_inhabited; +x_2043 = lean_unsigned_to_nat(2u); +x_2044 = lean_array_get(x_2042, x_4, x_2043); +x_2045 = lean_unsigned_to_nat(4u); +x_2046 = lean_array_get(x_2042, x_4, x_2045); +x_2047 = lean_unsigned_to_nat(6u); +x_2048 = lean_array_get(x_2042, x_4, x_2047); lean_dec(x_4); -x_2048 = l_Lean_Syntax_getArgs(x_2047); -lean_dec(x_2047); -x_2049 = lean_array_get_size(x_2048); -x_2050 = lean_unsigned_to_nat(0u); -x_2051 = lean_nat_dec_eq(x_2049, x_2050); -lean_dec(x_2049); -if (x_2051 == 0) -{ -lean_object* x_2052; -x_2052 = lean_array_get(x_2045, x_2048, x_2050); -lean_dec(x_2048); +x_2049 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_2049, 0, x_27); +lean_closure_set(x_2049, 1, x_2044); +lean_closure_set(x_2049, 2, x_2046); +lean_closure_set(x_2049, 3, x_2048); +x_2050 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2051 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2051, 0, x_2050); +lean_closure_set(x_2051, 1, x_2049); +x_2052 = l_Lean_Unhygienic_run___rarg(x_2051); x_1 = x_2052; goto _start; } -else -{ -lean_object* x_2054; 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_2048); -lean_dec(x_2); -x_2054 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_2055 = lean_name_mk_string(x_118, x_2054); -x_2056 = l_Lean_Elab_Term_elabParen___closed__4; -x_2057 = lean_name_mk_string(x_2055, x_2056); -x_2058 = lean_box(0); -x_2059 = l_Lean_mkConst(x_2057, x_2058); -x_2060 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2060, 0, x_2059); -lean_ctor_set(x_2060, 1, x_3); -return x_2060; -} -} } else { -lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_2061 = l_Lean_Syntax_inhabited; -x_2062 = lean_unsigned_to_nat(2u); -x_2063 = lean_array_get(x_2061, x_4, x_2062); -x_2064 = lean_unsigned_to_nat(4u); -x_2065 = lean_array_get(x_2061, x_4, x_2064); -x_2066 = lean_unsigned_to_nat(6u); -x_2067 = lean_array_get(x_2061, x_4, x_2066); +x_2054 = l_Lean_Syntax_inhabited; +x_2055 = lean_unsigned_to_nat(0u); +x_2056 = lean_array_get(x_2054, x_4, x_2055); +lean_inc(x_2); +x_2057 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2056, x_2, x_3); +if (lean_obj_tag(x_2057) == 0) +{ +lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; +x_2058 = lean_ctor_get(x_2057, 0); +lean_inc(x_2058); +x_2059 = lean_ctor_get(x_2057, 1); +lean_inc(x_2059); +lean_dec(x_2057); +x_2060 = lean_unsigned_to_nat(1u); +x_2061 = lean_array_get(x_2054, x_4, x_2060); lean_dec(x_4); -x_2068 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_2068, 0, x_118); -lean_closure_set(x_2068, 1, x_2063); -lean_closure_set(x_2068, 2, x_2065); -lean_closure_set(x_2068, 3, x_2067); -x_2069 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2070 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2070, 0, x_2069); -lean_closure_set(x_2070, 1, x_2068); -x_2071 = l_Lean_Unhygienic_run___rarg(x_2070); -x_1 = x_2071; -goto _start; +x_2062 = l_Lean_Syntax_getArgs(x_2061); +lean_dec(x_2061); +x_2063 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_2055, x_2062, x_2, x_2059); +if (lean_obj_tag(x_2063) == 0) +{ +lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; +x_2064 = lean_ctor_get(x_2063, 0); +lean_inc(x_2064); +x_2065 = lean_ctor_get(x_2063, 1); +lean_inc(x_2065); +if (lean_is_exclusive(x_2063)) { + lean_ctor_release(x_2063, 0); + lean_ctor_release(x_2063, 1); + x_2066 = x_2063; +} else { + lean_dec_ref(x_2063); + x_2066 = lean_box(0); +} +x_2067 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2064, x_2064, x_2055, x_2058); +lean_dec(x_2064); +if (lean_is_scalar(x_2066)) { + x_2068 = lean_alloc_ctor(0, 2, 0); +} else { + x_2068 = x_2066; +} +lean_ctor_set(x_2068, 0, x_2067); +lean_ctor_set(x_2068, 1, x_2065); +return x_2068; +} +else +{ +lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; +lean_dec(x_2058); +x_2069 = lean_ctor_get(x_2063, 0); +lean_inc(x_2069); +x_2070 = lean_ctor_get(x_2063, 1); +lean_inc(x_2070); +if (lean_is_exclusive(x_2063)) { + lean_ctor_release(x_2063, 0); + lean_ctor_release(x_2063, 1); + x_2071 = x_2063; +} else { + lean_dec_ref(x_2063); + 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_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_2073 = l_Lean_Syntax_inhabited; -x_2074 = lean_unsigned_to_nat(0u); -x_2075 = lean_array_get(x_2073, x_4, x_2074); -lean_inc(x_2); -x_2076 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2075, x_2, x_3); -if (lean_obj_tag(x_2076) == 0) -{ -lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; -x_2077 = lean_ctor_get(x_2076, 0); -lean_inc(x_2077); -x_2078 = lean_ctor_get(x_2076, 1); -lean_inc(x_2078); -lean_dec(x_2076); -x_2079 = lean_unsigned_to_nat(1u); -x_2080 = lean_array_get(x_2073, x_4, x_2079); -lean_dec(x_4); -x_2081 = l_Lean_Syntax_getArgs(x_2080); -lean_dec(x_2080); -x_2082 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_2074, x_2081, x_2, x_2078); -if (lean_obj_tag(x_2082) == 0) -{ -lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; -x_2083 = lean_ctor_get(x_2082, 0); -lean_inc(x_2083); -x_2084 = lean_ctor_get(x_2082, 1); -lean_inc(x_2084); -if (lean_is_exclusive(x_2082)) { - lean_ctor_release(x_2082, 0); - lean_ctor_release(x_2082, 1); - x_2085 = x_2082; -} else { - lean_dec_ref(x_2082); - x_2085 = lean_box(0); -} -x_2086 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2083, x_2083, x_2074, x_2077); -lean_dec(x_2083); -if (lean_is_scalar(x_2085)) { - x_2087 = lean_alloc_ctor(0, 2, 0); -} else { - x_2087 = x_2085; -} -lean_ctor_set(x_2087, 0, x_2086); -lean_ctor_set(x_2087, 1, x_2084); -return x_2087; -} -else -{ -lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; -lean_dec(x_2077); -x_2088 = lean_ctor_get(x_2082, 0); -lean_inc(x_2088); -x_2089 = lean_ctor_get(x_2082, 1); -lean_inc(x_2089); -if (lean_is_exclusive(x_2082)) { - lean_ctor_release(x_2082, 0); - lean_ctor_release(x_2082, 1); - x_2090 = x_2082; -} else { - lean_dec_ref(x_2082); - x_2090 = lean_box(0); -} -if (lean_is_scalar(x_2090)) { - x_2091 = lean_alloc_ctor(1, 2, 0); -} else { - x_2091 = x_2090; -} -lean_ctor_set(x_2091, 0, x_2088); -lean_ctor_set(x_2091, 1, x_2089); -return x_2091; -} -} -else -{ -lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_dec(x_4); lean_dec(x_2); -x_2092 = lean_ctor_get(x_2076, 0); -lean_inc(x_2092); -x_2093 = lean_ctor_get(x_2076, 1); -lean_inc(x_2093); -if (lean_is_exclusive(x_2076)) { - lean_ctor_release(x_2076, 0); - lean_ctor_release(x_2076, 1); - x_2094 = x_2076; +x_2073 = lean_ctor_get(x_2057, 0); +lean_inc(x_2073); +x_2074 = lean_ctor_get(x_2057, 1); +lean_inc(x_2074); +if (lean_is_exclusive(x_2057)) { + lean_ctor_release(x_2057, 0); + lean_ctor_release(x_2057, 1); + x_2075 = x_2057; } else { - lean_dec_ref(x_2076); - x_2094 = lean_box(0); + lean_dec_ref(x_2057); + x_2075 = lean_box(0); } -if (lean_is_scalar(x_2094)) { - x_2095 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2075)) { + x_2076 = lean_alloc_ctor(1, 2, 0); } else { - x_2095 = x_2094; + x_2076 = x_2075; } -lean_ctor_set(x_2095, 0, x_2092); -lean_ctor_set(x_2095, 1, x_2093); -return x_2095; +lean_ctor_set(x_2076, 0, x_2073); +lean_ctor_set(x_2076, 1, x_2074); +return x_2076; } } } else { -lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; uint8_t x_2099; lean_object* x_2100; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -x_2096 = l_Lean_Syntax_inhabited; -x_2097 = lean_unsigned_to_nat(1u); -x_2098 = lean_array_get(x_2096, x_4, x_2097); -x_2099 = 1; -x_2100 = l_Lean_Syntax_isSimpleTermId_x3f(x_2098, x_2099); -if (lean_obj_tag(x_2100) == 0) +lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; uint8_t x_2080; lean_object* x_2081; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +x_2077 = l_Lean_Syntax_inhabited; +x_2078 = lean_unsigned_to_nat(1u); +x_2079 = lean_array_get(x_2077, x_4, x_2078); +x_2080 = 1; +x_2081 = l_Lean_Syntax_isSimpleTermId_x3f(x_2079, x_2080); +if (lean_obj_tag(x_2081) == 0) { -lean_object* x_2101; lean_object* x_2102; +lean_object* x_2082; lean_object* x_2083; lean_dec(x_4); -x_2101 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; -x_2102 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2101, x_2, x_3); +x_2082 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; +x_2083 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2082, x_2, x_3); lean_dec(x_1); -return x_2102; +return x_2083; } else { -lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; +lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_dec(x_1); -x_2103 = lean_ctor_get(x_2100, 0); -lean_inc(x_2103); -lean_dec(x_2100); -x_2104 = l_Lean_Syntax_getId(x_2103); -lean_dec(x_2103); -x_2105 = lean_unsigned_to_nat(3u); -x_2106 = lean_array_get(x_2096, x_4, x_2105); +x_2084 = lean_ctor_get(x_2081, 0); +lean_inc(x_2084); +lean_dec(x_2081); +x_2085 = l_Lean_Syntax_getId(x_2084); +lean_dec(x_2084); +x_2086 = lean_unsigned_to_nat(3u); +x_2087 = lean_array_get(x_2077, x_4, x_2086); lean_inc(x_2); -x_2107 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2106, x_2, x_3); -if (lean_obj_tag(x_2107) == 0) +x_2088 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2087, x_2, x_3); +if (lean_obj_tag(x_2088) == 0) { -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; uint8_t x_2127; uint8_t 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; -x_2108 = lean_ctor_get(x_2107, 0); -lean_inc(x_2108); -x_2109 = lean_ctor_get(x_2107, 1); -lean_inc(x_2109); -lean_dec(x_2107); -x_2110 = l_Lean_Elab_Term_getLCtx(x_2, x_2109); -x_2111 = lean_ctor_get(x_2110, 0); -lean_inc(x_2111); -x_2112 = lean_ctor_get(x_2110, 1); -lean_inc(x_2112); -lean_dec(x_2110); -x_2113 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_2104, 2); -x_2114 = lean_local_ctx_mk_let_decl(x_2111, x_2104, x_2104, x_2113, x_2108); -x_2115 = lean_unsigned_to_nat(5u); -x_2116 = lean_array_get(x_2096, x_4, x_2115); +lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; uint8_t x_2108; uint8_t 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; +x_2089 = lean_ctor_get(x_2088, 0); +lean_inc(x_2089); +x_2090 = lean_ctor_get(x_2088, 1); +lean_inc(x_2090); +lean_dec(x_2088); +x_2091 = l_Lean_Elab_Term_getLCtx(x_2, x_2090); +x_2092 = lean_ctor_get(x_2091, 0); +lean_inc(x_2092); +x_2093 = lean_ctor_get(x_2091, 1); +lean_inc(x_2093); +lean_dec(x_2091); +x_2094 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_2085, 2); +x_2095 = lean_local_ctx_mk_let_decl(x_2092, x_2085, x_2085, x_2094, x_2089); +x_2096 = lean_unsigned_to_nat(5u); +x_2097 = lean_array_get(x_2077, x_4, x_2096); lean_dec(x_4); -x_2117 = lean_ctor_get(x_2, 0); -lean_inc(x_2117); -x_2118 = lean_ctor_get(x_2, 1); -lean_inc(x_2118); -x_2119 = lean_ctor_get(x_2, 2); -lean_inc(x_2119); -x_2120 = lean_ctor_get(x_2, 3); -lean_inc(x_2120); -x_2121 = lean_ctor_get(x_2, 4); -lean_inc(x_2121); -x_2122 = lean_ctor_get(x_2, 5); -lean_inc(x_2122); -x_2123 = lean_ctor_get(x_2, 6); -lean_inc(x_2123); -x_2124 = lean_ctor_get(x_2, 7); -lean_inc(x_2124); -x_2125 = lean_ctor_get(x_2, 8); -lean_inc(x_2125); -x_2126 = lean_ctor_get(x_2, 9); -lean_inc(x_2126); -x_2127 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2128 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_2098 = lean_ctor_get(x_2, 0); +lean_inc(x_2098); +x_2099 = lean_ctor_get(x_2, 1); +lean_inc(x_2099); +x_2100 = lean_ctor_get(x_2, 2); +lean_inc(x_2100); +x_2101 = lean_ctor_get(x_2, 3); +lean_inc(x_2101); +x_2102 = lean_ctor_get(x_2, 4); +lean_inc(x_2102); +x_2103 = lean_ctor_get(x_2, 5); +lean_inc(x_2103); +x_2104 = lean_ctor_get(x_2, 6); +lean_inc(x_2104); +x_2105 = lean_ctor_get(x_2, 7); +lean_inc(x_2105); +x_2106 = lean_ctor_get(x_2, 8); +lean_inc(x_2106); +x_2107 = lean_ctor_get(x_2, 9); +lean_inc(x_2107); +x_2108 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2109 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -21908,483 +22063,226 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2129 = x_2; + x_2110 = x_2; } else { lean_dec_ref(x_2); + x_2110 = lean_box(0); +} +x_2111 = lean_ctor_get(x_2098, 0); +lean_inc(x_2111); +x_2112 = lean_ctor_get(x_2098, 2); +lean_inc(x_2112); +x_2113 = lean_ctor_get(x_2098, 3); +lean_inc(x_2113); +x_2114 = lean_ctor_get(x_2098, 4); +lean_inc(x_2114); +if (lean_is_exclusive(x_2098)) { + lean_ctor_release(x_2098, 0); + lean_ctor_release(x_2098, 1); + lean_ctor_release(x_2098, 2); + lean_ctor_release(x_2098, 3); + lean_ctor_release(x_2098, 4); + x_2115 = x_2098; +} else { + lean_dec_ref(x_2098); + x_2115 = lean_box(0); +} +lean_inc(x_2095); +if (lean_is_scalar(x_2115)) { + x_2116 = lean_alloc_ctor(0, 5, 0); +} else { + x_2116 = x_2115; +} +lean_ctor_set(x_2116, 0, x_2111); +lean_ctor_set(x_2116, 1, x_2095); +lean_ctor_set(x_2116, 2, x_2112); +lean_ctor_set(x_2116, 3, x_2113); +lean_ctor_set(x_2116, 4, x_2114); +if (lean_is_scalar(x_2110)) { + x_2117 = lean_alloc_ctor(0, 10, 2); +} else { + x_2117 = x_2110; +} +lean_ctor_set(x_2117, 0, x_2116); +lean_ctor_set(x_2117, 1, x_2099); +lean_ctor_set(x_2117, 2, x_2100); +lean_ctor_set(x_2117, 3, x_2101); +lean_ctor_set(x_2117, 4, x_2102); +lean_ctor_set(x_2117, 5, x_2103); +lean_ctor_set(x_2117, 6, x_2104); +lean_ctor_set(x_2117, 7, x_2105); +lean_ctor_set(x_2117, 8, x_2106); +lean_ctor_set(x_2117, 9, x_2107); +lean_ctor_set_uint8(x_2117, sizeof(void*)*10, x_2108); +lean_ctor_set_uint8(x_2117, sizeof(void*)*10 + 1, x_2109); +x_2118 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2097, x_2117, x_2093); +if (lean_obj_tag(x_2118) == 0) +{ +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; +x_2119 = lean_ctor_get(x_2118, 0); +lean_inc(x_2119); +x_2120 = lean_ctor_get(x_2118, 1); +lean_inc(x_2120); +if (lean_is_exclusive(x_2118)) { + lean_ctor_release(x_2118, 0); + lean_ctor_release(x_2118, 1); + x_2121 = x_2118; +} else { + lean_dec_ref(x_2118); + x_2121 = lean_box(0); +} +x_2122 = l_Lean_mkFVar(x_2085); +x_2123 = l_Lean_mkOptionalNode___closed__2; +x_2124 = lean_array_push(x_2123, x_2122); +x_2125 = l_Lean_LocalContext_mkLambda(x_2095, x_2124, x_2119); +lean_dec(x_2119); +lean_dec(x_2124); +if (lean_is_scalar(x_2121)) { + x_2126 = lean_alloc_ctor(0, 2, 0); +} else { + x_2126 = x_2121; +} +lean_ctor_set(x_2126, 0, x_2125); +lean_ctor_set(x_2126, 1, x_2120); +return x_2126; +} +else +{ +lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; +lean_dec(x_2095); +lean_dec(x_2085); +x_2127 = lean_ctor_get(x_2118, 0); +lean_inc(x_2127); +x_2128 = lean_ctor_get(x_2118, 1); +lean_inc(x_2128); +if (lean_is_exclusive(x_2118)) { + lean_ctor_release(x_2118, 0); + lean_ctor_release(x_2118, 1); + x_2129 = x_2118; +} else { + lean_dec_ref(x_2118); x_2129 = lean_box(0); } -x_2130 = lean_ctor_get(x_2117, 0); -lean_inc(x_2130); -x_2131 = lean_ctor_get(x_2117, 2); -lean_inc(x_2131); -x_2132 = lean_ctor_get(x_2117, 3); -lean_inc(x_2132); -x_2133 = lean_ctor_get(x_2117, 4); -lean_inc(x_2133); -if (lean_is_exclusive(x_2117)) { - lean_ctor_release(x_2117, 0); - lean_ctor_release(x_2117, 1); - lean_ctor_release(x_2117, 2); - lean_ctor_release(x_2117, 3); - lean_ctor_release(x_2117, 4); - x_2134 = x_2117; -} else { - lean_dec_ref(x_2117); - x_2134 = lean_box(0); -} -lean_inc(x_2114); -if (lean_is_scalar(x_2134)) { - x_2135 = lean_alloc_ctor(0, 5, 0); -} else { - x_2135 = x_2134; -} -lean_ctor_set(x_2135, 0, x_2130); -lean_ctor_set(x_2135, 1, x_2114); -lean_ctor_set(x_2135, 2, x_2131); -lean_ctor_set(x_2135, 3, x_2132); -lean_ctor_set(x_2135, 4, x_2133); if (lean_is_scalar(x_2129)) { - x_2136 = lean_alloc_ctor(0, 10, 2); + x_2130 = lean_alloc_ctor(1, 2, 0); } else { - x_2136 = x_2129; + x_2130 = x_2129; } -lean_ctor_set(x_2136, 0, x_2135); -lean_ctor_set(x_2136, 1, x_2118); -lean_ctor_set(x_2136, 2, x_2119); -lean_ctor_set(x_2136, 3, x_2120); -lean_ctor_set(x_2136, 4, x_2121); -lean_ctor_set(x_2136, 5, x_2122); -lean_ctor_set(x_2136, 6, x_2123); -lean_ctor_set(x_2136, 7, x_2124); -lean_ctor_set(x_2136, 8, x_2125); -lean_ctor_set(x_2136, 9, x_2126); -lean_ctor_set_uint8(x_2136, sizeof(void*)*10, x_2127); -lean_ctor_set_uint8(x_2136, sizeof(void*)*10 + 1, x_2128); -x_2137 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2116, x_2136, x_2112); -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; -x_2138 = lean_ctor_get(x_2137, 0); -lean_inc(x_2138); -x_2139 = lean_ctor_get(x_2137, 1); -lean_inc(x_2139); -if (lean_is_exclusive(x_2137)) { - lean_ctor_release(x_2137, 0); - lean_ctor_release(x_2137, 1); - x_2140 = x_2137; -} else { - lean_dec_ref(x_2137); - x_2140 = lean_box(0); -} -x_2141 = l_Lean_mkFVar(x_2104); -x_2142 = l_Lean_mkOptionalNode___closed__2; -x_2143 = lean_array_push(x_2142, x_2141); -x_2144 = l_Lean_LocalContext_mkLambda(x_2114, x_2143, x_2138); -lean_dec(x_2138); -lean_dec(x_2143); -if (lean_is_scalar(x_2140)) { - x_2145 = lean_alloc_ctor(0, 2, 0); -} else { - x_2145 = x_2140; -} -lean_ctor_set(x_2145, 0, x_2144); -lean_ctor_set(x_2145, 1, x_2139); -return x_2145; -} -else -{ -lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; -lean_dec(x_2114); -lean_dec(x_2104); -x_2146 = lean_ctor_get(x_2137, 0); -lean_inc(x_2146); -x_2147 = lean_ctor_get(x_2137, 1); -lean_inc(x_2147); -if (lean_is_exclusive(x_2137)) { - lean_ctor_release(x_2137, 0); - lean_ctor_release(x_2137, 1); - x_2148 = x_2137; -} else { - lean_dec_ref(x_2137); - x_2148 = lean_box(0); -} -if (lean_is_scalar(x_2148)) { - x_2149 = lean_alloc_ctor(1, 2, 0); -} else { - x_2149 = x_2148; -} -lean_ctor_set(x_2149, 0, x_2146); -lean_ctor_set(x_2149, 1, x_2147); -return x_2149; +lean_ctor_set(x_2130, 0, x_2127); +lean_ctor_set(x_2130, 1, x_2128); +return x_2130; } } else { -lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; -lean_dec(x_2104); +lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; +lean_dec(x_2085); lean_dec(x_4); lean_dec(x_2); -x_2150 = lean_ctor_get(x_2107, 0); -lean_inc(x_2150); -x_2151 = lean_ctor_get(x_2107, 1); -lean_inc(x_2151); -if (lean_is_exclusive(x_2107)) { - lean_ctor_release(x_2107, 0); - lean_ctor_release(x_2107, 1); - x_2152 = x_2107; +x_2131 = lean_ctor_get(x_2088, 0); +lean_inc(x_2131); +x_2132 = lean_ctor_get(x_2088, 1); +lean_inc(x_2132); +if (lean_is_exclusive(x_2088)) { + lean_ctor_release(x_2088, 0); + lean_ctor_release(x_2088, 1); + x_2133 = x_2088; } else { - lean_dec_ref(x_2107); - x_2152 = lean_box(0); + lean_dec_ref(x_2088); + x_2133 = lean_box(0); } -if (lean_is_scalar(x_2152)) { - x_2153 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2133)) { + x_2134 = lean_alloc_ctor(1, 2, 0); } else { - x_2153 = x_2152; + x_2134 = x_2133; } -lean_ctor_set(x_2153, 0, x_2150); -lean_ctor_set(x_2153, 1, x_2151); -return x_2153; +lean_ctor_set(x_2134, 0, x_2131); +lean_ctor_set(x_2134, 1, x_2132); +return x_2134; } } } } else { -lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); +lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; uint8_t x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); lean_dec(x_1); -x_2154 = l_Lean_Syntax_inhabited; -x_2155 = lean_unsigned_to_nat(1u); -x_2156 = lean_array_get(x_2154, x_4, x_2155); -lean_inc(x_2156); -x_2157 = l_Lean_Syntax_getKind(x_2156); -if (lean_obj_tag(x_2157) == 1) -{ -lean_object* x_2158; -x_2158 = lean_ctor_get(x_2157, 0); -lean_inc(x_2158); -if (lean_obj_tag(x_2158) == 1) -{ -lean_object* x_2159; -x_2159 = lean_ctor_get(x_2158, 0); -lean_inc(x_2159); -if (lean_obj_tag(x_2159) == 1) -{ -lean_object* x_2160; -x_2160 = lean_ctor_get(x_2159, 0); -lean_inc(x_2160); -if (lean_obj_tag(x_2160) == 1) -{ -lean_object* x_2161; -x_2161 = lean_ctor_get(x_2160, 0); -lean_inc(x_2161); -if (lean_obj_tag(x_2161) == 0) -{ -lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; uint8_t x_2166; -x_2162 = lean_ctor_get(x_2157, 1); -lean_inc(x_2162); -lean_dec(x_2157); -x_2163 = lean_ctor_get(x_2158, 1); -lean_inc(x_2163); -lean_dec(x_2158); -x_2164 = lean_ctor_get(x_2159, 1); -lean_inc(x_2164); -lean_dec(x_2159); -x_2165 = lean_ctor_get(x_2160, 1); -lean_inc(x_2165); -lean_dec(x_2160); -x_2166 = lean_string_dec_eq(x_2165, x_1948); -lean_dec(x_2165); -if (x_2166 == 0) -{ -lean_object* x_2167; lean_object* x_2168; -lean_dec(x_2164); -lean_dec(x_2163); -lean_dec(x_2162); -lean_dec(x_2156); -x_2167 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2168 = l_unreachable_x21___rarg(x_2167); -x_5 = x_2168; -goto block_95; -} -else -{ -uint8_t x_2169; -x_2169 = lean_string_dec_eq(x_2164, x_1952); -lean_dec(x_2164); -if (x_2169 == 0) -{ -lean_object* x_2170; lean_object* x_2171; -lean_dec(x_2163); -lean_dec(x_2162); -lean_dec(x_2156); -x_2170 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2171 = l_unreachable_x21___rarg(x_2170); -x_5 = x_2171; -goto block_95; -} -else -{ -uint8_t x_2172; -x_2172 = lean_string_dec_eq(x_2163, x_1964); -lean_dec(x_2163); -if (x_2172 == 0) -{ -lean_object* x_2173; lean_object* x_2174; -lean_dec(x_2162); -lean_dec(x_2156); -x_2173 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2174 = l_unreachable_x21___rarg(x_2173); -x_5 = x_2174; -goto block_95; -} -else -{ -lean_object* x_2175; uint8_t x_2176; -x_2175 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; -x_2176 = lean_string_dec_eq(x_2162, x_2175); -if (x_2176 == 0) -{ -lean_object* x_2177; uint8_t x_2178; -x_2177 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; -x_2178 = lean_string_dec_eq(x_2162, x_2177); -lean_dec(x_2162); -if (x_2178 == 0) -{ -lean_object* x_2179; lean_object* x_2180; -lean_dec(x_2156); -x_2179 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2180 = l_unreachable_x21___rarg(x_2179); -x_5 = x_2180; -goto block_95; -} -else -{ -lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; -x_2181 = lean_unsigned_to_nat(0u); -x_2182 = l_Lean_Syntax_getArg(x_2156, x_2181); -x_2183 = l_Lean_Syntax_getIdAt(x_2182, x_2181); -lean_dec(x_2182); -x_2184 = lean_unsigned_to_nat(3u); -x_2185 = l_Lean_Syntax_getArg(x_2156, x_2184); -lean_dec(x_2156); -x_2186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2186, 0, x_2183); -lean_ctor_set(x_2186, 1, x_2185); -x_5 = x_2186; -goto block_95; -} -} -else -{ -lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; -lean_dec(x_2162); -x_2187 = lean_unsigned_to_nat(0u); -x_2188 = l_Lean_Syntax_getIdAt(x_2156, x_2187); -x_2189 = lean_unsigned_to_nat(4u); -x_2190 = l_Lean_Syntax_getArg(x_2156, x_2189); -lean_dec(x_2156); -x_2191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2191, 0, x_2188); -lean_ctor_set(x_2191, 1, x_2190); -x_5 = x_2191; -goto block_95; -} -} -} -} -} -else -{ -lean_object* x_2192; lean_object* x_2193; -lean_dec(x_2161); -lean_dec(x_2160); -lean_dec(x_2159); -lean_dec(x_2158); -lean_dec(x_2157); -lean_dec(x_2156); -x_2192 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2193 = l_unreachable_x21___rarg(x_2192); -x_5 = x_2193; -goto block_95; -} -} -else -{ -lean_object* x_2194; lean_object* x_2195; -lean_dec(x_2160); -lean_dec(x_2159); -lean_dec(x_2158); -lean_dec(x_2157); -lean_dec(x_2156); -x_2194 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2195 = l_unreachable_x21___rarg(x_2194); -x_5 = x_2195; -goto block_95; -} -} -else -{ -lean_object* x_2196; lean_object* x_2197; -lean_dec(x_2159); -lean_dec(x_2158); -lean_dec(x_2157); -lean_dec(x_2156); -x_2196 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2197 = l_unreachable_x21___rarg(x_2196); -x_5 = x_2197; -goto block_95; -} -} -else -{ -lean_object* x_2198; lean_object* x_2199; -lean_dec(x_2158); -lean_dec(x_2157); -lean_dec(x_2156); -x_2198 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2199 = l_unreachable_x21___rarg(x_2198); -x_5 = x_2199; -goto block_95; -} -} -else -{ -lean_object* x_2200; lean_object* x_2201; -lean_dec(x_2157); -lean_dec(x_2156); -x_2200 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2201 = l_unreachable_x21___rarg(x_2200); -x_5 = x_2201; -goto block_95; -} -} -} -else -{ -lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; uint8_t x_2210; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -lean_dec(x_1); -x_2202 = l_Lean_Syntax_inhabited; -x_2203 = lean_unsigned_to_nat(1u); -x_2204 = lean_array_get(x_2202, x_4, x_2203); -x_2205 = l_Lean_Syntax_getArgs(x_2204); -lean_dec(x_2204); -x_2206 = lean_unsigned_to_nat(3u); -x_2207 = lean_array_get(x_2202, x_4, x_2206); +x_2135 = l_Lean_Syntax_inhabited; +x_2136 = lean_unsigned_to_nat(1u); +x_2137 = lean_array_get(x_2135, x_4, x_2136); +x_2138 = lean_unsigned_to_nat(0u); +x_2139 = l_Lean_Syntax_getArg(x_2137, x_2138); +x_2140 = l_Lean_Syntax_isIdent(x_2139); +x_2141 = lean_unsigned_to_nat(4u); +x_2142 = l_Lean_Syntax_getArg(x_2137, x_2141); +lean_dec(x_2137); +x_2143 = lean_unsigned_to_nat(3u); +x_2144 = lean_array_get(x_2135, x_4, x_2143); lean_dec(x_4); -x_2208 = lean_array_get_size(x_2205); -x_2209 = lean_unsigned_to_nat(0u); -x_2210 = lean_nat_dec_eq(x_2208, x_2209); -lean_dec(x_2208); -if (x_2210 == 0) +if (x_2140 == 0) { -lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; uint8_t x_2216; -x_2211 = lean_array_get(x_2202, x_2205, x_2209); -x_2212 = lean_name_mk_string(x_118, x_1948); -x_2213 = lean_name_mk_string(x_2212, x_1952); -x_2214 = lean_name_mk_string(x_2213, x_1964); -lean_inc(x_2214); -x_2215 = lean_name_mk_string(x_2214, x_1976); -lean_inc(x_2211); -x_2216 = l_Lean_Syntax_isOfKind(x_2211, x_2215); -lean_dec(x_2215); -if (x_2216 == 0) +lean_object* x_2192; +x_2192 = l_Lean_Syntax_getIdAt(x_2139, x_2138); +lean_dec(x_2139); +x_2145 = x_2192; +goto block_2191; +} +else { -lean_object* x_2217; lean_object* x_2218; uint8_t x_2219; -x_2217 = l_Lean_mkHole___closed__1; -lean_inc(x_2214); -x_2218 = lean_name_mk_string(x_2214, x_2217); -lean_inc(x_2211); -x_2219 = l_Lean_Syntax_isOfKind(x_2211, x_2218); -lean_dec(x_2218); -if (x_2219 == 0) +lean_object* x_2193; +x_2193 = l_Lean_Syntax_getId(x_2139); +lean_dec(x_2139); +x_2145 = x_2193; +goto block_2191; +} +block_2191: { -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; -x_2220 = l_Lean_Syntax_getArg(x_2211, x_2203); -lean_dec(x_2211); -x_2221 = l_Lean_Syntax_getArg(x_2220, x_2209); -x_2222 = l_Lean_Syntax_getIdAt(x_2221, x_2209); -lean_dec(x_2221); -x_2223 = l_Lean_Syntax_getArg(x_2220, x_2203); -lean_dec(x_2220); -x_2224 = l_Lean_Syntax_getArg(x_2223, x_2209); -lean_dec(x_2223); -x_2225 = l_Lean_Syntax_getArg(x_2224, x_2203); -lean_dec(x_2224); +lean_object* x_2146; lean_inc(x_2); -x_2226 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2225, x_2, x_3); -if (lean_obj_tag(x_2226) == 0) +x_2146 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2142, x_2, x_3); +if (lean_obj_tag(x_2146) == 0) { -lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; uint8_t 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; lean_object* x_2259; lean_object* x_2260; uint8_t x_2261; uint8_t 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; -x_2227 = lean_ctor_get(x_2226, 0); -lean_inc(x_2227); -x_2228 = lean_ctor_get(x_2226, 1); -lean_inc(x_2228); -lean_dec(x_2226); -x_2229 = l_Lean_Elab_Term_getLCtx(x_2, x_2228); -x_2230 = lean_ctor_get(x_2229, 0); -lean_inc(x_2230); -x_2231 = lean_ctor_get(x_2229, 1); -lean_inc(x_2231); -lean_dec(x_2229); -x_2232 = 0; -lean_inc_n(x_2222, 2); -x_2233 = lean_local_ctx_mk_local_decl(x_2230, x_2222, x_2222, x_2227, x_2232); -x_2234 = l_Array_eraseIdx___rarg(x_2205, x_2209); -x_2235 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2231); -x_2236 = lean_ctor_get(x_2235, 1); -lean_inc(x_2236); -lean_dec(x_2235); -x_2237 = l_Lean_Elab_Term_getMainModule___rarg(x_2236); -x_2238 = lean_ctor_get(x_2237, 1); -lean_inc(x_2238); -lean_dec(x_2237); -x_2239 = lean_name_mk_string(x_2214, x_1978); -x_2240 = l_Lean_nullKind___closed__1; -x_2241 = lean_name_mk_string(x_118, x_2240); -x_2242 = l_Array_empty___closed__1; -x_2243 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2234, x_2234, x_2209, x_2242); -lean_dec(x_2234); -x_2244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2244, 0, x_2241); -lean_ctor_set(x_2244, 1, x_2243); -x_2245 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -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_2207); -x_2250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2250, 0, x_2239); -lean_ctor_set(x_2250, 1, x_2249); -x_2251 = lean_ctor_get(x_2, 0); -lean_inc(x_2251); -x_2252 = lean_ctor_get(x_2, 1); -lean_inc(x_2252); -x_2253 = lean_ctor_get(x_2, 2); -lean_inc(x_2253); -x_2254 = lean_ctor_get(x_2, 3); -lean_inc(x_2254); -x_2255 = lean_ctor_get(x_2, 4); -lean_inc(x_2255); -x_2256 = lean_ctor_get(x_2, 5); -lean_inc(x_2256); -x_2257 = lean_ctor_get(x_2, 6); -lean_inc(x_2257); -x_2258 = lean_ctor_get(x_2, 7); -lean_inc(x_2258); -x_2259 = lean_ctor_get(x_2, 8); -lean_inc(x_2259); -x_2260 = lean_ctor_get(x_2, 9); -lean_inc(x_2260); -x_2261 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2262 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +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; uint8_t x_2164; uint8_t 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; +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 = l_Lean_Elab_Term_getLCtx(x_2, x_2148); +x_2150 = lean_ctor_get(x_2149, 0); +lean_inc(x_2150); +x_2151 = lean_ctor_get(x_2149, 1); +lean_inc(x_2151); +lean_dec(x_2149); +x_2152 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_2145, 2); +x_2153 = lean_local_ctx_mk_let_decl(x_2150, x_2145, x_2145, x_2152, x_2147); +x_2154 = lean_ctor_get(x_2, 0); +lean_inc(x_2154); +x_2155 = lean_ctor_get(x_2, 1); +lean_inc(x_2155); +x_2156 = lean_ctor_get(x_2, 2); +lean_inc(x_2156); +x_2157 = lean_ctor_get(x_2, 3); +lean_inc(x_2157); +x_2158 = lean_ctor_get(x_2, 4); +lean_inc(x_2158); +x_2159 = lean_ctor_get(x_2, 5); +lean_inc(x_2159); +x_2160 = lean_ctor_get(x_2, 6); +lean_inc(x_2160); +x_2161 = lean_ctor_get(x_2, 7); +lean_inc(x_2161); +x_2162 = lean_ctor_get(x_2, 8); +lean_inc(x_2162); +x_2163 = lean_ctor_get(x_2, 9); +lean_inc(x_2163); +x_2164 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2165 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -22396,210 +22294,483 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2263 = x_2; + x_2166 = x_2; } else { lean_dec_ref(x_2); - x_2263 = lean_box(0); + x_2166 = lean_box(0); } -x_2264 = lean_ctor_get(x_2251, 0); -lean_inc(x_2264); -x_2265 = lean_ctor_get(x_2251, 2); -lean_inc(x_2265); -x_2266 = lean_ctor_get(x_2251, 3); -lean_inc(x_2266); -x_2267 = lean_ctor_get(x_2251, 4); -lean_inc(x_2267); -if (lean_is_exclusive(x_2251)) { - lean_ctor_release(x_2251, 0); - lean_ctor_release(x_2251, 1); - lean_ctor_release(x_2251, 2); - lean_ctor_release(x_2251, 3); - lean_ctor_release(x_2251, 4); - x_2268 = x_2251; +x_2167 = lean_ctor_get(x_2154, 0); +lean_inc(x_2167); +x_2168 = lean_ctor_get(x_2154, 2); +lean_inc(x_2168); +x_2169 = lean_ctor_get(x_2154, 3); +lean_inc(x_2169); +x_2170 = lean_ctor_get(x_2154, 4); +lean_inc(x_2170); +if (lean_is_exclusive(x_2154)) { + lean_ctor_release(x_2154, 0); + lean_ctor_release(x_2154, 1); + lean_ctor_release(x_2154, 2); + lean_ctor_release(x_2154, 3); + lean_ctor_release(x_2154, 4); + x_2171 = x_2154; } else { - lean_dec_ref(x_2251); - x_2268 = lean_box(0); + lean_dec_ref(x_2154); + x_2171 = lean_box(0); } -lean_inc(x_2233); -if (lean_is_scalar(x_2268)) { - x_2269 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_2153); +if (lean_is_scalar(x_2171)) { + x_2172 = lean_alloc_ctor(0, 5, 0); } else { - x_2269 = x_2268; + x_2172 = x_2171; } -lean_ctor_set(x_2269, 0, x_2264); -lean_ctor_set(x_2269, 1, x_2233); -lean_ctor_set(x_2269, 2, x_2265); -lean_ctor_set(x_2269, 3, x_2266); -lean_ctor_set(x_2269, 4, x_2267); -if (lean_is_scalar(x_2263)) { - x_2270 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_2172, 0, x_2167); +lean_ctor_set(x_2172, 1, x_2153); +lean_ctor_set(x_2172, 2, x_2168); +lean_ctor_set(x_2172, 3, x_2169); +lean_ctor_set(x_2172, 4, x_2170); +if (lean_is_scalar(x_2166)) { + x_2173 = lean_alloc_ctor(0, 10, 2); } else { - x_2270 = x_2263; + x_2173 = x_2166; } -lean_ctor_set(x_2270, 0, x_2269); -lean_ctor_set(x_2270, 1, x_2252); -lean_ctor_set(x_2270, 2, x_2253); -lean_ctor_set(x_2270, 3, x_2254); -lean_ctor_set(x_2270, 4, x_2255); -lean_ctor_set(x_2270, 5, x_2256); -lean_ctor_set(x_2270, 6, x_2257); -lean_ctor_set(x_2270, 7, x_2258); -lean_ctor_set(x_2270, 8, x_2259); -lean_ctor_set(x_2270, 9, x_2260); -lean_ctor_set_uint8(x_2270, sizeof(void*)*10, x_2261); -lean_ctor_set_uint8(x_2270, sizeof(void*)*10 + 1, x_2262); -x_2271 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2250, x_2270, x_2238); -if (lean_obj_tag(x_2271) == 0) +lean_ctor_set(x_2173, 0, x_2172); +lean_ctor_set(x_2173, 1, x_2155); +lean_ctor_set(x_2173, 2, x_2156); +lean_ctor_set(x_2173, 3, x_2157); +lean_ctor_set(x_2173, 4, x_2158); +lean_ctor_set(x_2173, 5, x_2159); +lean_ctor_set(x_2173, 6, x_2160); +lean_ctor_set(x_2173, 7, x_2161); +lean_ctor_set(x_2173, 8, x_2162); +lean_ctor_set(x_2173, 9, x_2163); +lean_ctor_set_uint8(x_2173, sizeof(void*)*10, x_2164); +lean_ctor_set_uint8(x_2173, sizeof(void*)*10 + 1, x_2165); +x_2174 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2144, x_2173, x_2151); +if (lean_obj_tag(x_2174) == 0) { -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; -x_2272 = lean_ctor_get(x_2271, 0); -lean_inc(x_2272); -x_2273 = lean_ctor_get(x_2271, 1); -lean_inc(x_2273); -if (lean_is_exclusive(x_2271)) { - lean_ctor_release(x_2271, 0); - lean_ctor_release(x_2271, 1); - x_2274 = x_2271; +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; +x_2175 = lean_ctor_get(x_2174, 0); +lean_inc(x_2175); +x_2176 = lean_ctor_get(x_2174, 1); +lean_inc(x_2176); +if (lean_is_exclusive(x_2174)) { + lean_ctor_release(x_2174, 0); + lean_ctor_release(x_2174, 1); + x_2177 = x_2174; } else { - lean_dec_ref(x_2271); + lean_dec_ref(x_2174); + x_2177 = lean_box(0); +} +x_2178 = l_Lean_mkFVar(x_2145); +x_2179 = l_Lean_mkOptionalNode___closed__2; +x_2180 = lean_array_push(x_2179, x_2178); +x_2181 = l_Lean_LocalContext_mkLambda(x_2153, x_2180, x_2175); +lean_dec(x_2175); +lean_dec(x_2180); +if (lean_is_scalar(x_2177)) { + x_2182 = lean_alloc_ctor(0, 2, 0); +} else { + x_2182 = x_2177; +} +lean_ctor_set(x_2182, 0, x_2181); +lean_ctor_set(x_2182, 1, x_2176); +return x_2182; +} +else +{ +lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; +lean_dec(x_2153); +lean_dec(x_2145); +x_2183 = lean_ctor_get(x_2174, 0); +lean_inc(x_2183); +x_2184 = lean_ctor_get(x_2174, 1); +lean_inc(x_2184); +if (lean_is_exclusive(x_2174)) { + lean_ctor_release(x_2174, 0); + lean_ctor_release(x_2174, 1); + x_2185 = x_2174; +} else { + lean_dec_ref(x_2174); + x_2185 = lean_box(0); +} +if (lean_is_scalar(x_2185)) { + x_2186 = lean_alloc_ctor(1, 2, 0); +} else { + x_2186 = x_2185; +} +lean_ctor_set(x_2186, 0, x_2183); +lean_ctor_set(x_2186, 1, x_2184); +return x_2186; +} +} +else +{ +lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; +lean_dec(x_2145); +lean_dec(x_2144); +lean_dec(x_2); +x_2187 = lean_ctor_get(x_2146, 0); +lean_inc(x_2187); +x_2188 = lean_ctor_get(x_2146, 1); +lean_inc(x_2188); +if (lean_is_exclusive(x_2146)) { + lean_ctor_release(x_2146, 0); + lean_ctor_release(x_2146, 1); + x_2189 = x_2146; +} else { + lean_dec_ref(x_2146); + x_2189 = lean_box(0); +} +if (lean_is_scalar(x_2189)) { + x_2190 = lean_alloc_ctor(1, 2, 0); +} else { + x_2190 = x_2189; +} +lean_ctor_set(x_2190, 0, x_2187); +lean_ctor_set(x_2190, 1, x_2188); +return x_2190; +} +} +} +} +else +{ +lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; uint8_t x_2202; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +lean_dec(x_1); +x_2194 = l_Lean_Syntax_inhabited; +x_2195 = lean_unsigned_to_nat(1u); +x_2196 = lean_array_get(x_2194, x_4, x_2195); +x_2197 = l_Lean_Syntax_getArgs(x_2196); +lean_dec(x_2196); +x_2198 = lean_unsigned_to_nat(3u); +x_2199 = lean_array_get(x_2194, x_4, x_2198); +lean_dec(x_4); +x_2200 = lean_array_get_size(x_2197); +x_2201 = lean_unsigned_to_nat(0u); +x_2202 = lean_nat_dec_eq(x_2200, x_2201); +lean_dec(x_2200); +if (x_2202 == 0) +{ +lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; uint8_t x_2208; +x_2203 = lean_array_get(x_2194, x_2197, x_2201); +x_2204 = lean_name_mk_string(x_27, x_1929); +x_2205 = lean_name_mk_string(x_2204, x_1933); +x_2206 = lean_name_mk_string(x_2205, x_1945); +lean_inc(x_2206); +x_2207 = lean_name_mk_string(x_2206, x_1957); +lean_inc(x_2203); +x_2208 = l_Lean_Syntax_isOfKind(x_2203, x_2207); +lean_dec(x_2207); +if (x_2208 == 0) +{ +lean_object* x_2209; lean_object* x_2210; uint8_t x_2211; +x_2209 = l_Lean_mkHole___closed__1; +lean_inc(x_2206); +x_2210 = lean_name_mk_string(x_2206, x_2209); +lean_inc(x_2203); +x_2211 = l_Lean_Syntax_isOfKind(x_2203, x_2210); +lean_dec(x_2210); +if (x_2211 == 0) +{ +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; +x_2212 = l_Lean_Syntax_getArg(x_2203, x_2195); +lean_dec(x_2203); +x_2213 = l_Lean_Syntax_getArg(x_2212, x_2201); +x_2214 = l_Lean_Syntax_getIdAt(x_2213, x_2201); +lean_dec(x_2213); +x_2215 = l_Lean_Syntax_getArg(x_2212, x_2195); +lean_dec(x_2212); +x_2216 = l_Lean_Syntax_getArg(x_2215, x_2201); +lean_dec(x_2215); +x_2217 = l_Lean_Syntax_getArg(x_2216, x_2195); +lean_dec(x_2216); +lean_inc(x_2); +x_2218 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2217, x_2, x_3); +if (lean_obj_tag(x_2218) == 0) +{ +lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; uint8_t 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; uint8_t x_2253; uint8_t x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; +x_2219 = lean_ctor_get(x_2218, 0); +lean_inc(x_2219); +x_2220 = lean_ctor_get(x_2218, 1); +lean_inc(x_2220); +lean_dec(x_2218); +x_2221 = l_Lean_Elab_Term_getLCtx(x_2, x_2220); +x_2222 = lean_ctor_get(x_2221, 0); +lean_inc(x_2222); +x_2223 = lean_ctor_get(x_2221, 1); +lean_inc(x_2223); +lean_dec(x_2221); +x_2224 = 0; +lean_inc_n(x_2214, 2); +x_2225 = lean_local_ctx_mk_local_decl(x_2222, x_2214, x_2214, x_2219, x_2224); +x_2226 = l_Array_eraseIdx___rarg(x_2197, x_2201); +x_2227 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2223); +x_2228 = lean_ctor_get(x_2227, 1); +lean_inc(x_2228); +lean_dec(x_2227); +x_2229 = l_Lean_Elab_Term_getMainModule___rarg(x_2228); +x_2230 = lean_ctor_get(x_2229, 1); +lean_inc(x_2230); +lean_dec(x_2229); +x_2231 = lean_name_mk_string(x_2206, x_1959); +x_2232 = l_Lean_nullKind___closed__1; +x_2233 = lean_name_mk_string(x_27, x_2232); +x_2234 = l_Array_empty___closed__1; +x_2235 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2226, x_2226, x_2201, x_2234); +lean_dec(x_2226); +x_2236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2236, 0, x_2233); +lean_ctor_set(x_2236, 1, x_2235); +x_2237 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2238 = lean_array_push(x_2237, x_2236); +x_2239 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2240 = lean_array_push(x_2238, x_2239); +x_2241 = lean_array_push(x_2240, x_2199); +x_2242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2242, 0, x_2231); +lean_ctor_set(x_2242, 1, x_2241); +x_2243 = lean_ctor_get(x_2, 0); +lean_inc(x_2243); +x_2244 = lean_ctor_get(x_2, 1); +lean_inc(x_2244); +x_2245 = lean_ctor_get(x_2, 2); +lean_inc(x_2245); +x_2246 = lean_ctor_get(x_2, 3); +lean_inc(x_2246); +x_2247 = lean_ctor_get(x_2, 4); +lean_inc(x_2247); +x_2248 = lean_ctor_get(x_2, 5); +lean_inc(x_2248); +x_2249 = lean_ctor_get(x_2, 6); +lean_inc(x_2249); +x_2250 = lean_ctor_get(x_2, 7); +lean_inc(x_2250); +x_2251 = lean_ctor_get(x_2, 8); +lean_inc(x_2251); +x_2252 = lean_ctor_get(x_2, 9); +lean_inc(x_2252); +x_2253 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2254 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2255 = x_2; +} else { + lean_dec_ref(x_2); + x_2255 = lean_box(0); +} +x_2256 = lean_ctor_get(x_2243, 0); +lean_inc(x_2256); +x_2257 = lean_ctor_get(x_2243, 2); +lean_inc(x_2257); +x_2258 = lean_ctor_get(x_2243, 3); +lean_inc(x_2258); +x_2259 = lean_ctor_get(x_2243, 4); +lean_inc(x_2259); +if (lean_is_exclusive(x_2243)) { + lean_ctor_release(x_2243, 0); + lean_ctor_release(x_2243, 1); + lean_ctor_release(x_2243, 2); + lean_ctor_release(x_2243, 3); + lean_ctor_release(x_2243, 4); + x_2260 = x_2243; +} else { + lean_dec_ref(x_2243); + x_2260 = lean_box(0); +} +lean_inc(x_2225); +if (lean_is_scalar(x_2260)) { + x_2261 = lean_alloc_ctor(0, 5, 0); +} else { + x_2261 = x_2260; +} +lean_ctor_set(x_2261, 0, x_2256); +lean_ctor_set(x_2261, 1, x_2225); +lean_ctor_set(x_2261, 2, x_2257); +lean_ctor_set(x_2261, 3, x_2258); +lean_ctor_set(x_2261, 4, x_2259); +if (lean_is_scalar(x_2255)) { + x_2262 = lean_alloc_ctor(0, 10, 2); +} else { + x_2262 = x_2255; +} +lean_ctor_set(x_2262, 0, x_2261); +lean_ctor_set(x_2262, 1, x_2244); +lean_ctor_set(x_2262, 2, x_2245); +lean_ctor_set(x_2262, 3, x_2246); +lean_ctor_set(x_2262, 4, x_2247); +lean_ctor_set(x_2262, 5, x_2248); +lean_ctor_set(x_2262, 6, x_2249); +lean_ctor_set(x_2262, 7, x_2250); +lean_ctor_set(x_2262, 8, x_2251); +lean_ctor_set(x_2262, 9, x_2252); +lean_ctor_set_uint8(x_2262, sizeof(void*)*10, x_2253); +lean_ctor_set_uint8(x_2262, sizeof(void*)*10 + 1, x_2254); +x_2263 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2242, x_2262, x_2230); +if (lean_obj_tag(x_2263) == 0) +{ +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; +x_2264 = lean_ctor_get(x_2263, 0); +lean_inc(x_2264); +x_2265 = lean_ctor_get(x_2263, 1); +lean_inc(x_2265); +if (lean_is_exclusive(x_2263)) { + lean_ctor_release(x_2263, 0); + lean_ctor_release(x_2263, 1); + x_2266 = x_2263; +} else { + lean_dec_ref(x_2263); + x_2266 = lean_box(0); +} +x_2267 = l_Lean_mkFVar(x_2214); +x_2268 = l_Lean_mkOptionalNode___closed__2; +x_2269 = lean_array_push(x_2268, x_2267); +x_2270 = l_Lean_LocalContext_mkLambda(x_2225, x_2269, x_2264); +lean_dec(x_2264); +lean_dec(x_2269); +if (lean_is_scalar(x_2266)) { + x_2271 = lean_alloc_ctor(0, 2, 0); +} else { + x_2271 = x_2266; +} +lean_ctor_set(x_2271, 0, x_2270); +lean_ctor_set(x_2271, 1, x_2265); +return x_2271; +} +else +{ +lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; +lean_dec(x_2225); +lean_dec(x_2214); +x_2272 = lean_ctor_get(x_2263, 0); +lean_inc(x_2272); +x_2273 = lean_ctor_get(x_2263, 1); +lean_inc(x_2273); +if (lean_is_exclusive(x_2263)) { + lean_ctor_release(x_2263, 0); + lean_ctor_release(x_2263, 1); + x_2274 = x_2263; +} else { + lean_dec_ref(x_2263); x_2274 = lean_box(0); } -x_2275 = l_Lean_mkFVar(x_2222); -x_2276 = l_Lean_mkOptionalNode___closed__2; -x_2277 = lean_array_push(x_2276, x_2275); -x_2278 = l_Lean_LocalContext_mkLambda(x_2233, x_2277, x_2272); -lean_dec(x_2272); -lean_dec(x_2277); if (lean_is_scalar(x_2274)) { - x_2279 = lean_alloc_ctor(0, 2, 0); + x_2275 = lean_alloc_ctor(1, 2, 0); } else { - x_2279 = x_2274; + x_2275 = x_2274; } -lean_ctor_set(x_2279, 0, x_2278); -lean_ctor_set(x_2279, 1, x_2273); +lean_ctor_set(x_2275, 0, x_2272); +lean_ctor_set(x_2275, 1, x_2273); +return x_2275; +} +} +else +{ +lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; +lean_dec(x_2214); +lean_dec(x_2206); +lean_dec(x_2199); +lean_dec(x_2197); +lean_dec(x_2); +x_2276 = lean_ctor_get(x_2218, 0); +lean_inc(x_2276); +x_2277 = lean_ctor_get(x_2218, 1); +lean_inc(x_2277); +if (lean_is_exclusive(x_2218)) { + lean_ctor_release(x_2218, 0); + lean_ctor_release(x_2218, 1); + x_2278 = x_2218; +} else { + lean_dec_ref(x_2218); + x_2278 = lean_box(0); +} +if (lean_is_scalar(x_2278)) { + x_2279 = lean_alloc_ctor(1, 2, 0); +} else { + x_2279 = x_2278; +} +lean_ctor_set(x_2279, 0, x_2276); +lean_ctor_set(x_2279, 1, x_2277); return x_2279; } -else -{ -lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; -lean_dec(x_2233); -lean_dec(x_2222); -x_2280 = lean_ctor_get(x_2271, 0); -lean_inc(x_2280); -x_2281 = lean_ctor_get(x_2271, 1); -lean_inc(x_2281); -if (lean_is_exclusive(x_2271)) { - lean_ctor_release(x_2271, 0); - lean_ctor_release(x_2271, 1); - x_2282 = x_2271; -} else { - lean_dec_ref(x_2271); - x_2282 = lean_box(0); -} -if (lean_is_scalar(x_2282)) { - x_2283 = lean_alloc_ctor(1, 2, 0); -} else { - x_2283 = x_2282; -} -lean_ctor_set(x_2283, 0, x_2280); -lean_ctor_set(x_2283, 1, x_2281); -return x_2283; -} } else { -lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; -lean_dec(x_2222); -lean_dec(x_2214); -lean_dec(x_2207); -lean_dec(x_2205); -lean_dec(x_2); -x_2284 = lean_ctor_get(x_2226, 0); +lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; uint8_t 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; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; uint8_t x_2315; uint8_t x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; +lean_dec(x_2203); +x_2280 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_2281 = lean_name_mk_string(x_27, x_2280); +x_2282 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2283 = lean_ctor_get(x_2282, 0); +lean_inc(x_2283); +x_2284 = lean_ctor_get(x_2282, 1); lean_inc(x_2284); -x_2285 = lean_ctor_get(x_2226, 1); -lean_inc(x_2285); -if (lean_is_exclusive(x_2226)) { - lean_ctor_release(x_2226, 0); - lean_ctor_release(x_2226, 1); - x_2286 = x_2226; -} else { - lean_dec_ref(x_2226); - x_2286 = lean_box(0); -} -if (lean_is_scalar(x_2286)) { - x_2287 = lean_alloc_ctor(1, 2, 0); -} else { - x_2287 = x_2286; -} -lean_ctor_set(x_2287, 0, x_2284); -lean_ctor_set(x_2287, 1, x_2285); -return x_2287; -} -} -else -{ -lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; uint8_t 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; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; 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; uint8_t x_2323; uint8_t x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; -lean_dec(x_2211); -x_2288 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_2289 = lean_name_mk_string(x_118, x_2288); -x_2290 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2291 = lean_ctor_get(x_2290, 0); -lean_inc(x_2291); -x_2292 = lean_ctor_get(x_2290, 1); +lean_dec(x_2282); +x_2285 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_2286 = 0; +lean_inc_n(x_2281, 2); +x_2287 = lean_local_ctx_mk_local_decl(x_2283, x_2281, x_2281, x_2285, x_2286); +x_2288 = l_Array_eraseIdx___rarg(x_2197, x_2201); +x_2289 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2284); +x_2290 = lean_ctor_get(x_2289, 1); +lean_inc(x_2290); +lean_dec(x_2289); +x_2291 = l_Lean_Elab_Term_getMainModule___rarg(x_2290); +x_2292 = lean_ctor_get(x_2291, 1); lean_inc(x_2292); -lean_dec(x_2290); -x_2293 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_2294 = 0; -lean_inc_n(x_2289, 2); -x_2295 = lean_local_ctx_mk_local_decl(x_2291, x_2289, x_2289, x_2293, x_2294); -x_2296 = l_Array_eraseIdx___rarg(x_2205, x_2209); -x_2297 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2292); -x_2298 = lean_ctor_get(x_2297, 1); -lean_inc(x_2298); -lean_dec(x_2297); -x_2299 = l_Lean_Elab_Term_getMainModule___rarg(x_2298); -x_2300 = lean_ctor_get(x_2299, 1); -lean_inc(x_2300); -lean_dec(x_2299); -x_2301 = lean_name_mk_string(x_2214, x_1978); -x_2302 = l_Lean_nullKind___closed__1; -x_2303 = lean_name_mk_string(x_118, x_2302); -x_2304 = l_Array_empty___closed__1; -x_2305 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2296, x_2296, x_2209, x_2304); -lean_dec(x_2296); -x_2306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2306, 0, x_2303); -lean_ctor_set(x_2306, 1, x_2305); -x_2307 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2308 = lean_array_push(x_2307, x_2306); -x_2309 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2310 = lean_array_push(x_2308, x_2309); -x_2311 = lean_array_push(x_2310, x_2207); -x_2312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2312, 0, x_2301); -lean_ctor_set(x_2312, 1, x_2311); -x_2313 = lean_ctor_get(x_2, 0); +lean_dec(x_2291); +x_2293 = lean_name_mk_string(x_2206, x_1959); +x_2294 = l_Lean_nullKind___closed__1; +x_2295 = lean_name_mk_string(x_27, x_2294); +x_2296 = l_Array_empty___closed__1; +x_2297 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2288, x_2288, x_2201, x_2296); +lean_dec(x_2288); +x_2298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2298, 0, x_2295); +lean_ctor_set(x_2298, 1, x_2297); +x_2299 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2300 = lean_array_push(x_2299, x_2298); +x_2301 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2302 = lean_array_push(x_2300, x_2301); +x_2303 = lean_array_push(x_2302, x_2199); +x_2304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2304, 0, x_2293); +lean_ctor_set(x_2304, 1, x_2303); +x_2305 = lean_ctor_get(x_2, 0); +lean_inc(x_2305); +x_2306 = lean_ctor_get(x_2, 1); +lean_inc(x_2306); +x_2307 = lean_ctor_get(x_2, 2); +lean_inc(x_2307); +x_2308 = lean_ctor_get(x_2, 3); +lean_inc(x_2308); +x_2309 = lean_ctor_get(x_2, 4); +lean_inc(x_2309); +x_2310 = lean_ctor_get(x_2, 5); +lean_inc(x_2310); +x_2311 = lean_ctor_get(x_2, 6); +lean_inc(x_2311); +x_2312 = lean_ctor_get(x_2, 7); +lean_inc(x_2312); +x_2313 = lean_ctor_get(x_2, 8); lean_inc(x_2313); -x_2314 = lean_ctor_get(x_2, 1); +x_2314 = lean_ctor_get(x_2, 9); lean_inc(x_2314); -x_2315 = lean_ctor_get(x_2, 2); -lean_inc(x_2315); -x_2316 = lean_ctor_get(x_2, 3); -lean_inc(x_2316); -x_2317 = lean_ctor_get(x_2, 4); -lean_inc(x_2317); -x_2318 = lean_ctor_get(x_2, 5); -lean_inc(x_2318); -x_2319 = lean_ctor_get(x_2, 6); -lean_inc(x_2319); -x_2320 = lean_ctor_get(x_2, 7); -lean_inc(x_2320); -x_2321 = lean_ctor_get(x_2, 8); -lean_inc(x_2321); -x_2322 = lean_ctor_get(x_2, 9); -lean_inc(x_2322); -x_2323 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2324 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_2315 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2316 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -22611,180 +22782,180 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2325 = x_2; + x_2317 = x_2; } else { lean_dec_ref(x_2); - x_2325 = lean_box(0); + x_2317 = lean_box(0); } -x_2326 = lean_ctor_get(x_2313, 0); -lean_inc(x_2326); -x_2327 = lean_ctor_get(x_2313, 2); -lean_inc(x_2327); -x_2328 = lean_ctor_get(x_2313, 3); -lean_inc(x_2328); -x_2329 = lean_ctor_get(x_2313, 4); -lean_inc(x_2329); -if (lean_is_exclusive(x_2313)) { - lean_ctor_release(x_2313, 0); - lean_ctor_release(x_2313, 1); - lean_ctor_release(x_2313, 2); - lean_ctor_release(x_2313, 3); - lean_ctor_release(x_2313, 4); - x_2330 = x_2313; +x_2318 = lean_ctor_get(x_2305, 0); +lean_inc(x_2318); +x_2319 = lean_ctor_get(x_2305, 2); +lean_inc(x_2319); +x_2320 = lean_ctor_get(x_2305, 3); +lean_inc(x_2320); +x_2321 = lean_ctor_get(x_2305, 4); +lean_inc(x_2321); +if (lean_is_exclusive(x_2305)) { + lean_ctor_release(x_2305, 0); + lean_ctor_release(x_2305, 1); + lean_ctor_release(x_2305, 2); + lean_ctor_release(x_2305, 3); + lean_ctor_release(x_2305, 4); + x_2322 = x_2305; } else { - lean_dec_ref(x_2313); - x_2330 = lean_box(0); + lean_dec_ref(x_2305); + x_2322 = lean_box(0); } -lean_inc(x_2295); -if (lean_is_scalar(x_2330)) { - x_2331 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_2287); +if (lean_is_scalar(x_2322)) { + x_2323 = lean_alloc_ctor(0, 5, 0); } else { - x_2331 = x_2330; + x_2323 = x_2322; } -lean_ctor_set(x_2331, 0, x_2326); -lean_ctor_set(x_2331, 1, x_2295); -lean_ctor_set(x_2331, 2, x_2327); -lean_ctor_set(x_2331, 3, x_2328); -lean_ctor_set(x_2331, 4, x_2329); -if (lean_is_scalar(x_2325)) { - x_2332 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_2323, 0, x_2318); +lean_ctor_set(x_2323, 1, x_2287); +lean_ctor_set(x_2323, 2, x_2319); +lean_ctor_set(x_2323, 3, x_2320); +lean_ctor_set(x_2323, 4, x_2321); +if (lean_is_scalar(x_2317)) { + x_2324 = lean_alloc_ctor(0, 10, 2); } else { - x_2332 = x_2325; + x_2324 = x_2317; } -lean_ctor_set(x_2332, 0, x_2331); -lean_ctor_set(x_2332, 1, x_2314); -lean_ctor_set(x_2332, 2, x_2315); -lean_ctor_set(x_2332, 3, x_2316); -lean_ctor_set(x_2332, 4, x_2317); -lean_ctor_set(x_2332, 5, x_2318); -lean_ctor_set(x_2332, 6, x_2319); -lean_ctor_set(x_2332, 7, x_2320); -lean_ctor_set(x_2332, 8, x_2321); -lean_ctor_set(x_2332, 9, x_2322); -lean_ctor_set_uint8(x_2332, sizeof(void*)*10, x_2323); -lean_ctor_set_uint8(x_2332, sizeof(void*)*10 + 1, x_2324); -x_2333 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2312, x_2332, x_2300); -if (lean_obj_tag(x_2333) == 0) +lean_ctor_set(x_2324, 0, x_2323); +lean_ctor_set(x_2324, 1, x_2306); +lean_ctor_set(x_2324, 2, x_2307); +lean_ctor_set(x_2324, 3, x_2308); +lean_ctor_set(x_2324, 4, x_2309); +lean_ctor_set(x_2324, 5, x_2310); +lean_ctor_set(x_2324, 6, x_2311); +lean_ctor_set(x_2324, 7, x_2312); +lean_ctor_set(x_2324, 8, x_2313); +lean_ctor_set(x_2324, 9, x_2314); +lean_ctor_set_uint8(x_2324, sizeof(void*)*10, x_2315); +lean_ctor_set_uint8(x_2324, sizeof(void*)*10 + 1, x_2316); +x_2325 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2304, x_2324, x_2292); +if (lean_obj_tag(x_2325) == 0) { -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; -x_2334 = lean_ctor_get(x_2333, 0); -lean_inc(x_2334); -x_2335 = lean_ctor_get(x_2333, 1); -lean_inc(x_2335); -if (lean_is_exclusive(x_2333)) { - lean_ctor_release(x_2333, 0); - lean_ctor_release(x_2333, 1); - x_2336 = x_2333; +lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; +x_2326 = lean_ctor_get(x_2325, 0); +lean_inc(x_2326); +x_2327 = lean_ctor_get(x_2325, 1); +lean_inc(x_2327); +if (lean_is_exclusive(x_2325)) { + lean_ctor_release(x_2325, 0); + lean_ctor_release(x_2325, 1); + x_2328 = x_2325; } else { - lean_dec_ref(x_2333); + lean_dec_ref(x_2325); + x_2328 = lean_box(0); +} +x_2329 = l_Lean_mkFVar(x_2281); +x_2330 = l_Lean_mkOptionalNode___closed__2; +x_2331 = lean_array_push(x_2330, x_2329); +x_2332 = l_Lean_LocalContext_mkLambda(x_2287, x_2331, x_2326); +lean_dec(x_2326); +lean_dec(x_2331); +if (lean_is_scalar(x_2328)) { + x_2333 = lean_alloc_ctor(0, 2, 0); +} else { + x_2333 = x_2328; +} +lean_ctor_set(x_2333, 0, x_2332); +lean_ctor_set(x_2333, 1, x_2327); +return x_2333; +} +else +{ +lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; +lean_dec(x_2287); +lean_dec(x_2281); +x_2334 = lean_ctor_get(x_2325, 0); +lean_inc(x_2334); +x_2335 = lean_ctor_get(x_2325, 1); +lean_inc(x_2335); +if (lean_is_exclusive(x_2325)) { + lean_ctor_release(x_2325, 0); + lean_ctor_release(x_2325, 1); + x_2336 = x_2325; +} else { + lean_dec_ref(x_2325); x_2336 = lean_box(0); } -x_2337 = l_Lean_mkFVar(x_2289); -x_2338 = l_Lean_mkOptionalNode___closed__2; -x_2339 = lean_array_push(x_2338, x_2337); -x_2340 = l_Lean_LocalContext_mkLambda(x_2295, x_2339, x_2334); -lean_dec(x_2334); -lean_dec(x_2339); if (lean_is_scalar(x_2336)) { - x_2341 = lean_alloc_ctor(0, 2, 0); + x_2337 = lean_alloc_ctor(1, 2, 0); } else { - x_2341 = x_2336; + x_2337 = x_2336; } -lean_ctor_set(x_2341, 0, x_2340); -lean_ctor_set(x_2341, 1, x_2335); -return x_2341; -} -else -{ -lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; -lean_dec(x_2295); -lean_dec(x_2289); -x_2342 = lean_ctor_get(x_2333, 0); -lean_inc(x_2342); -x_2343 = lean_ctor_get(x_2333, 1); -lean_inc(x_2343); -if (lean_is_exclusive(x_2333)) { - lean_ctor_release(x_2333, 0); - lean_ctor_release(x_2333, 1); - x_2344 = x_2333; -} else { - lean_dec_ref(x_2333); - x_2344 = lean_box(0); -} -if (lean_is_scalar(x_2344)) { - x_2345 = lean_alloc_ctor(1, 2, 0); -} else { - x_2345 = x_2344; -} -lean_ctor_set(x_2345, 0, x_2342); -lean_ctor_set(x_2345, 1, x_2343); -return x_2345; +lean_ctor_set(x_2337, 0, x_2334); +lean_ctor_set(x_2337, 1, x_2335); +return x_2337; } } } else { -lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; uint8_t 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; uint8_t x_2380; uint8_t x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; -x_2346 = l_Lean_Syntax_getIdAt(x_2211, x_2209); -lean_dec(x_2211); -x_2347 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2348 = lean_ctor_get(x_2347, 0); -lean_inc(x_2348); -x_2349 = lean_ctor_get(x_2347, 1); +lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; uint8_t 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; uint8_t x_2372; uint8_t 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; +x_2338 = l_Lean_Syntax_getIdAt(x_2203, x_2201); +lean_dec(x_2203); +x_2339 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2340 = lean_ctor_get(x_2339, 0); +lean_inc(x_2340); +x_2341 = lean_ctor_get(x_2339, 1); +lean_inc(x_2341); +lean_dec(x_2339); +x_2342 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_2343 = 0; +lean_inc_n(x_2338, 2); +x_2344 = lean_local_ctx_mk_local_decl(x_2340, x_2338, x_2338, x_2342, x_2343); +x_2345 = l_Array_eraseIdx___rarg(x_2197, x_2201); +x_2346 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2341); +x_2347 = lean_ctor_get(x_2346, 1); +lean_inc(x_2347); +lean_dec(x_2346); +x_2348 = l_Lean_Elab_Term_getMainModule___rarg(x_2347); +x_2349 = lean_ctor_get(x_2348, 1); lean_inc(x_2349); -lean_dec(x_2347); -x_2350 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_2351 = 0; -lean_inc_n(x_2346, 2); -x_2352 = lean_local_ctx_mk_local_decl(x_2348, x_2346, x_2346, x_2350, x_2351); -x_2353 = l_Array_eraseIdx___rarg(x_2205, x_2209); -x_2354 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2349); -x_2355 = lean_ctor_get(x_2354, 1); -lean_inc(x_2355); -lean_dec(x_2354); -x_2356 = l_Lean_Elab_Term_getMainModule___rarg(x_2355); -x_2357 = lean_ctor_get(x_2356, 1); -lean_inc(x_2357); -lean_dec(x_2356); -x_2358 = lean_name_mk_string(x_2214, x_1978); -x_2359 = l_Lean_nullKind___closed__1; -x_2360 = lean_name_mk_string(x_118, x_2359); -x_2361 = l_Array_empty___closed__1; -x_2362 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2353, x_2353, x_2209, x_2361); -lean_dec(x_2353); -x_2363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2363, 0, x_2360); -lean_ctor_set(x_2363, 1, x_2362); -x_2364 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2365 = lean_array_push(x_2364, x_2363); -x_2366 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2367 = lean_array_push(x_2365, x_2366); -x_2368 = lean_array_push(x_2367, x_2207); -x_2369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2369, 0, x_2358); -lean_ctor_set(x_2369, 1, x_2368); -x_2370 = lean_ctor_get(x_2, 0); +lean_dec(x_2348); +x_2350 = lean_name_mk_string(x_2206, x_1959); +x_2351 = l_Lean_nullKind___closed__1; +x_2352 = lean_name_mk_string(x_27, x_2351); +x_2353 = l_Array_empty___closed__1; +x_2354 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2345, x_2345, x_2201, x_2353); +lean_dec(x_2345); +x_2355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2355, 0, x_2352); +lean_ctor_set(x_2355, 1, x_2354); +x_2356 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2357 = lean_array_push(x_2356, x_2355); +x_2358 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2359 = lean_array_push(x_2357, x_2358); +x_2360 = lean_array_push(x_2359, x_2199); +x_2361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2361, 0, x_2350); +lean_ctor_set(x_2361, 1, x_2360); +x_2362 = lean_ctor_get(x_2, 0); +lean_inc(x_2362); +x_2363 = lean_ctor_get(x_2, 1); +lean_inc(x_2363); +x_2364 = lean_ctor_get(x_2, 2); +lean_inc(x_2364); +x_2365 = lean_ctor_get(x_2, 3); +lean_inc(x_2365); +x_2366 = lean_ctor_get(x_2, 4); +lean_inc(x_2366); +x_2367 = lean_ctor_get(x_2, 5); +lean_inc(x_2367); +x_2368 = lean_ctor_get(x_2, 6); +lean_inc(x_2368); +x_2369 = lean_ctor_get(x_2, 7); +lean_inc(x_2369); +x_2370 = lean_ctor_get(x_2, 8); lean_inc(x_2370); -x_2371 = lean_ctor_get(x_2, 1); +x_2371 = lean_ctor_get(x_2, 9); lean_inc(x_2371); -x_2372 = lean_ctor_get(x_2, 2); -lean_inc(x_2372); -x_2373 = lean_ctor_get(x_2, 3); -lean_inc(x_2373); -x_2374 = lean_ctor_get(x_2, 4); -lean_inc(x_2374); -x_2375 = lean_ctor_get(x_2, 5); -lean_inc(x_2375); -x_2376 = lean_ctor_get(x_2, 6); -lean_inc(x_2376); -x_2377 = lean_ctor_get(x_2, 7); -lean_inc(x_2377); -x_2378 = lean_ctor_get(x_2, 8); -lean_inc(x_2378); -x_2379 = lean_ctor_get(x_2, 9); -lean_inc(x_2379); -x_2380 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2381 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_2372 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2373 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -22796,838 +22967,874 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2382 = x_2; + x_2374 = x_2; } else { lean_dec_ref(x_2); - x_2382 = lean_box(0); + x_2374 = lean_box(0); } -x_2383 = lean_ctor_get(x_2370, 0); -lean_inc(x_2383); -x_2384 = lean_ctor_get(x_2370, 2); -lean_inc(x_2384); -x_2385 = lean_ctor_get(x_2370, 3); -lean_inc(x_2385); -x_2386 = lean_ctor_get(x_2370, 4); -lean_inc(x_2386); -if (lean_is_exclusive(x_2370)) { - lean_ctor_release(x_2370, 0); - lean_ctor_release(x_2370, 1); - lean_ctor_release(x_2370, 2); - lean_ctor_release(x_2370, 3); - lean_ctor_release(x_2370, 4); - x_2387 = x_2370; +x_2375 = lean_ctor_get(x_2362, 0); +lean_inc(x_2375); +x_2376 = lean_ctor_get(x_2362, 2); +lean_inc(x_2376); +x_2377 = lean_ctor_get(x_2362, 3); +lean_inc(x_2377); +x_2378 = lean_ctor_get(x_2362, 4); +lean_inc(x_2378); +if (lean_is_exclusive(x_2362)) { + lean_ctor_release(x_2362, 0); + lean_ctor_release(x_2362, 1); + lean_ctor_release(x_2362, 2); + lean_ctor_release(x_2362, 3); + lean_ctor_release(x_2362, 4); + x_2379 = x_2362; } else { - lean_dec_ref(x_2370); - x_2387 = lean_box(0); + lean_dec_ref(x_2362); + x_2379 = lean_box(0); } -lean_inc(x_2352); -if (lean_is_scalar(x_2387)) { - x_2388 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_2344); +if (lean_is_scalar(x_2379)) { + x_2380 = lean_alloc_ctor(0, 5, 0); } else { - x_2388 = x_2387; + x_2380 = x_2379; } -lean_ctor_set(x_2388, 0, x_2383); -lean_ctor_set(x_2388, 1, x_2352); -lean_ctor_set(x_2388, 2, x_2384); -lean_ctor_set(x_2388, 3, x_2385); -lean_ctor_set(x_2388, 4, x_2386); -if (lean_is_scalar(x_2382)) { - x_2389 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_2380, 0, x_2375); +lean_ctor_set(x_2380, 1, x_2344); +lean_ctor_set(x_2380, 2, x_2376); +lean_ctor_set(x_2380, 3, x_2377); +lean_ctor_set(x_2380, 4, x_2378); +if (lean_is_scalar(x_2374)) { + x_2381 = lean_alloc_ctor(0, 10, 2); } else { - x_2389 = x_2382; + x_2381 = x_2374; } -lean_ctor_set(x_2389, 0, x_2388); -lean_ctor_set(x_2389, 1, x_2371); -lean_ctor_set(x_2389, 2, x_2372); -lean_ctor_set(x_2389, 3, x_2373); -lean_ctor_set(x_2389, 4, x_2374); -lean_ctor_set(x_2389, 5, x_2375); -lean_ctor_set(x_2389, 6, x_2376); -lean_ctor_set(x_2389, 7, x_2377); -lean_ctor_set(x_2389, 8, x_2378); -lean_ctor_set(x_2389, 9, x_2379); -lean_ctor_set_uint8(x_2389, sizeof(void*)*10, x_2380); -lean_ctor_set_uint8(x_2389, sizeof(void*)*10 + 1, x_2381); -x_2390 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2369, x_2389, x_2357); -if (lean_obj_tag(x_2390) == 0) +lean_ctor_set(x_2381, 0, x_2380); +lean_ctor_set(x_2381, 1, x_2363); +lean_ctor_set(x_2381, 2, x_2364); +lean_ctor_set(x_2381, 3, x_2365); +lean_ctor_set(x_2381, 4, x_2366); +lean_ctor_set(x_2381, 5, x_2367); +lean_ctor_set(x_2381, 6, x_2368); +lean_ctor_set(x_2381, 7, x_2369); +lean_ctor_set(x_2381, 8, x_2370); +lean_ctor_set(x_2381, 9, x_2371); +lean_ctor_set_uint8(x_2381, sizeof(void*)*10, x_2372); +lean_ctor_set_uint8(x_2381, sizeof(void*)*10 + 1, x_2373); +x_2382 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2361, x_2381, x_2349); +if (lean_obj_tag(x_2382) == 0) { -lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; -x_2391 = lean_ctor_get(x_2390, 0); -lean_inc(x_2391); -x_2392 = lean_ctor_get(x_2390, 1); -lean_inc(x_2392); -if (lean_is_exclusive(x_2390)) { - lean_ctor_release(x_2390, 0); - lean_ctor_release(x_2390, 1); - x_2393 = x_2390; +lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; +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; } else { - lean_dec_ref(x_2390); + lean_dec_ref(x_2382); + x_2385 = lean_box(0); +} +x_2386 = l_Lean_mkFVar(x_2338); +x_2387 = l_Lean_mkOptionalNode___closed__2; +x_2388 = lean_array_push(x_2387, x_2386); +x_2389 = l_Lean_LocalContext_mkLambda(x_2344, x_2388, x_2383); +lean_dec(x_2383); +lean_dec(x_2388); +if (lean_is_scalar(x_2385)) { + x_2390 = lean_alloc_ctor(0, 2, 0); +} else { + x_2390 = x_2385; +} +lean_ctor_set(x_2390, 0, x_2389); +lean_ctor_set(x_2390, 1, x_2384); +return x_2390; +} +else +{ +lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; +lean_dec(x_2344); +lean_dec(x_2338); +x_2391 = lean_ctor_get(x_2382, 0); +lean_inc(x_2391); +x_2392 = lean_ctor_get(x_2382, 1); +lean_inc(x_2392); +if (lean_is_exclusive(x_2382)) { + lean_ctor_release(x_2382, 0); + lean_ctor_release(x_2382, 1); + x_2393 = x_2382; +} else { + lean_dec_ref(x_2382); x_2393 = lean_box(0); } -x_2394 = l_Lean_mkFVar(x_2346); -x_2395 = l_Lean_mkOptionalNode___closed__2; -x_2396 = lean_array_push(x_2395, x_2394); -x_2397 = l_Lean_LocalContext_mkLambda(x_2352, x_2396, x_2391); -lean_dec(x_2391); -lean_dec(x_2396); if (lean_is_scalar(x_2393)) { - x_2398 = lean_alloc_ctor(0, 2, 0); + x_2394 = lean_alloc_ctor(1, 2, 0); } else { - x_2398 = x_2393; + x_2394 = x_2393; } -lean_ctor_set(x_2398, 0, x_2397); -lean_ctor_set(x_2398, 1, x_2392); -return x_2398; -} -else -{ -lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; -lean_dec(x_2352); -lean_dec(x_2346); -x_2399 = lean_ctor_get(x_2390, 0); -lean_inc(x_2399); -x_2400 = lean_ctor_get(x_2390, 1); -lean_inc(x_2400); -if (lean_is_exclusive(x_2390)) { - lean_ctor_release(x_2390, 0); - lean_ctor_release(x_2390, 1); - x_2401 = x_2390; -} else { - lean_dec_ref(x_2390); - x_2401 = lean_box(0); -} -if (lean_is_scalar(x_2401)) { - x_2402 = lean_alloc_ctor(1, 2, 0); -} else { - x_2402 = x_2401; -} -lean_ctor_set(x_2402, 0, x_2399); -lean_ctor_set(x_2402, 1, x_2400); -return x_2402; +lean_ctor_set(x_2394, 0, x_2391); +lean_ctor_set(x_2394, 1, x_2392); +return x_2394; } } } else { -lean_dec(x_2205); -x_1 = x_2207; +lean_dec(x_2197); +x_1 = x_2199; goto _start; } } } else { -lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; -lean_dec(x_1951); -lean_dec(x_1947); -lean_free_object(x_106); -lean_dec(x_119); -x_2404 = l_Lean_Syntax_inhabited; -x_2405 = lean_unsigned_to_nat(0u); -x_2406 = lean_array_get(x_2404, x_4, x_2405); +lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; +lean_dec(x_1932); +lean_dec(x_1928); +lean_free_object(x_15); +lean_dec(x_28); +x_2396 = l_Lean_Syntax_inhabited; +x_2397 = lean_unsigned_to_nat(0u); +x_2398 = lean_array_get(x_2396, x_4, x_2397); lean_dec(x_4); -if (lean_obj_tag(x_2406) == 3) +if (lean_obj_tag(x_2398) == 3) { -lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; -x_2407 = lean_ctor_get(x_2406, 2); -lean_inc(x_2407); -x_2408 = lean_ctor_get(x_2406, 3); -lean_inc(x_2408); -lean_dec(x_2406); -x_2409 = lean_box(0); +lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; +x_2399 = lean_ctor_get(x_2398, 2); +lean_inc(x_2399); +x_2400 = lean_ctor_get(x_2398, 3); +lean_inc(x_2400); +lean_dec(x_2398); +x_2401 = lean_box(0); lean_inc(x_2); -x_2410 = l_Lean_Elab_Term_resolveName(x_1, x_2407, x_2408, x_2409, x_2, x_3); +x_2402 = l_Lean_Elab_Term_resolveName(x_1, x_2399, x_2400, x_2401, x_2, x_3); lean_dec(x_1); -if (lean_obj_tag(x_2410) == 0) +if (lean_obj_tag(x_2402) == 0) { -lean_object* x_2411; -x_2411 = lean_ctor_get(x_2410, 0); -lean_inc(x_2411); -if (lean_obj_tag(x_2411) == 0) +lean_object* x_2403; +x_2403 = lean_ctor_get(x_2402, 0); +lean_inc(x_2403); +if (lean_obj_tag(x_2403) == 0) { -lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; -x_2412 = lean_ctor_get(x_2410, 1); -lean_inc(x_2412); -lean_dec(x_2410); -x_2413 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2414 = l_unreachable_x21___rarg(x_2413); -x_2415 = lean_apply_2(x_2414, x_2, x_2412); -return x_2415; +lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; +x_2404 = lean_ctor_get(x_2402, 1); +lean_inc(x_2404); +lean_dec(x_2402); +x_2405 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2406 = l_unreachable_x21___rarg(x_2405); +x_2407 = lean_apply_2(x_2406, x_2, x_2404); +return x_2407; } else { -lean_object* x_2416; lean_object* x_2417; +lean_object* x_2408; lean_object* x_2409; lean_dec(x_2); -x_2416 = lean_ctor_get(x_2411, 0); -lean_inc(x_2416); -lean_dec(x_2411); -x_2417 = lean_ctor_get(x_2416, 0); -lean_inc(x_2417); -switch (lean_obj_tag(x_2417)) { +x_2408 = lean_ctor_get(x_2403, 0); +lean_inc(x_2408); +lean_dec(x_2403); +x_2409 = lean_ctor_get(x_2408, 0); +lean_inc(x_2409); +switch (lean_obj_tag(x_2409)) { case 0: { -lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; -x_2418 = lean_ctor_get(x_2410, 1); -lean_inc(x_2418); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2419 = x_2410; +lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; +x_2410 = lean_ctor_get(x_2402, 1); +lean_inc(x_2410); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2411 = x_2402; } else { - lean_dec_ref(x_2410); - x_2419 = lean_box(0); + lean_dec_ref(x_2402); + x_2411 = lean_box(0); } -x_2420 = lean_ctor_get(x_2416, 1); -lean_inc(x_2420); -lean_dec(x_2416); -x_2421 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_2417, x_2420); -if (lean_is_scalar(x_2419)) { - x_2422 = lean_alloc_ctor(0, 2, 0); +x_2412 = lean_ctor_get(x_2408, 1); +lean_inc(x_2412); +lean_dec(x_2408); +x_2413 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_2409, x_2412); +if (lean_is_scalar(x_2411)) { + x_2414 = lean_alloc_ctor(0, 2, 0); } else { - x_2422 = x_2419; + x_2414 = x_2411; } -lean_ctor_set(x_2422, 0, x_2421); -lean_ctor_set(x_2422, 1, x_2418); -return x_2422; +lean_ctor_set(x_2414, 0, x_2413); +lean_ctor_set(x_2414, 1, x_2410); +return x_2414; } case 1: { -lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; -x_2423 = lean_ctor_get(x_2410, 1); -lean_inc(x_2423); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2424 = x_2410; +lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; +x_2415 = lean_ctor_get(x_2402, 1); +lean_inc(x_2415); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2416 = x_2402; } else { - lean_dec_ref(x_2410); - x_2424 = lean_box(0); + lean_dec_ref(x_2402); + x_2416 = lean_box(0); } -x_2425 = lean_ctor_get(x_2416, 1); -lean_inc(x_2425); -lean_dec(x_2416); -x_2426 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_2417, x_2425); -if (lean_is_scalar(x_2424)) { - x_2427 = lean_alloc_ctor(0, 2, 0); +x_2417 = lean_ctor_get(x_2408, 1); +lean_inc(x_2417); +lean_dec(x_2408); +x_2418 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_2409, x_2417); +if (lean_is_scalar(x_2416)) { + x_2419 = lean_alloc_ctor(0, 2, 0); } else { - x_2427 = x_2424; + x_2419 = x_2416; } -lean_ctor_set(x_2427, 0, x_2426); -lean_ctor_set(x_2427, 1, x_2423); -return x_2427; +lean_ctor_set(x_2419, 0, x_2418); +lean_ctor_set(x_2419, 1, x_2415); +return x_2419; } case 2: { -lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; -x_2428 = lean_ctor_get(x_2410, 1); -lean_inc(x_2428); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2429 = x_2410; +lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; +x_2420 = lean_ctor_get(x_2402, 1); +lean_inc(x_2420); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2421 = x_2402; } else { - lean_dec_ref(x_2410); - x_2429 = lean_box(0); + lean_dec_ref(x_2402); + x_2421 = lean_box(0); } -x_2430 = lean_ctor_get(x_2416, 1); -lean_inc(x_2430); -lean_dec(x_2416); -x_2431 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_2417, x_2430); -if (lean_is_scalar(x_2429)) { - x_2432 = lean_alloc_ctor(0, 2, 0); +x_2422 = lean_ctor_get(x_2408, 1); +lean_inc(x_2422); +lean_dec(x_2408); +x_2423 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_2409, x_2422); +if (lean_is_scalar(x_2421)) { + x_2424 = lean_alloc_ctor(0, 2, 0); } else { - x_2432 = x_2429; + x_2424 = x_2421; } -lean_ctor_set(x_2432, 0, x_2431); -lean_ctor_set(x_2432, 1, x_2428); -return x_2432; +lean_ctor_set(x_2424, 0, x_2423); +lean_ctor_set(x_2424, 1, x_2420); +return x_2424; } case 3: { -lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; -x_2433 = lean_ctor_get(x_2410, 1); -lean_inc(x_2433); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2434 = x_2410; +lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; +x_2425 = lean_ctor_get(x_2402, 1); +lean_inc(x_2425); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2426 = x_2402; } else { - lean_dec_ref(x_2410); - x_2434 = lean_box(0); + lean_dec_ref(x_2402); + x_2426 = lean_box(0); } -x_2435 = lean_ctor_get(x_2416, 1); -lean_inc(x_2435); -lean_dec(x_2416); -x_2436 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_2417, x_2435); -if (lean_is_scalar(x_2434)) { - x_2437 = lean_alloc_ctor(0, 2, 0); +x_2427 = lean_ctor_get(x_2408, 1); +lean_inc(x_2427); +lean_dec(x_2408); +x_2428 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_2409, x_2427); +if (lean_is_scalar(x_2426)) { + x_2429 = lean_alloc_ctor(0, 2, 0); } else { - x_2437 = x_2434; + x_2429 = x_2426; } -lean_ctor_set(x_2437, 0, x_2436); -lean_ctor_set(x_2437, 1, x_2433); -return x_2437; +lean_ctor_set(x_2429, 0, x_2428); +lean_ctor_set(x_2429, 1, x_2425); +return x_2429; } case 4: { -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; -x_2438 = lean_ctor_get(x_2410, 1); -lean_inc(x_2438); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2439 = x_2410; +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; +x_2430 = lean_ctor_get(x_2402, 1); +lean_inc(x_2430); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2431 = x_2402; } else { - lean_dec_ref(x_2410); - x_2439 = lean_box(0); + lean_dec_ref(x_2402); + x_2431 = lean_box(0); } -x_2440 = lean_ctor_get(x_2416, 1); -lean_inc(x_2440); -lean_dec(x_2416); -x_2441 = lean_ctor_get(x_2417, 0); -lean_inc(x_2441); -lean_dec(x_2417); -x_2442 = l_Lean_mkConst(x_2441, x_2409); -x_2443 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_2442, x_2440); -if (lean_is_scalar(x_2439)) { - x_2444 = lean_alloc_ctor(0, 2, 0); +x_2432 = lean_ctor_get(x_2408, 1); +lean_inc(x_2432); +lean_dec(x_2408); +x_2433 = lean_ctor_get(x_2409, 0); +lean_inc(x_2433); +lean_dec(x_2409); +x_2434 = l_Lean_mkConst(x_2433, x_2401); +x_2435 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_2434, x_2432); +if (lean_is_scalar(x_2431)) { + x_2436 = lean_alloc_ctor(0, 2, 0); } else { - x_2444 = x_2439; + x_2436 = x_2431; } -lean_ctor_set(x_2444, 0, x_2443); -lean_ctor_set(x_2444, 1, x_2438); -return x_2444; +lean_ctor_set(x_2436, 0, x_2435); +lean_ctor_set(x_2436, 1, x_2430); +return x_2436; } case 5: { -lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; -x_2445 = lean_ctor_get(x_2410, 1); -lean_inc(x_2445); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2446 = x_2410; +lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; +x_2437 = lean_ctor_get(x_2402, 1); +lean_inc(x_2437); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2438 = x_2402; } else { - lean_dec_ref(x_2410); - x_2446 = lean_box(0); + lean_dec_ref(x_2402); + x_2438 = lean_box(0); } -x_2447 = lean_ctor_get(x_2416, 1); -lean_inc(x_2447); -lean_dec(x_2416); -x_2448 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_2417, x_2447); -if (lean_is_scalar(x_2446)) { - x_2449 = lean_alloc_ctor(0, 2, 0); +x_2439 = lean_ctor_get(x_2408, 1); +lean_inc(x_2439); +lean_dec(x_2408); +x_2440 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_2409, x_2439); +if (lean_is_scalar(x_2438)) { + x_2441 = lean_alloc_ctor(0, 2, 0); } else { - x_2449 = x_2446; + x_2441 = x_2438; } -lean_ctor_set(x_2449, 0, x_2448); -lean_ctor_set(x_2449, 1, x_2445); -return x_2449; +lean_ctor_set(x_2441, 0, x_2440); +lean_ctor_set(x_2441, 1, x_2437); +return x_2441; } case 6: { -lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; -x_2450 = lean_ctor_get(x_2410, 1); -lean_inc(x_2450); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2451 = x_2410; +lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; +x_2442 = lean_ctor_get(x_2402, 1); +lean_inc(x_2442); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2443 = x_2402; } else { - lean_dec_ref(x_2410); - x_2451 = lean_box(0); + lean_dec_ref(x_2402); + x_2443 = lean_box(0); } -x_2452 = lean_ctor_get(x_2416, 1); -lean_inc(x_2452); -lean_dec(x_2416); -x_2453 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_2417, x_2452); -if (lean_is_scalar(x_2451)) { - x_2454 = lean_alloc_ctor(0, 2, 0); +x_2444 = lean_ctor_get(x_2408, 1); +lean_inc(x_2444); +lean_dec(x_2408); +x_2445 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_2409, x_2444); +if (lean_is_scalar(x_2443)) { + x_2446 = lean_alloc_ctor(0, 2, 0); } else { - x_2454 = x_2451; + x_2446 = x_2443; } -lean_ctor_set(x_2454, 0, x_2453); -lean_ctor_set(x_2454, 1, x_2450); -return x_2454; +lean_ctor_set(x_2446, 0, x_2445); +lean_ctor_set(x_2446, 1, x_2442); +return x_2446; } case 7: { -lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; -x_2455 = lean_ctor_get(x_2410, 1); -lean_inc(x_2455); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2456 = x_2410; +lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; +x_2447 = lean_ctor_get(x_2402, 1); +lean_inc(x_2447); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2448 = x_2402; } else { - lean_dec_ref(x_2410); - x_2456 = lean_box(0); + lean_dec_ref(x_2402); + x_2448 = lean_box(0); } -x_2457 = lean_ctor_get(x_2416, 1); -lean_inc(x_2457); -lean_dec(x_2416); -x_2458 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_2417, x_2457); -if (lean_is_scalar(x_2456)) { - x_2459 = lean_alloc_ctor(0, 2, 0); +x_2449 = lean_ctor_get(x_2408, 1); +lean_inc(x_2449); +lean_dec(x_2408); +x_2450 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_2409, x_2449); +if (lean_is_scalar(x_2448)) { + x_2451 = lean_alloc_ctor(0, 2, 0); } else { - x_2459 = x_2456; + x_2451 = x_2448; } -lean_ctor_set(x_2459, 0, x_2458); -lean_ctor_set(x_2459, 1, x_2455); -return x_2459; +lean_ctor_set(x_2451, 0, x_2450); +lean_ctor_set(x_2451, 1, x_2447); +return x_2451; } case 8: { -lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; -x_2460 = lean_ctor_get(x_2410, 1); -lean_inc(x_2460); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2461 = x_2410; +lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; +x_2452 = lean_ctor_get(x_2402, 1); +lean_inc(x_2452); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2453 = x_2402; } else { - lean_dec_ref(x_2410); - x_2461 = lean_box(0); + lean_dec_ref(x_2402); + x_2453 = lean_box(0); } -x_2462 = lean_ctor_get(x_2416, 1); -lean_inc(x_2462); -lean_dec(x_2416); -x_2463 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_2417, x_2462); -if (lean_is_scalar(x_2461)) { - x_2464 = lean_alloc_ctor(0, 2, 0); +x_2454 = lean_ctor_get(x_2408, 1); +lean_inc(x_2454); +lean_dec(x_2408); +x_2455 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_2409, x_2454); +if (lean_is_scalar(x_2453)) { + x_2456 = lean_alloc_ctor(0, 2, 0); } else { - x_2464 = x_2461; + x_2456 = x_2453; } -lean_ctor_set(x_2464, 0, x_2463); -lean_ctor_set(x_2464, 1, x_2460); -return x_2464; +lean_ctor_set(x_2456, 0, x_2455); +lean_ctor_set(x_2456, 1, x_2452); +return x_2456; } case 9: { -lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; -x_2465 = lean_ctor_get(x_2410, 1); -lean_inc(x_2465); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2466 = x_2410; +lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; +x_2457 = lean_ctor_get(x_2402, 1); +lean_inc(x_2457); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2458 = x_2402; } else { - lean_dec_ref(x_2410); - x_2466 = lean_box(0); + lean_dec_ref(x_2402); + x_2458 = lean_box(0); } -x_2467 = lean_ctor_get(x_2416, 1); -lean_inc(x_2467); -lean_dec(x_2416); -x_2468 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_2417, x_2467); -if (lean_is_scalar(x_2466)) { - x_2469 = lean_alloc_ctor(0, 2, 0); +x_2459 = lean_ctor_get(x_2408, 1); +lean_inc(x_2459); +lean_dec(x_2408); +x_2460 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_2409, x_2459); +if (lean_is_scalar(x_2458)) { + x_2461 = lean_alloc_ctor(0, 2, 0); } else { - x_2469 = x_2466; + x_2461 = x_2458; } -lean_ctor_set(x_2469, 0, x_2468); -lean_ctor_set(x_2469, 1, x_2465); -return x_2469; +lean_ctor_set(x_2461, 0, x_2460); +lean_ctor_set(x_2461, 1, x_2457); +return x_2461; } case 10: { -lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; -x_2470 = lean_ctor_get(x_2410, 1); -lean_inc(x_2470); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2471 = x_2410; +lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; +x_2462 = lean_ctor_get(x_2402, 1); +lean_inc(x_2462); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2463 = x_2402; } else { - lean_dec_ref(x_2410); - x_2471 = lean_box(0); + lean_dec_ref(x_2402); + x_2463 = lean_box(0); } -x_2472 = lean_ctor_get(x_2416, 1); -lean_inc(x_2472); -lean_dec(x_2416); -x_2473 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_2417, x_2472); -if (lean_is_scalar(x_2471)) { - x_2474 = lean_alloc_ctor(0, 2, 0); +x_2464 = lean_ctor_get(x_2408, 1); +lean_inc(x_2464); +lean_dec(x_2408); +x_2465 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_2409, x_2464); +if (lean_is_scalar(x_2463)) { + x_2466 = lean_alloc_ctor(0, 2, 0); } else { - x_2474 = x_2471; + x_2466 = x_2463; } -lean_ctor_set(x_2474, 0, x_2473); -lean_ctor_set(x_2474, 1, x_2470); -return x_2474; +lean_ctor_set(x_2466, 0, x_2465); +lean_ctor_set(x_2466, 1, x_2462); +return x_2466; } case 11: { -lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; -x_2475 = lean_ctor_get(x_2410, 1); -lean_inc(x_2475); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2476 = x_2410; +lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; +x_2467 = lean_ctor_get(x_2402, 1); +lean_inc(x_2467); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2468 = x_2402; } else { - lean_dec_ref(x_2410); - x_2476 = lean_box(0); + lean_dec_ref(x_2402); + x_2468 = lean_box(0); } -x_2477 = lean_ctor_get(x_2416, 1); -lean_inc(x_2477); -lean_dec(x_2416); -x_2478 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_2417, x_2477); -if (lean_is_scalar(x_2476)) { - x_2479 = lean_alloc_ctor(0, 2, 0); +x_2469 = lean_ctor_get(x_2408, 1); +lean_inc(x_2469); +lean_dec(x_2408); +x_2470 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_2409, x_2469); +if (lean_is_scalar(x_2468)) { + x_2471 = lean_alloc_ctor(0, 2, 0); } else { - x_2479 = x_2476; + x_2471 = x_2468; } -lean_ctor_set(x_2479, 0, x_2478); -lean_ctor_set(x_2479, 1, x_2475); -return x_2479; +lean_ctor_set(x_2471, 0, x_2470); +lean_ctor_set(x_2471, 1, x_2467); +return x_2471; } default: { -lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; -x_2480 = lean_ctor_get(x_2410, 1); -lean_inc(x_2480); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2481 = x_2410; +lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; +x_2472 = lean_ctor_get(x_2402, 1); +lean_inc(x_2472); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2473 = x_2402; } else { - lean_dec_ref(x_2410); - x_2481 = lean_box(0); + lean_dec_ref(x_2402); + x_2473 = lean_box(0); } -x_2482 = lean_ctor_get(x_2416, 1); -lean_inc(x_2482); -lean_dec(x_2416); -x_2483 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_2417, x_2482); -if (lean_is_scalar(x_2481)) { - x_2484 = lean_alloc_ctor(0, 2, 0); +x_2474 = lean_ctor_get(x_2408, 1); +lean_inc(x_2474); +lean_dec(x_2408); +x_2475 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_2409, x_2474); +if (lean_is_scalar(x_2473)) { + x_2476 = lean_alloc_ctor(0, 2, 0); } else { - x_2484 = x_2481; + x_2476 = x_2473; } -lean_ctor_set(x_2484, 0, x_2483); -lean_ctor_set(x_2484, 1, x_2480); -return x_2484; +lean_ctor_set(x_2476, 0, x_2475); +lean_ctor_set(x_2476, 1, x_2472); +return x_2476; } } } } else { -lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; +lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_dec(x_2); -x_2485 = lean_ctor_get(x_2410, 0); +x_2477 = lean_ctor_get(x_2402, 0); +lean_inc(x_2477); +x_2478 = lean_ctor_get(x_2402, 1); +lean_inc(x_2478); +if (lean_is_exclusive(x_2402)) { + lean_ctor_release(x_2402, 0); + lean_ctor_release(x_2402, 1); + x_2479 = x_2402; +} else { + lean_dec_ref(x_2402); + x_2479 = lean_box(0); +} +if (lean_is_scalar(x_2479)) { + x_2480 = lean_alloc_ctor(1, 2, 0); +} else { + x_2480 = x_2479; +} +lean_ctor_set(x_2480, 0, x_2477); +lean_ctor_set(x_2480, 1, x_2478); +return x_2480; +} +} +else +{ +lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; +lean_dec(x_2398); +lean_dec(x_1); +x_2481 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2482 = l_unreachable_x21___rarg(x_2481); +x_2483 = lean_apply_2(x_2482, x_2, x_3); +return x_2483; +} +} +} +} +} +} +} +else +{ +size_t x_2484; lean_object* x_2485; size_t x_2486; lean_object* x_2487; size_t x_2488; lean_object* x_2489; lean_object* x_2490; size_t x_2491; lean_object* x_2492; lean_object* x_2493; uint8_t x_2494; +x_2484 = lean_ctor_get_usize(x_5, 2); +x_2485 = lean_ctor_get(x_15, 1); +x_2486 = lean_ctor_get_usize(x_15, 2); lean_inc(x_2485); -x_2486 = lean_ctor_get(x_2410, 1); -lean_inc(x_2486); -if (lean_is_exclusive(x_2410)) { - lean_ctor_release(x_2410, 0); - lean_ctor_release(x_2410, 1); - x_2487 = x_2410; +lean_dec(x_15); +x_2487 = lean_ctor_get(x_25, 1); +lean_inc(x_2487); +x_2488 = lean_ctor_get_usize(x_25, 2); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + x_2489 = x_25; } else { - lean_dec_ref(x_2410); - x_2487 = lean_box(0); + lean_dec_ref(x_25); + x_2489 = lean_box(0); } -if (lean_is_scalar(x_2487)) { - x_2488 = lean_alloc_ctor(1, 2, 0); +x_2490 = lean_ctor_get(x_26, 1); +lean_inc(x_2490); +x_2491 = lean_ctor_get_usize(x_26, 2); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_2492 = x_26; } else { - x_2488 = x_2487; + lean_dec_ref(x_26); + x_2492 = lean_box(0); } -lean_ctor_set(x_2488, 0, x_2485); -lean_ctor_set(x_2488, 1, x_2486); -return x_2488; -} -} -else +x_2493 = l_Lean_mkAppStx___closed__1; +x_2494 = lean_string_dec_eq(x_2490, x_2493); +lean_dec(x_2490); +if (x_2494 == 0) { -lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; -lean_dec(x_2406); -lean_dec(x_1); -x_2489 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2490 = l_unreachable_x21___rarg(x_2489); -x_2491 = lean_apply_2(x_2490, x_2, x_3); -return x_2491; -} -} -} -} -} -} -} -else -{ -size_t x_2492; lean_object* x_2493; size_t x_2494; lean_object* x_2495; size_t x_2496; lean_object* x_2497; lean_object* x_2498; size_t x_2499; lean_object* x_2500; lean_object* x_2501; uint8_t x_2502; -x_2492 = lean_ctor_get_usize(x_96, 2); -x_2493 = lean_ctor_get(x_106, 1); -x_2494 = lean_ctor_get_usize(x_106, 2); -lean_inc(x_2493); -lean_dec(x_106); -x_2495 = lean_ctor_get(x_116, 1); -lean_inc(x_2495); -x_2496 = lean_ctor_get_usize(x_116, 2); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_2497 = x_116; -} else { - lean_dec_ref(x_116); - x_2497 = lean_box(0); -} -x_2498 = lean_ctor_get(x_117, 1); -lean_inc(x_2498); -x_2499 = lean_ctor_get_usize(x_117, 2); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_2500 = x_117; -} else { - lean_dec_ref(x_117); - x_2500 = lean_box(0); -} -x_2501 = l_Lean_mkAppStx___closed__1; -x_2502 = lean_string_dec_eq(x_2498, x_2501); -lean_dec(x_2498); -if (x_2502 == 0) -{ -lean_object* x_2503; -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_2495); -lean_dec(x_2493); -lean_dec(x_119); +lean_object* x_2495; +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_2487); +lean_dec(x_2485); +lean_dec(x_28); lean_dec(x_4); -x_2503 = lean_box(0); -x_97 = x_2503; -goto block_105; +x_2495 = lean_box(0); +x_6 = x_2495; +goto block_14; } else { -lean_object* x_2504; lean_object* x_2505; uint8_t x_2506; -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_2504 = x_96; +lean_object* x_2496; lean_object* x_2497; uint8_t x_2498; +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_2496 = x_5; } else { - lean_dec_ref(x_96); - x_2504 = lean_box(0); + lean_dec_ref(x_5); + x_2496 = lean_box(0); } -x_2505 = l_Lean_mkAppStx___closed__3; -x_2506 = lean_string_dec_eq(x_2495, x_2505); -if (x_2506 == 0) +x_2497 = l_Lean_mkAppStx___closed__3; +x_2498 = lean_string_dec_eq(x_2487, x_2497); +if (x_2498 == 0) { -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_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_dec(x_4); -if (lean_is_scalar(x_2500)) { - x_2507 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_2492)) { + x_2499 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2507 = x_2500; + x_2499 = x_2492; } -lean_ctor_set(x_2507, 0, x_118); -lean_ctor_set(x_2507, 1, x_2501); -lean_ctor_set_usize(x_2507, 2, x_2499); -if (lean_is_scalar(x_2497)) { - x_2508 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2499, 0, x_27); +lean_ctor_set(x_2499, 1, x_2493); +lean_ctor_set_usize(x_2499, 2, x_2491); +if (lean_is_scalar(x_2489)) { + x_2500 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2508 = x_2497; + x_2500 = x_2489; } +lean_ctor_set(x_2500, 0, x_2499); +lean_ctor_set(x_2500, 1, x_2487); +lean_ctor_set_usize(x_2500, 2, x_2488); +x_2501 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2501, 0, x_2500); +lean_ctor_set(x_2501, 1, x_2485); +lean_ctor_set_usize(x_2501, 2, x_2486); +if (lean_is_scalar(x_2496)) { + x_2502 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2502 = x_2496; +} +lean_ctor_set(x_2502, 0, x_2501); +lean_ctor_set(x_2502, 1, x_28); +lean_ctor_set_usize(x_2502, 2, x_2484); +x_2503 = l_System_FilePath_dirName___closed__1; +x_2504 = l_Lean_Name_toStringWithSep___main(x_2503, x_2502); +x_2505 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2505, 0, x_2504); +x_2506 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2506, 0, x_2505); +x_2507 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_2508 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_2508, 0, x_2507); -lean_ctor_set(x_2508, 1, x_2495); -lean_ctor_set_usize(x_2508, 2, x_2496); -x_2509 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2509, 0, x_2508); -lean_ctor_set(x_2509, 1, x_2493); -lean_ctor_set_usize(x_2509, 2, x_2494); -if (lean_is_scalar(x_2504)) { - x_2510 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2510 = x_2504; -} -lean_ctor_set(x_2510, 0, x_2509); -lean_ctor_set(x_2510, 1, x_119); -lean_ctor_set_usize(x_2510, 2, x_2492); -x_2511 = l_System_FilePath_dirName___closed__1; -x_2512 = l_Lean_Name_toStringWithSep___main(x_2511, x_2510); -x_2513 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2513, 0, x_2512); -x_2514 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2514, 0, x_2513); -x_2515 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_2516 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2516, 0, x_2515); -lean_ctor_set(x_2516, 1, x_2514); -x_2517 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2516, x_2, x_3); +lean_ctor_set(x_2508, 1, x_2506); +x_2509 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2508, x_2, x_3); lean_dec(x_1); -return x_2517; +return x_2509; } else { -lean_object* x_2518; uint8_t x_2519; -lean_dec(x_2495); -x_2518 = l_Lean_mkAppStx___closed__5; -x_2519 = lean_string_dec_eq(x_2493, x_2518); -if (x_2519 == 0) +lean_object* x_2510; uint8_t x_2511; +lean_dec(x_2487); +x_2510 = l_Lean_mkAppStx___closed__5; +x_2511 = lean_string_dec_eq(x_2485, x_2510); +if (x_2511 == 0) { -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_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_dec(x_4); -if (lean_is_scalar(x_2500)) { - x_2520 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_2492)) { + x_2512 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2520 = x_2500; + x_2512 = x_2492; } -lean_ctor_set(x_2520, 0, x_118); -lean_ctor_set(x_2520, 1, x_2501); -lean_ctor_set_usize(x_2520, 2, x_2499); -if (lean_is_scalar(x_2497)) { - x_2521 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2512, 0, x_27); +lean_ctor_set(x_2512, 1, x_2493); +lean_ctor_set_usize(x_2512, 2, x_2491); +if (lean_is_scalar(x_2489)) { + x_2513 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2521 = x_2497; + x_2513 = x_2489; } +lean_ctor_set(x_2513, 0, x_2512); +lean_ctor_set(x_2513, 1, x_2497); +lean_ctor_set_usize(x_2513, 2, x_2488); +x_2514 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2514, 0, x_2513); +lean_ctor_set(x_2514, 1, x_2485); +lean_ctor_set_usize(x_2514, 2, x_2486); +if (lean_is_scalar(x_2496)) { + x_2515 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2515 = x_2496; +} +lean_ctor_set(x_2515, 0, x_2514); +lean_ctor_set(x_2515, 1, x_28); +lean_ctor_set_usize(x_2515, 2, x_2484); +x_2516 = l_System_FilePath_dirName___closed__1; +x_2517 = l_Lean_Name_toStringWithSep___main(x_2516, x_2515); +x_2518 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2518, 0, x_2517); +x_2519 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2519, 0, x_2518); +x_2520 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_2521 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_2521, 0, x_2520); -lean_ctor_set(x_2521, 1, x_2505); -lean_ctor_set_usize(x_2521, 2, x_2496); -x_2522 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2522, 0, x_2521); -lean_ctor_set(x_2522, 1, x_2493); -lean_ctor_set_usize(x_2522, 2, x_2494); -if (lean_is_scalar(x_2504)) { - x_2523 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2523 = x_2504; -} -lean_ctor_set(x_2523, 0, x_2522); -lean_ctor_set(x_2523, 1, x_119); -lean_ctor_set_usize(x_2523, 2, x_2492); -x_2524 = l_System_FilePath_dirName___closed__1; -x_2525 = l_Lean_Name_toStringWithSep___main(x_2524, x_2523); -x_2526 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2526, 0, x_2525); -x_2527 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2527, 0, x_2526); -x_2528 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_2529 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2529, 0, x_2528); -lean_ctor_set(x_2529, 1, x_2527); -x_2530 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2529, x_2, x_3); +lean_ctor_set(x_2521, 1, x_2519); +x_2522 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2521, x_2, x_3); lean_dec(x_1); -return x_2530; +return x_2522; } else { +lean_object* x_2523; uint8_t x_2524; +lean_dec(x_2485); +x_2523 = l_Lean_mkTermIdFromIdent___closed__1; +x_2524 = lean_string_dec_eq(x_28, x_2523); +if (x_2524 == 0) +{ +lean_object* x_2525; uint8_t x_2526; +x_2525 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_2526 = lean_string_dec_eq(x_28, x_2525); +if (x_2526 == 0) +{ +lean_object* x_2527; uint8_t x_2528; +x_2527 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_2528 = lean_string_dec_eq(x_28, x_2527); +if (x_2528 == 0) +{ +lean_object* x_2529; uint8_t x_2530; +x_2529 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; +x_2530 = lean_string_dec_eq(x_28, x_2529); +if (x_2530 == 0) +{ lean_object* x_2531; uint8_t x_2532; -lean_dec(x_2493); -x_2531 = l_Lean_mkTermIdFromIdent___closed__1; -x_2532 = lean_string_dec_eq(x_119, x_2531); +x_2531 = l_Lean_mkAppStx___closed__7; +x_2532 = lean_string_dec_eq(x_28, x_2531); if (x_2532 == 0) { lean_object* x_2533; uint8_t x_2534; -x_2533 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_2534 = lean_string_dec_eq(x_119, x_2533); +x_2533 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_2534 = lean_string_dec_eq(x_28, x_2533); if (x_2534 == 0) { lean_object* x_2535; uint8_t x_2536; -x_2535 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_2536 = lean_string_dec_eq(x_119, x_2535); +x_2535 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2536 = lean_string_dec_eq(x_28, x_2535); if (x_2536 == 0) { lean_object* x_2537; uint8_t x_2538; -x_2537 = l_Lean_Parser_Term_let__core___elambda__1___closed__1; -x_2538 = lean_string_dec_eq(x_119, x_2537); +x_2537 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_2538 = lean_string_dec_eq(x_28, x_2537); if (x_2538 == 0) { lean_object* x_2539; uint8_t x_2540; -x_2539 = l_Lean_mkAppStx___closed__7; -x_2540 = lean_string_dec_eq(x_119, x_2539); +x_2539 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_2540 = lean_string_dec_eq(x_28, x_2539); if (x_2540 == 0) { lean_object* x_2541; uint8_t x_2542; -x_2541 = l_Lean_Parser_Term_if___elambda__1___closed__1; -x_2542 = lean_string_dec_eq(x_119, x_2541); +lean_dec(x_4); +x_2541 = l_Lean_Parser_Term_str___elambda__1___closed__1; +x_2542 = lean_string_dec_eq(x_28, x_2541); if (x_2542 == 0) { lean_object* x_2543; uint8_t x_2544; -x_2543 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_2544 = lean_string_dec_eq(x_119, x_2543); +x_2543 = l_Lean_Parser_Level_num___elambda__1___closed__1; +x_2544 = lean_string_dec_eq(x_28, x_2543); if (x_2544 == 0) { -lean_object* x_2545; uint8_t x_2546; -x_2545 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_2546 = lean_string_dec_eq(x_119, x_2545); -if (x_2546 == 0) -{ -lean_object* x_2547; uint8_t x_2548; -x_2547 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_2548 = lean_string_dec_eq(x_119, x_2547); -if (x_2548 == 0) -{ -lean_object* x_2549; uint8_t x_2550; -lean_dec(x_4); -x_2549 = l_Lean_Parser_Term_str___elambda__1___closed__1; -x_2550 = lean_string_dec_eq(x_119, x_2549); -if (x_2550 == 0) -{ -lean_object* x_2551; uint8_t x_2552; -x_2551 = l_Lean_Parser_Level_num___elambda__1___closed__1; -x_2552 = lean_string_dec_eq(x_119, x_2551); -if (x_2552 == 0) -{ -lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; -if (lean_is_scalar(x_2500)) { - x_2553 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; +if (lean_is_scalar(x_2492)) { + x_2545 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2553 = x_2500; + x_2545 = x_2492; } -lean_ctor_set(x_2553, 0, x_118); -lean_ctor_set(x_2553, 1, x_2501); -lean_ctor_set_usize(x_2553, 2, x_2499); -if (lean_is_scalar(x_2497)) { - x_2554 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2545, 0, x_27); +lean_ctor_set(x_2545, 1, x_2493); +lean_ctor_set_usize(x_2545, 2, x_2491); +if (lean_is_scalar(x_2489)) { + x_2546 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2554 = x_2497; + x_2546 = x_2489; } +lean_ctor_set(x_2546, 0, x_2545); +lean_ctor_set(x_2546, 1, x_2497); +lean_ctor_set_usize(x_2546, 2, x_2488); +x_2547 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2547, 0, x_2546); +lean_ctor_set(x_2547, 1, x_2510); +lean_ctor_set_usize(x_2547, 2, x_2486); +if (lean_is_scalar(x_2496)) { + x_2548 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2548 = x_2496; +} +lean_ctor_set(x_2548, 0, x_2547); +lean_ctor_set(x_2548, 1, x_28); +lean_ctor_set_usize(x_2548, 2, x_2484); +x_2549 = l_System_FilePath_dirName___closed__1; +x_2550 = l_Lean_Name_toStringWithSep___main(x_2549, x_2548); +x_2551 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2551, 0, x_2550); +x_2552 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2552, 0, x_2551); +x_2553 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_2554 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_2554, 0, x_2553); -lean_ctor_set(x_2554, 1, x_2505); -lean_ctor_set_usize(x_2554, 2, x_2496); -x_2555 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2555, 0, x_2554); -lean_ctor_set(x_2555, 1, x_2518); -lean_ctor_set_usize(x_2555, 2, x_2494); -if (lean_is_scalar(x_2504)) { - x_2556 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_2556 = x_2504; -} -lean_ctor_set(x_2556, 0, x_2555); -lean_ctor_set(x_2556, 1, x_119); -lean_ctor_set_usize(x_2556, 2, x_2492); -x_2557 = l_System_FilePath_dirName___closed__1; -x_2558 = l_Lean_Name_toStringWithSep___main(x_2557, x_2556); -x_2559 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2559, 0, x_2558); -x_2560 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2560, 0, x_2559); -x_2561 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_2562 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_2562, 0, x_2561); -lean_ctor_set(x_2562, 1, x_2560); -x_2563 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2562, x_2, x_3); +lean_ctor_set(x_2554, 1, x_2552); +x_2555 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2554, x_2, x_3); lean_dec(x_1); -return x_2563; +return x_2555; } else { -lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); lean_dec(x_2); -x_2564 = lean_unsigned_to_nat(0u); -x_2565 = l_Lean_Syntax_getArg(x_1, x_2564); +x_2556 = lean_unsigned_to_nat(0u); +x_2557 = l_Lean_Syntax_getArg(x_1, x_2556); lean_dec(x_1); -x_2566 = l_Lean_numLitKind; -x_2567 = l_Lean_Syntax_isNatLitAux(x_2566, x_2565); -lean_dec(x_2565); +x_2558 = l_Lean_numLitKind; +x_2559 = l_Lean_Syntax_isNatLitAux(x_2558, x_2557); +lean_dec(x_2557); +if (lean_obj_tag(x_2559) == 0) +{ +lean_object* x_2560; lean_object* x_2561; +x_2560 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_2561 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2561, 0, x_2560); +lean_ctor_set(x_2561, 1, x_3); +return x_2561; +} +else +{ +lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; +x_2562 = lean_ctor_get(x_2559, 0); +lean_inc(x_2562); +lean_dec(x_2559); +x_2563 = l_Lean_mkNatLit(x_2562); +x_2564 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2564, 0, x_2563); +lean_ctor_set(x_2564, 1, x_3); +return x_2564; +} +} +} +else +{ +lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +lean_dec(x_2); +x_2565 = lean_unsigned_to_nat(0u); +x_2566 = l_Lean_Syntax_getArg(x_1, x_2565); +lean_dec(x_1); +x_2567 = l_Lean_Syntax_isStrLit_x3f(x_2566); +lean_dec(x_2566); if (lean_obj_tag(x_2567) == 0) { lean_object* x_2568; lean_object* x_2569; -x_2568 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__5; +x_2568 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; x_2569 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2569, 0, x_2568); lean_ctor_set(x_2569, 1, x_3); @@ -23639,7 +23846,7 @@ lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; x_2570 = lean_ctor_get(x_2567, 0); lean_inc(x_2570); lean_dec(x_2567); -x_2571 = l_Lean_mkNatLit(x_2570); +x_2571 = l_Lean_mkStrLit(x_2570); x_2572 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2572, 0, x_2571); lean_ctor_set(x_2572, 1, x_3); @@ -23649,351 +23856,315 @@ return x_2572; } else { -lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +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_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +lean_dec(x_1); +x_2573 = l_Lean_Syntax_inhabited; +x_2574 = lean_unsigned_to_nat(0u); +x_2575 = lean_array_get(x_2573, x_4, x_2574); +x_2576 = lean_unsigned_to_nat(2u); +x_2577 = lean_array_get(x_2573, x_4, x_2576); +lean_dec(x_4); +x_2578 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_2578, 0, x_27); +lean_closure_set(x_2578, 1, x_2575); +lean_closure_set(x_2578, 2, x_2577); +x_2579 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2580 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2580, 0, x_2579); +lean_closure_set(x_2580, 1, x_2578); +x_2581 = l_Lean_Unhygienic_run___rarg(x_2580); +x_1 = x_2581; +goto _start; +} +} +else +{ +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_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +lean_dec(x_1); +x_2583 = l_Lean_Syntax_inhabited; +x_2584 = lean_unsigned_to_nat(0u); +x_2585 = lean_array_get(x_2583, x_4, x_2584); +x_2586 = lean_unsigned_to_nat(2u); +x_2587 = lean_array_get(x_2583, x_4, x_2586); +lean_dec(x_4); +x_2588 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_2588, 0, x_27); +lean_closure_set(x_2588, 1, x_2585); +lean_closure_set(x_2588, 2, x_2587); +x_2589 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2590 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2590, 0, x_2589); +lean_closure_set(x_2590, 1, x_2588); +x_2591 = l_Lean_Unhygienic_run___rarg(x_2590); +x_1 = x_2591; +goto _start; +} +} +else +{ +lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; uint8_t x_2599; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +lean_dec(x_1); +x_2593 = l_Lean_Syntax_inhabited; +x_2594 = lean_unsigned_to_nat(1u); +x_2595 = lean_array_get(x_2593, x_4, x_2594); +lean_dec(x_4); +x_2596 = l_Lean_Syntax_getArgs(x_2595); +lean_dec(x_2595); +x_2597 = lean_array_get_size(x_2596); +x_2598 = lean_unsigned_to_nat(0u); +x_2599 = lean_nat_dec_eq(x_2597, x_2598); +lean_dec(x_2597); +if (x_2599 == 0) +{ +lean_object* x_2600; +x_2600 = lean_array_get(x_2593, x_2596, x_2598); +lean_dec(x_2596); +x_1 = x_2600; +goto _start; +} +else +{ +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_dec(x_2596); lean_dec(x_2); -x_2573 = lean_unsigned_to_nat(0u); -x_2574 = l_Lean_Syntax_getArg(x_1, x_2573); -lean_dec(x_1); -x_2575 = l_Lean_Syntax_isStrLit_x3f(x_2574); -lean_dec(x_2574); -if (lean_obj_tag(x_2575) == 0) -{ -lean_object* x_2576; lean_object* x_2577; -x_2576 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__6; -x_2577 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2577, 0, x_2576); -lean_ctor_set(x_2577, 1, x_3); -return x_2577; -} -else -{ -lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; -x_2578 = lean_ctor_get(x_2575, 0); -lean_inc(x_2578); -lean_dec(x_2575); -x_2579 = l_Lean_mkStrLit(x_2578); -x_2580 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2580, 0, x_2579); -lean_ctor_set(x_2580, 1, x_3); -return x_2580; +x_2602 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_2603 = lean_name_mk_string(x_27, x_2602); +x_2604 = l_Lean_Elab_Term_elabParen___closed__4; +x_2605 = lean_name_mk_string(x_2603, x_2604); +x_2606 = lean_box(0); +x_2607 = l_Lean_mkConst(x_2605, x_2606); +x_2608 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2608, 0, x_2607); +lean_ctor_set(x_2608, 1, x_3); +return x_2608; } } } else { -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_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +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_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); lean_dec(x_1); -x_2581 = l_Lean_Syntax_inhabited; -x_2582 = lean_unsigned_to_nat(0u); -x_2583 = lean_array_get(x_2581, x_4, x_2582); -x_2584 = lean_unsigned_to_nat(2u); -x_2585 = lean_array_get(x_2581, x_4, x_2584); +x_2609 = l_Lean_Syntax_inhabited; +x_2610 = lean_unsigned_to_nat(2u); +x_2611 = lean_array_get(x_2609, x_4, x_2610); +x_2612 = lean_unsigned_to_nat(4u); +x_2613 = lean_array_get(x_2609, x_4, x_2612); +x_2614 = lean_unsigned_to_nat(6u); +x_2615 = lean_array_get(x_2609, x_4, x_2614); lean_dec(x_4); -x_2586 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__1___boxed), 6, 3); -lean_closure_set(x_2586, 0, x_118); -lean_closure_set(x_2586, 1, x_2583); -lean_closure_set(x_2586, 2, x_2585); -x_2587 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2588 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2588, 0, x_2587); -lean_closure_set(x_2588, 1, x_2586); -x_2589 = l_Lean_Unhygienic_run___rarg(x_2588); -x_1 = x_2589; +x_2616 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_2616, 0, x_27); +lean_closure_set(x_2616, 1, x_2611); +lean_closure_set(x_2616, 2, x_2613); +lean_closure_set(x_2616, 3, x_2615); +x_2617 = l_Lean_Unhygienic_MonadQuotation___closed__4; +x_2618 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); +lean_closure_set(x_2618, 0, x_2617); +lean_closure_set(x_2618, 1, x_2616); +x_2619 = l_Lean_Unhygienic_run___rarg(x_2618); +x_1 = x_2619; goto _start; } } else { -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_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); lean_dec(x_1); -x_2591 = l_Lean_Syntax_inhabited; -x_2592 = lean_unsigned_to_nat(0u); -x_2593 = lean_array_get(x_2591, x_4, x_2592); -x_2594 = lean_unsigned_to_nat(2u); -x_2595 = lean_array_get(x_2591, x_4, x_2594); -lean_dec(x_4); -x_2596 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___boxed), 6, 3); -lean_closure_set(x_2596, 0, x_118); -lean_closure_set(x_2596, 1, x_2593); -lean_closure_set(x_2596, 2, x_2595); -x_2597 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2598 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2598, 0, x_2597); -lean_closure_set(x_2598, 1, x_2596); -x_2599 = l_Lean_Unhygienic_run___rarg(x_2598); -x_1 = x_2599; -goto _start; -} -} -else -{ -lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; uint8_t x_2607; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); -lean_dec(x_1); -x_2601 = l_Lean_Syntax_inhabited; -x_2602 = lean_unsigned_to_nat(1u); -x_2603 = lean_array_get(x_2601, x_4, x_2602); -lean_dec(x_4); -x_2604 = l_Lean_Syntax_getArgs(x_2603); -lean_dec(x_2603); -x_2605 = lean_array_get_size(x_2604); -x_2606 = lean_unsigned_to_nat(0u); -x_2607 = lean_nat_dec_eq(x_2605, x_2606); -lean_dec(x_2605); -if (x_2607 == 0) -{ -lean_object* x_2608; -x_2608 = lean_array_get(x_2601, x_2604, x_2606); -lean_dec(x_2604); -x_1 = x_2608; -goto _start; -} -else -{ -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_dec(x_2604); -lean_dec(x_2); -x_2610 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_2611 = lean_name_mk_string(x_118, x_2610); -x_2612 = l_Lean_Elab_Term_elabParen___closed__4; -x_2613 = lean_name_mk_string(x_2611, x_2612); -x_2614 = lean_box(0); -x_2615 = l_Lean_mkConst(x_2613, x_2614); -x_2616 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2616, 0, x_2615); -lean_ctor_set(x_2616, 1, x_3); -return x_2616; -} -} -} -else -{ -lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); -lean_dec(x_1); -x_2617 = l_Lean_Syntax_inhabited; -x_2618 = lean_unsigned_to_nat(2u); -x_2619 = lean_array_get(x_2617, x_4, x_2618); -x_2620 = lean_unsigned_to_nat(4u); -x_2621 = lean_array_get(x_2617, x_4, x_2620); -x_2622 = lean_unsigned_to_nat(6u); -x_2623 = lean_array_get(x_2617, x_4, x_2622); -lean_dec(x_4); -x_2624 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__3___boxed), 7, 4); -lean_closure_set(x_2624, 0, x_118); -lean_closure_set(x_2624, 1, x_2619); -lean_closure_set(x_2624, 2, x_2621); -lean_closure_set(x_2624, 3, x_2623); -x_2625 = l_Lean_Unhygienic_MonadQuotation___closed__4; -x_2626 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg), 4, 2); -lean_closure_set(x_2626, 0, x_2625); -lean_closure_set(x_2626, 1, x_2624); -x_2627 = l_Lean_Unhygienic_run___rarg(x_2626); -x_1 = x_2627; -goto _start; -} -} -else -{ -lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); -lean_dec(x_1); -x_2629 = l_Lean_Syntax_inhabited; -x_2630 = lean_unsigned_to_nat(0u); -x_2631 = lean_array_get(x_2629, x_4, x_2630); +x_2621 = l_Lean_Syntax_inhabited; +x_2622 = lean_unsigned_to_nat(0u); +x_2623 = lean_array_get(x_2621, x_4, x_2622); lean_inc(x_2); -x_2632 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2631, x_2, x_3); -if (lean_obj_tag(x_2632) == 0) +x_2624 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2623, x_2, x_3); +if (lean_obj_tag(x_2624) == 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; -x_2633 = lean_ctor_get(x_2632, 0); -lean_inc(x_2633); -x_2634 = lean_ctor_get(x_2632, 1); -lean_inc(x_2634); -lean_dec(x_2632); -x_2635 = lean_unsigned_to_nat(1u); -x_2636 = lean_array_get(x_2629, x_4, x_2635); +lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; +x_2625 = lean_ctor_get(x_2624, 0); +lean_inc(x_2625); +x_2626 = lean_ctor_get(x_2624, 1); +lean_inc(x_2626); +lean_dec(x_2624); +x_2627 = lean_unsigned_to_nat(1u); +x_2628 = lean_array_get(x_2621, x_4, x_2627); lean_dec(x_4); -x_2637 = l_Lean_Syntax_getArgs(x_2636); -lean_dec(x_2636); -x_2638 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_2630, x_2637, x_2, x_2634); -if (lean_obj_tag(x_2638) == 0) +x_2629 = l_Lean_Syntax_getArgs(x_2628); +lean_dec(x_2628); +x_2630 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(x_2622, x_2629, x_2, x_2626); +if (lean_obj_tag(x_2630) == 0) { -lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; -x_2639 = lean_ctor_get(x_2638, 0); -lean_inc(x_2639); -x_2640 = lean_ctor_get(x_2638, 1); +lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; +x_2631 = lean_ctor_get(x_2630, 0); +lean_inc(x_2631); +x_2632 = lean_ctor_get(x_2630, 1); +lean_inc(x_2632); +if (lean_is_exclusive(x_2630)) { + lean_ctor_release(x_2630, 0); + lean_ctor_release(x_2630, 1); + x_2633 = x_2630; +} else { + lean_dec_ref(x_2630); + x_2633 = lean_box(0); +} +x_2634 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2631, x_2631, x_2622, x_2625); +lean_dec(x_2631); +if (lean_is_scalar(x_2633)) { + x_2635 = lean_alloc_ctor(0, 2, 0); +} else { + x_2635 = x_2633; +} +lean_ctor_set(x_2635, 0, x_2634); +lean_ctor_set(x_2635, 1, x_2632); +return x_2635; +} +else +{ +lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; +lean_dec(x_2625); +x_2636 = lean_ctor_get(x_2630, 0); +lean_inc(x_2636); +x_2637 = lean_ctor_get(x_2630, 1); +lean_inc(x_2637); +if (lean_is_exclusive(x_2630)) { + lean_ctor_release(x_2630, 0); + lean_ctor_release(x_2630, 1); + x_2638 = x_2630; +} else { + lean_dec_ref(x_2630); + x_2638 = lean_box(0); +} +if (lean_is_scalar(x_2638)) { + x_2639 = lean_alloc_ctor(1, 2, 0); +} else { + x_2639 = x_2638; +} +lean_ctor_set(x_2639, 0, x_2636); +lean_ctor_set(x_2639, 1, x_2637); +return x_2639; +} +} +else +{ +lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; +lean_dec(x_4); +lean_dec(x_2); +x_2640 = lean_ctor_get(x_2624, 0); lean_inc(x_2640); -if (lean_is_exclusive(x_2638)) { - lean_ctor_release(x_2638, 0); - lean_ctor_release(x_2638, 1); - x_2641 = x_2638; +x_2641 = lean_ctor_get(x_2624, 1); +lean_inc(x_2641); +if (lean_is_exclusive(x_2624)) { + lean_ctor_release(x_2624, 0); + lean_ctor_release(x_2624, 1); + x_2642 = x_2624; } else { - lean_dec_ref(x_2638); - x_2641 = lean_box(0); + lean_dec_ref(x_2624); + x_2642 = lean_box(0); } -x_2642 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_2639, x_2639, x_2630, x_2633); -lean_dec(x_2639); -if (lean_is_scalar(x_2641)) { - x_2643 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2642)) { + x_2643 = lean_alloc_ctor(1, 2, 0); } else { - x_2643 = x_2641; + x_2643 = x_2642; } -lean_ctor_set(x_2643, 0, x_2642); -lean_ctor_set(x_2643, 1, x_2640); +lean_ctor_set(x_2643, 0, x_2640); +lean_ctor_set(x_2643, 1, x_2641); return x_2643; } -else -{ -lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; -lean_dec(x_2633); -x_2644 = lean_ctor_get(x_2638, 0); -lean_inc(x_2644); -x_2645 = lean_ctor_get(x_2638, 1); -lean_inc(x_2645); -if (lean_is_exclusive(x_2638)) { - lean_ctor_release(x_2638, 0); - lean_ctor_release(x_2638, 1); - x_2646 = x_2638; -} else { - lean_dec_ref(x_2638); - x_2646 = lean_box(0); -} -if (lean_is_scalar(x_2646)) { - x_2647 = lean_alloc_ctor(1, 2, 0); -} else { - x_2647 = x_2646; -} -lean_ctor_set(x_2647, 0, x_2644); -lean_ctor_set(x_2647, 1, x_2645); -return x_2647; } } else { -lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; +lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; uint8_t x_2647; lean_object* x_2648; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +x_2644 = l_Lean_Syntax_inhabited; +x_2645 = lean_unsigned_to_nat(1u); +x_2646 = lean_array_get(x_2644, x_4, x_2645); +x_2647 = 1; +x_2648 = l_Lean_Syntax_isSimpleTermId_x3f(x_2646, x_2647); +if (lean_obj_tag(x_2648) == 0) +{ +lean_object* x_2649; lean_object* x_2650; lean_dec(x_4); -lean_dec(x_2); -x_2648 = lean_ctor_get(x_2632, 0); -lean_inc(x_2648); -x_2649 = lean_ctor_get(x_2632, 1); -lean_inc(x_2649); -if (lean_is_exclusive(x_2632)) { - lean_ctor_release(x_2632, 0); - lean_ctor_release(x_2632, 1); - x_2650 = x_2632; -} else { - lean_dec_ref(x_2632); - x_2650 = lean_box(0); -} -if (lean_is_scalar(x_2650)) { - x_2651 = lean_alloc_ctor(1, 2, 0); -} else { - x_2651 = x_2650; -} -lean_ctor_set(x_2651, 0, x_2648); -lean_ctor_set(x_2651, 1, x_2649); -return x_2651; -} -} +x_2649 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; +x_2650 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2649, x_2, x_3); +lean_dec(x_1); +return x_2650; } else { -lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; uint8_t x_2655; lean_object* x_2656; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); -x_2652 = l_Lean_Syntax_inhabited; -x_2653 = lean_unsigned_to_nat(1u); -x_2654 = lean_array_get(x_2652, x_4, x_2653); -x_2655 = 1; -x_2656 = l_Lean_Syntax_isSimpleTermId_x3f(x_2654, x_2655); -if (lean_obj_tag(x_2656) == 0) -{ -lean_object* x_2657; lean_object* x_2658; -lean_dec(x_4); -x_2657 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9; -x_2658 = l_Lean_Elab_Term_throwError___rarg(x_1, x_2657, x_2, x_3); +lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_dec(x_1); -return x_2658; -} -else -{ -lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; -lean_dec(x_1); -x_2659 = lean_ctor_get(x_2656, 0); -lean_inc(x_2659); -lean_dec(x_2656); -x_2660 = l_Lean_Syntax_getId(x_2659); -lean_dec(x_2659); -x_2661 = lean_unsigned_to_nat(3u); -x_2662 = lean_array_get(x_2652, x_4, x_2661); +x_2651 = lean_ctor_get(x_2648, 0); +lean_inc(x_2651); +lean_dec(x_2648); +x_2652 = l_Lean_Syntax_getId(x_2651); +lean_dec(x_2651); +x_2653 = lean_unsigned_to_nat(3u); +x_2654 = lean_array_get(x_2644, x_4, x_2653); lean_inc(x_2); -x_2663 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2662, x_2, x_3); -if (lean_obj_tag(x_2663) == 0) +x_2655 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2654, x_2, x_3); +if (lean_obj_tag(x_2655) == 0) { -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; uint8_t x_2683; uint8_t 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; -x_2664 = lean_ctor_get(x_2663, 0); -lean_inc(x_2664); -x_2665 = lean_ctor_get(x_2663, 1); -lean_inc(x_2665); -lean_dec(x_2663); -x_2666 = l_Lean_Elab_Term_getLCtx(x_2, x_2665); -x_2667 = lean_ctor_get(x_2666, 0); -lean_inc(x_2667); -x_2668 = lean_ctor_get(x_2666, 1); -lean_inc(x_2668); -lean_dec(x_2666); -x_2669 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_2660, 2); -x_2670 = lean_local_ctx_mk_let_decl(x_2667, x_2660, x_2660, x_2669, x_2664); -x_2671 = lean_unsigned_to_nat(5u); -x_2672 = lean_array_get(x_2652, x_4, x_2671); +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; uint8_t x_2675; uint8_t 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; +x_2656 = lean_ctor_get(x_2655, 0); +lean_inc(x_2656); +x_2657 = lean_ctor_get(x_2655, 1); +lean_inc(x_2657); +lean_dec(x_2655); +x_2658 = l_Lean_Elab_Term_getLCtx(x_2, x_2657); +x_2659 = lean_ctor_get(x_2658, 0); +lean_inc(x_2659); +x_2660 = lean_ctor_get(x_2658, 1); +lean_inc(x_2660); +lean_dec(x_2658); +x_2661 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_2652, 2); +x_2662 = lean_local_ctx_mk_let_decl(x_2659, x_2652, x_2652, x_2661, x_2656); +x_2663 = lean_unsigned_to_nat(5u); +x_2664 = lean_array_get(x_2644, x_4, x_2663); lean_dec(x_4); -x_2673 = lean_ctor_get(x_2, 0); +x_2665 = lean_ctor_get(x_2, 0); +lean_inc(x_2665); +x_2666 = lean_ctor_get(x_2, 1); +lean_inc(x_2666); +x_2667 = lean_ctor_get(x_2, 2); +lean_inc(x_2667); +x_2668 = lean_ctor_get(x_2, 3); +lean_inc(x_2668); +x_2669 = lean_ctor_get(x_2, 4); +lean_inc(x_2669); +x_2670 = lean_ctor_get(x_2, 5); +lean_inc(x_2670); +x_2671 = lean_ctor_get(x_2, 6); +lean_inc(x_2671); +x_2672 = lean_ctor_get(x_2, 7); +lean_inc(x_2672); +x_2673 = lean_ctor_get(x_2, 8); lean_inc(x_2673); -x_2674 = lean_ctor_get(x_2, 1); +x_2674 = lean_ctor_get(x_2, 9); lean_inc(x_2674); -x_2675 = lean_ctor_get(x_2, 2); -lean_inc(x_2675); -x_2676 = lean_ctor_get(x_2, 3); -lean_inc(x_2676); -x_2677 = lean_ctor_get(x_2, 4); -lean_inc(x_2677); -x_2678 = lean_ctor_get(x_2, 5); -lean_inc(x_2678); -x_2679 = lean_ctor_get(x_2, 6); -lean_inc(x_2679); -x_2680 = lean_ctor_get(x_2, 7); -lean_inc(x_2680); -x_2681 = lean_ctor_get(x_2, 8); -lean_inc(x_2681); -x_2682 = lean_ctor_get(x_2, 9); -lean_inc(x_2682); -x_2683 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2684 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +x_2675 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2676 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -24005,883 +24176,714 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2685 = x_2; + x_2677 = x_2; } else { lean_dec_ref(x_2); - x_2685 = lean_box(0); + x_2677 = lean_box(0); } -x_2686 = lean_ctor_get(x_2673, 0); -lean_inc(x_2686); -x_2687 = lean_ctor_get(x_2673, 2); -lean_inc(x_2687); -x_2688 = lean_ctor_get(x_2673, 3); -lean_inc(x_2688); -x_2689 = lean_ctor_get(x_2673, 4); -lean_inc(x_2689); -if (lean_is_exclusive(x_2673)) { - lean_ctor_release(x_2673, 0); - lean_ctor_release(x_2673, 1); - lean_ctor_release(x_2673, 2); - lean_ctor_release(x_2673, 3); - lean_ctor_release(x_2673, 4); - x_2690 = x_2673; +x_2678 = lean_ctor_get(x_2665, 0); +lean_inc(x_2678); +x_2679 = lean_ctor_get(x_2665, 2); +lean_inc(x_2679); +x_2680 = lean_ctor_get(x_2665, 3); +lean_inc(x_2680); +x_2681 = lean_ctor_get(x_2665, 4); +lean_inc(x_2681); +if (lean_is_exclusive(x_2665)) { + lean_ctor_release(x_2665, 0); + lean_ctor_release(x_2665, 1); + lean_ctor_release(x_2665, 2); + lean_ctor_release(x_2665, 3); + lean_ctor_release(x_2665, 4); + x_2682 = x_2665; } else { - lean_dec_ref(x_2673); - x_2690 = lean_box(0); + lean_dec_ref(x_2665); + x_2682 = lean_box(0); } -lean_inc(x_2670); -if (lean_is_scalar(x_2690)) { - x_2691 = lean_alloc_ctor(0, 5, 0); +lean_inc(x_2662); +if (lean_is_scalar(x_2682)) { + x_2683 = lean_alloc_ctor(0, 5, 0); } else { - x_2691 = x_2690; + x_2683 = x_2682; } -lean_ctor_set(x_2691, 0, x_2686); -lean_ctor_set(x_2691, 1, x_2670); -lean_ctor_set(x_2691, 2, x_2687); -lean_ctor_set(x_2691, 3, x_2688); -lean_ctor_set(x_2691, 4, x_2689); -if (lean_is_scalar(x_2685)) { - x_2692 = lean_alloc_ctor(0, 10, 2); +lean_ctor_set(x_2683, 0, x_2678); +lean_ctor_set(x_2683, 1, x_2662); +lean_ctor_set(x_2683, 2, x_2679); +lean_ctor_set(x_2683, 3, x_2680); +lean_ctor_set(x_2683, 4, x_2681); +if (lean_is_scalar(x_2677)) { + x_2684 = lean_alloc_ctor(0, 10, 2); } else { - x_2692 = x_2685; + x_2684 = x_2677; } -lean_ctor_set(x_2692, 0, x_2691); -lean_ctor_set(x_2692, 1, x_2674); -lean_ctor_set(x_2692, 2, x_2675); -lean_ctor_set(x_2692, 3, x_2676); -lean_ctor_set(x_2692, 4, x_2677); -lean_ctor_set(x_2692, 5, x_2678); -lean_ctor_set(x_2692, 6, x_2679); -lean_ctor_set(x_2692, 7, x_2680); -lean_ctor_set(x_2692, 8, x_2681); -lean_ctor_set(x_2692, 9, x_2682); -lean_ctor_set_uint8(x_2692, sizeof(void*)*10, x_2683); -lean_ctor_set_uint8(x_2692, sizeof(void*)*10 + 1, x_2684); -x_2693 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2672, x_2692, x_2668); -if (lean_obj_tag(x_2693) == 0) +lean_ctor_set(x_2684, 0, x_2683); +lean_ctor_set(x_2684, 1, x_2666); +lean_ctor_set(x_2684, 2, x_2667); +lean_ctor_set(x_2684, 3, x_2668); +lean_ctor_set(x_2684, 4, x_2669); +lean_ctor_set(x_2684, 5, x_2670); +lean_ctor_set(x_2684, 6, x_2671); +lean_ctor_set(x_2684, 7, x_2672); +lean_ctor_set(x_2684, 8, x_2673); +lean_ctor_set(x_2684, 9, x_2674); +lean_ctor_set_uint8(x_2684, sizeof(void*)*10, x_2675); +lean_ctor_set_uint8(x_2684, sizeof(void*)*10 + 1, x_2676); +x_2685 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2664, x_2684, x_2660); +if (lean_obj_tag(x_2685) == 0) { -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; -x_2694 = lean_ctor_get(x_2693, 0); -lean_inc(x_2694); -x_2695 = lean_ctor_get(x_2693, 1); -lean_inc(x_2695); -if (lean_is_exclusive(x_2693)) { - lean_ctor_release(x_2693, 0); - lean_ctor_release(x_2693, 1); - x_2696 = x_2693; +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; +x_2686 = lean_ctor_get(x_2685, 0); +lean_inc(x_2686); +x_2687 = lean_ctor_get(x_2685, 1); +lean_inc(x_2687); +if (lean_is_exclusive(x_2685)) { + lean_ctor_release(x_2685, 0); + lean_ctor_release(x_2685, 1); + x_2688 = x_2685; } else { - lean_dec_ref(x_2693); + lean_dec_ref(x_2685); + x_2688 = lean_box(0); +} +x_2689 = l_Lean_mkFVar(x_2652); +x_2690 = l_Lean_mkOptionalNode___closed__2; +x_2691 = lean_array_push(x_2690, x_2689); +x_2692 = l_Lean_LocalContext_mkLambda(x_2662, x_2691, x_2686); +lean_dec(x_2686); +lean_dec(x_2691); +if (lean_is_scalar(x_2688)) { + x_2693 = lean_alloc_ctor(0, 2, 0); +} else { + x_2693 = x_2688; +} +lean_ctor_set(x_2693, 0, x_2692); +lean_ctor_set(x_2693, 1, x_2687); +return x_2693; +} +else +{ +lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; +lean_dec(x_2662); +lean_dec(x_2652); +x_2694 = lean_ctor_get(x_2685, 0); +lean_inc(x_2694); +x_2695 = lean_ctor_get(x_2685, 1); +lean_inc(x_2695); +if (lean_is_exclusive(x_2685)) { + lean_ctor_release(x_2685, 0); + lean_ctor_release(x_2685, 1); + x_2696 = x_2685; +} else { + lean_dec_ref(x_2685); x_2696 = lean_box(0); } -x_2697 = l_Lean_mkFVar(x_2660); -x_2698 = l_Lean_mkOptionalNode___closed__2; -x_2699 = lean_array_push(x_2698, x_2697); -x_2700 = l_Lean_LocalContext_mkLambda(x_2670, x_2699, x_2694); -lean_dec(x_2694); -lean_dec(x_2699); if (lean_is_scalar(x_2696)) { - x_2701 = lean_alloc_ctor(0, 2, 0); + x_2697 = lean_alloc_ctor(1, 2, 0); } else { - x_2701 = x_2696; + x_2697 = x_2696; } -lean_ctor_set(x_2701, 0, x_2700); -lean_ctor_set(x_2701, 1, x_2695); -return x_2701; -} -else -{ -lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; -lean_dec(x_2670); -lean_dec(x_2660); -x_2702 = lean_ctor_get(x_2693, 0); -lean_inc(x_2702); -x_2703 = lean_ctor_get(x_2693, 1); -lean_inc(x_2703); -if (lean_is_exclusive(x_2693)) { - lean_ctor_release(x_2693, 0); - lean_ctor_release(x_2693, 1); - x_2704 = x_2693; -} else { - lean_dec_ref(x_2693); - x_2704 = lean_box(0); -} -if (lean_is_scalar(x_2704)) { - x_2705 = lean_alloc_ctor(1, 2, 0); -} else { - x_2705 = x_2704; -} -lean_ctor_set(x_2705, 0, x_2702); -lean_ctor_set(x_2705, 1, x_2703); -return x_2705; +lean_ctor_set(x_2697, 0, x_2694); +lean_ctor_set(x_2697, 1, x_2695); +return x_2697; } } else { -lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; -lean_dec(x_2660); +lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; +lean_dec(x_2652); lean_dec(x_4); lean_dec(x_2); -x_2706 = lean_ctor_get(x_2663, 0); -lean_inc(x_2706); -x_2707 = lean_ctor_get(x_2663, 1); -lean_inc(x_2707); -if (lean_is_exclusive(x_2663)) { - lean_ctor_release(x_2663, 0); - lean_ctor_release(x_2663, 1); - x_2708 = x_2663; +x_2698 = lean_ctor_get(x_2655, 0); +lean_inc(x_2698); +x_2699 = lean_ctor_get(x_2655, 1); +lean_inc(x_2699); +if (lean_is_exclusive(x_2655)) { + lean_ctor_release(x_2655, 0); + lean_ctor_release(x_2655, 1); + x_2700 = x_2655; } else { - lean_dec_ref(x_2663); - x_2708 = lean_box(0); + lean_dec_ref(x_2655); + x_2700 = lean_box(0); } -if (lean_is_scalar(x_2708)) { - x_2709 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2700)) { + x_2701 = lean_alloc_ctor(1, 2, 0); } else { - x_2709 = x_2708; + x_2701 = x_2700; } -lean_ctor_set(x_2709, 0, x_2706); -lean_ctor_set(x_2709, 1, x_2707); -return x_2709; +lean_ctor_set(x_2701, 0, x_2698); +lean_ctor_set(x_2701, 1, x_2699); +return x_2701; } } } } else { -lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; uint8_t x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); lean_dec(x_1); -x_2710 = l_Lean_Syntax_inhabited; -x_2711 = lean_unsigned_to_nat(1u); -x_2712 = lean_array_get(x_2710, x_4, x_2711); -lean_inc(x_2712); -x_2713 = l_Lean_Syntax_getKind(x_2712); -if (lean_obj_tag(x_2713) == 1) +x_2702 = l_Lean_Syntax_inhabited; +x_2703 = lean_unsigned_to_nat(1u); +x_2704 = lean_array_get(x_2702, x_4, x_2703); +x_2705 = lean_unsigned_to_nat(0u); +x_2706 = l_Lean_Syntax_getArg(x_2704, x_2705); +x_2707 = l_Lean_Syntax_isIdent(x_2706); +x_2708 = lean_unsigned_to_nat(4u); +x_2709 = l_Lean_Syntax_getArg(x_2704, x_2708); +lean_dec(x_2704); +x_2710 = lean_unsigned_to_nat(3u); +x_2711 = lean_array_get(x_2702, x_4, x_2710); +lean_dec(x_4); +if (x_2707 == 0) { -lean_object* x_2714; +lean_object* x_2759; +x_2759 = l_Lean_Syntax_getIdAt(x_2706, x_2705); +lean_dec(x_2706); +x_2712 = x_2759; +goto block_2758; +} +else +{ +lean_object* x_2760; +x_2760 = l_Lean_Syntax_getId(x_2706); +lean_dec(x_2706); +x_2712 = x_2760; +goto block_2758; +} +block_2758: +{ +lean_object* x_2713; +lean_inc(x_2); +x_2713 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2709, x_2, x_3); +if (lean_obj_tag(x_2713) == 0) +{ +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; uint8_t x_2731; uint8_t 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; x_2714 = lean_ctor_get(x_2713, 0); lean_inc(x_2714); -if (lean_obj_tag(x_2714) == 1) -{ -lean_object* x_2715; -x_2715 = lean_ctor_get(x_2714, 0); +x_2715 = lean_ctor_get(x_2713, 1); lean_inc(x_2715); -if (lean_obj_tag(x_2715) == 1) -{ -lean_object* x_2716; -x_2716 = lean_ctor_get(x_2715, 0); -lean_inc(x_2716); -if (lean_obj_tag(x_2716) == 1) -{ -lean_object* x_2717; +lean_dec(x_2713); +x_2716 = l_Lean_Elab_Term_getLCtx(x_2, x_2715); x_2717 = lean_ctor_get(x_2716, 0); lean_inc(x_2717); -if (lean_obj_tag(x_2717) == 0) -{ -lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; uint8_t x_2722; -x_2718 = lean_ctor_get(x_2713, 1); +x_2718 = lean_ctor_get(x_2716, 1); lean_inc(x_2718); -lean_dec(x_2713); -x_2719 = lean_ctor_get(x_2714, 1); -lean_inc(x_2719); -lean_dec(x_2714); -x_2720 = lean_ctor_get(x_2715, 1); -lean_inc(x_2720); -lean_dec(x_2715); -x_2721 = lean_ctor_get(x_2716, 1); +lean_dec(x_2716); +x_2719 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +lean_inc_n(x_2712, 2); +x_2720 = lean_local_ctx_mk_let_decl(x_2717, x_2712, x_2712, x_2719, x_2714); +x_2721 = lean_ctor_get(x_2, 0); lean_inc(x_2721); -lean_dec(x_2716); -x_2722 = lean_string_dec_eq(x_2721, x_2501); -lean_dec(x_2721); -if (x_2722 == 0) +x_2722 = lean_ctor_get(x_2, 1); +lean_inc(x_2722); +x_2723 = lean_ctor_get(x_2, 2); +lean_inc(x_2723); +x_2724 = lean_ctor_get(x_2, 3); +lean_inc(x_2724); +x_2725 = lean_ctor_get(x_2, 4); +lean_inc(x_2725); +x_2726 = lean_ctor_get(x_2, 5); +lean_inc(x_2726); +x_2727 = lean_ctor_get(x_2, 6); +lean_inc(x_2727); +x_2728 = lean_ctor_get(x_2, 7); +lean_inc(x_2728); +x_2729 = lean_ctor_get(x_2, 8); +lean_inc(x_2729); +x_2730 = lean_ctor_get(x_2, 9); +lean_inc(x_2730); +x_2731 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2732 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2733 = x_2; +} else { + lean_dec_ref(x_2); + x_2733 = lean_box(0); +} +x_2734 = lean_ctor_get(x_2721, 0); +lean_inc(x_2734); +x_2735 = lean_ctor_get(x_2721, 2); +lean_inc(x_2735); +x_2736 = lean_ctor_get(x_2721, 3); +lean_inc(x_2736); +x_2737 = lean_ctor_get(x_2721, 4); +lean_inc(x_2737); +if (lean_is_exclusive(x_2721)) { + lean_ctor_release(x_2721, 0); + lean_ctor_release(x_2721, 1); + lean_ctor_release(x_2721, 2); + lean_ctor_release(x_2721, 3); + lean_ctor_release(x_2721, 4); + x_2738 = x_2721; +} else { + lean_dec_ref(x_2721); + x_2738 = lean_box(0); +} +lean_inc(x_2720); +if (lean_is_scalar(x_2738)) { + x_2739 = lean_alloc_ctor(0, 5, 0); +} else { + x_2739 = x_2738; +} +lean_ctor_set(x_2739, 0, x_2734); +lean_ctor_set(x_2739, 1, x_2720); +lean_ctor_set(x_2739, 2, x_2735); +lean_ctor_set(x_2739, 3, x_2736); +lean_ctor_set(x_2739, 4, x_2737); +if (lean_is_scalar(x_2733)) { + x_2740 = lean_alloc_ctor(0, 10, 2); +} else { + x_2740 = x_2733; +} +lean_ctor_set(x_2740, 0, x_2739); +lean_ctor_set(x_2740, 1, x_2722); +lean_ctor_set(x_2740, 2, x_2723); +lean_ctor_set(x_2740, 3, x_2724); +lean_ctor_set(x_2740, 4, x_2725); +lean_ctor_set(x_2740, 5, x_2726); +lean_ctor_set(x_2740, 6, x_2727); +lean_ctor_set(x_2740, 7, x_2728); +lean_ctor_set(x_2740, 8, x_2729); +lean_ctor_set(x_2740, 9, x_2730); +lean_ctor_set_uint8(x_2740, sizeof(void*)*10, x_2731); +lean_ctor_set_uint8(x_2740, sizeof(void*)*10 + 1, x_2732); +x_2741 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2711, x_2740, x_2718); +if (lean_obj_tag(x_2741) == 0) { -lean_object* x_2723; lean_object* x_2724; +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; +x_2742 = lean_ctor_get(x_2741, 0); +lean_inc(x_2742); +x_2743 = lean_ctor_get(x_2741, 1); +lean_inc(x_2743); +if (lean_is_exclusive(x_2741)) { + lean_ctor_release(x_2741, 0); + lean_ctor_release(x_2741, 1); + x_2744 = x_2741; +} else { + lean_dec_ref(x_2741); + x_2744 = lean_box(0); +} +x_2745 = l_Lean_mkFVar(x_2712); +x_2746 = l_Lean_mkOptionalNode___closed__2; +x_2747 = lean_array_push(x_2746, x_2745); +x_2748 = l_Lean_LocalContext_mkLambda(x_2720, x_2747, x_2742); +lean_dec(x_2742); +lean_dec(x_2747); +if (lean_is_scalar(x_2744)) { + x_2749 = lean_alloc_ctor(0, 2, 0); +} else { + x_2749 = x_2744; +} +lean_ctor_set(x_2749, 0, x_2748); +lean_ctor_set(x_2749, 1, x_2743); +return x_2749; +} +else +{ +lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_dec(x_2720); -lean_dec(x_2719); -lean_dec(x_2718); lean_dec(x_2712); -x_2723 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2724 = l_unreachable_x21___rarg(x_2723); -x_5 = x_2724; -goto block_95; +x_2750 = lean_ctor_get(x_2741, 0); +lean_inc(x_2750); +x_2751 = lean_ctor_get(x_2741, 1); +lean_inc(x_2751); +if (lean_is_exclusive(x_2741)) { + lean_ctor_release(x_2741, 0); + lean_ctor_release(x_2741, 1); + x_2752 = x_2741; +} else { + lean_dec_ref(x_2741); + x_2752 = lean_box(0); } -else -{ -uint8_t x_2725; -x_2725 = lean_string_dec_eq(x_2720, x_2505); -lean_dec(x_2720); -if (x_2725 == 0) -{ -lean_object* x_2726; lean_object* x_2727; -lean_dec(x_2719); -lean_dec(x_2718); -lean_dec(x_2712); -x_2726 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2727 = l_unreachable_x21___rarg(x_2726); -x_5 = x_2727; -goto block_95; +if (lean_is_scalar(x_2752)) { + x_2753 = lean_alloc_ctor(1, 2, 0); +} else { + x_2753 = x_2752; } -else -{ -uint8_t x_2728; -x_2728 = lean_string_dec_eq(x_2719, x_2518); -lean_dec(x_2719); -if (x_2728 == 0) -{ -lean_object* x_2729; lean_object* x_2730; -lean_dec(x_2718); -lean_dec(x_2712); -x_2729 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2730 = l_unreachable_x21___rarg(x_2729); -x_5 = x_2730; -goto block_95; -} -else -{ -lean_object* x_2731; uint8_t x_2732; -x_2731 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11; -x_2732 = lean_string_dec_eq(x_2718, x_2731); -if (x_2732 == 0) -{ -lean_object* x_2733; uint8_t x_2734; -x_2733 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12; -x_2734 = lean_string_dec_eq(x_2718, x_2733); -lean_dec(x_2718); -if (x_2734 == 0) -{ -lean_object* x_2735; lean_object* x_2736; -lean_dec(x_2712); -x_2735 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2736 = l_unreachable_x21___rarg(x_2735); -x_5 = x_2736; -goto block_95; -} -else -{ -lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; -x_2737 = lean_unsigned_to_nat(0u); -x_2738 = l_Lean_Syntax_getArg(x_2712, x_2737); -x_2739 = l_Lean_Syntax_getIdAt(x_2738, x_2737); -lean_dec(x_2738); -x_2740 = lean_unsigned_to_nat(3u); -x_2741 = l_Lean_Syntax_getArg(x_2712, x_2740); -lean_dec(x_2712); -x_2742 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2742, 0, x_2739); -lean_ctor_set(x_2742, 1, x_2741); -x_5 = x_2742; -goto block_95; +lean_ctor_set(x_2753, 0, x_2750); +lean_ctor_set(x_2753, 1, x_2751); +return x_2753; } } else { -lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; -lean_dec(x_2718); -x_2743 = lean_unsigned_to_nat(0u); -x_2744 = l_Lean_Syntax_getIdAt(x_2712, x_2743); -x_2745 = lean_unsigned_to_nat(4u); -x_2746 = l_Lean_Syntax_getArg(x_2712, x_2745); +lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_dec(x_2712); -x_2747 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2747, 0, x_2744); -lean_ctor_set(x_2747, 1, x_2746); -x_5 = x_2747; -goto block_95; +lean_dec(x_2711); +lean_dec(x_2); +x_2754 = lean_ctor_get(x_2713, 0); +lean_inc(x_2754); +x_2755 = lean_ctor_get(x_2713, 1); +lean_inc(x_2755); +if (lean_is_exclusive(x_2713)) { + lean_ctor_release(x_2713, 0); + lean_ctor_release(x_2713, 1); + x_2756 = x_2713; +} else { + lean_dec_ref(x_2713); + x_2756 = lean_box(0); } +if (lean_is_scalar(x_2756)) { + x_2757 = lean_alloc_ctor(1, 2, 0); +} else { + x_2757 = x_2756; +} +lean_ctor_set(x_2757, 0, x_2754); +lean_ctor_set(x_2757, 1, x_2755); +return x_2757; } } } } else { -lean_object* x_2748; lean_object* x_2749; -lean_dec(x_2717); -lean_dec(x_2716); -lean_dec(x_2715); -lean_dec(x_2714); -lean_dec(x_2713); -lean_dec(x_2712); -x_2748 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2749 = l_unreachable_x21___rarg(x_2748); -x_5 = x_2749; -goto block_95; -} -} -else -{ -lean_object* x_2750; lean_object* x_2751; -lean_dec(x_2716); -lean_dec(x_2715); -lean_dec(x_2714); -lean_dec(x_2713); -lean_dec(x_2712); -x_2750 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2751 = l_unreachable_x21___rarg(x_2750); -x_5 = x_2751; -goto block_95; -} -} -else -{ -lean_object* x_2752; lean_object* x_2753; -lean_dec(x_2715); -lean_dec(x_2714); -lean_dec(x_2713); -lean_dec(x_2712); -x_2752 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2753 = l_unreachable_x21___rarg(x_2752); -x_5 = x_2753; -goto block_95; -} -} -else -{ -lean_object* x_2754; lean_object* x_2755; -lean_dec(x_2714); -lean_dec(x_2713); -lean_dec(x_2712); -x_2754 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2755 = l_unreachable_x21___rarg(x_2754); -x_5 = x_2755; -goto block_95; -} -} -else -{ -lean_object* x_2756; lean_object* x_2757; -lean_dec(x_2713); -lean_dec(x_2712); -x_2756 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10; -x_2757 = l_unreachable_x21___rarg(x_2756); -x_5 = x_2757; -goto block_95; -} -} -} -else -{ -lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; uint8_t x_2766; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); +lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; uint8_t x_2769; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); lean_dec(x_1); -x_2758 = l_Lean_Syntax_inhabited; -x_2759 = lean_unsigned_to_nat(1u); -x_2760 = lean_array_get(x_2758, x_4, x_2759); -x_2761 = l_Lean_Syntax_getArgs(x_2760); -lean_dec(x_2760); -x_2762 = lean_unsigned_to_nat(3u); -x_2763 = lean_array_get(x_2758, x_4, x_2762); +x_2761 = l_Lean_Syntax_inhabited; +x_2762 = lean_unsigned_to_nat(1u); +x_2763 = lean_array_get(x_2761, x_4, x_2762); +x_2764 = l_Lean_Syntax_getArgs(x_2763); +lean_dec(x_2763); +x_2765 = lean_unsigned_to_nat(3u); +x_2766 = lean_array_get(x_2761, x_4, x_2765); lean_dec(x_4); -x_2764 = lean_array_get_size(x_2761); -x_2765 = lean_unsigned_to_nat(0u); -x_2766 = lean_nat_dec_eq(x_2764, x_2765); -lean_dec(x_2764); -if (x_2766 == 0) +x_2767 = lean_array_get_size(x_2764); +x_2768 = lean_unsigned_to_nat(0u); +x_2769 = lean_nat_dec_eq(x_2767, x_2768); +lean_dec(x_2767); +if (x_2769 == 0) { -lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; uint8_t x_2772; -x_2767 = lean_array_get(x_2758, x_2761, x_2765); -x_2768 = lean_name_mk_string(x_118, x_2501); -x_2769 = lean_name_mk_string(x_2768, x_2505); -x_2770 = lean_name_mk_string(x_2769, x_2518); +lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; uint8_t x_2775; +x_2770 = lean_array_get(x_2761, x_2764, x_2768); +x_2771 = lean_name_mk_string(x_27, x_2493); +x_2772 = lean_name_mk_string(x_2771, x_2497); +x_2773 = lean_name_mk_string(x_2772, x_2510); +lean_inc(x_2773); +x_2774 = lean_name_mk_string(x_2773, x_2523); lean_inc(x_2770); -x_2771 = lean_name_mk_string(x_2770, x_2531); -lean_inc(x_2767); -x_2772 = l_Lean_Syntax_isOfKind(x_2767, x_2771); -lean_dec(x_2771); -if (x_2772 == 0) -{ -lean_object* x_2773; lean_object* x_2774; uint8_t x_2775; -x_2773 = l_Lean_mkHole___closed__1; -lean_inc(x_2770); -x_2774 = lean_name_mk_string(x_2770, x_2773); -lean_inc(x_2767); -x_2775 = l_Lean_Syntax_isOfKind(x_2767, x_2774); +x_2775 = l_Lean_Syntax_isOfKind(x_2770, x_2774); lean_dec(x_2774); if (x_2775 == 0) { -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; -x_2776 = l_Lean_Syntax_getArg(x_2767, x_2759); -lean_dec(x_2767); -x_2777 = l_Lean_Syntax_getArg(x_2776, x_2765); -x_2778 = l_Lean_Syntax_getIdAt(x_2777, x_2765); +lean_object* x_2776; lean_object* x_2777; uint8_t x_2778; +x_2776 = l_Lean_mkHole___closed__1; +lean_inc(x_2773); +x_2777 = lean_name_mk_string(x_2773, x_2776); +lean_inc(x_2770); +x_2778 = l_Lean_Syntax_isOfKind(x_2770, x_2777); lean_dec(x_2777); -x_2779 = l_Lean_Syntax_getArg(x_2776, x_2759); -lean_dec(x_2776); -x_2780 = l_Lean_Syntax_getArg(x_2779, x_2765); -lean_dec(x_2779); -x_2781 = l_Lean_Syntax_getArg(x_2780, x_2759); -lean_dec(x_2780); -lean_inc(x_2); -x_2782 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2781, x_2, x_3); -if (lean_obj_tag(x_2782) == 0) +if (x_2778 == 0) { -lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; uint8_t 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; uint8_t x_2817; uint8_t 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; -x_2783 = lean_ctor_get(x_2782, 0); -lean_inc(x_2783); -x_2784 = lean_ctor_get(x_2782, 1); -lean_inc(x_2784); +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; +x_2779 = l_Lean_Syntax_getArg(x_2770, x_2762); +lean_dec(x_2770); +x_2780 = l_Lean_Syntax_getArg(x_2779, x_2768); +x_2781 = l_Lean_Syntax_getIdAt(x_2780, x_2768); +lean_dec(x_2780); +x_2782 = l_Lean_Syntax_getArg(x_2779, x_2762); +lean_dec(x_2779); +x_2783 = l_Lean_Syntax_getArg(x_2782, x_2768); lean_dec(x_2782); -x_2785 = l_Lean_Elab_Term_getLCtx(x_2, x_2784); +x_2784 = l_Lean_Syntax_getArg(x_2783, x_2762); +lean_dec(x_2783); +lean_inc(x_2); +x_2785 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2784, x_2, x_3); +if (lean_obj_tag(x_2785) == 0) +{ +lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; uint8_t 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; uint8_t x_2820; uint8_t 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; x_2786 = lean_ctor_get(x_2785, 0); lean_inc(x_2786); x_2787 = lean_ctor_get(x_2785, 1); lean_inc(x_2787); lean_dec(x_2785); -x_2788 = 0; -lean_inc_n(x_2778, 2); -x_2789 = lean_local_ctx_mk_local_decl(x_2786, x_2778, x_2778, x_2783, x_2788); -x_2790 = l_Array_eraseIdx___rarg(x_2761, x_2765); -x_2791 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2787); -x_2792 = lean_ctor_get(x_2791, 1); -lean_inc(x_2792); -lean_dec(x_2791); -x_2793 = l_Lean_Elab_Term_getMainModule___rarg(x_2792); -x_2794 = lean_ctor_get(x_2793, 1); -lean_inc(x_2794); -lean_dec(x_2793); -x_2795 = lean_name_mk_string(x_2770, x_2533); -x_2796 = l_Lean_nullKind___closed__1; -x_2797 = lean_name_mk_string(x_118, x_2796); -x_2798 = l_Array_empty___closed__1; -x_2799 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2790, x_2790, x_2765, x_2798); -lean_dec(x_2790); -x_2800 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2800, 0, x_2797); -lean_ctor_set(x_2800, 1, x_2799); -x_2801 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2802 = lean_array_push(x_2801, x_2800); -x_2803 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2804 = lean_array_push(x_2802, x_2803); -x_2805 = lean_array_push(x_2804, x_2763); -x_2806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2806, 0, x_2795); -lean_ctor_set(x_2806, 1, x_2805); -x_2807 = lean_ctor_get(x_2, 0); -lean_inc(x_2807); -x_2808 = lean_ctor_get(x_2, 1); -lean_inc(x_2808); -x_2809 = lean_ctor_get(x_2, 2); -lean_inc(x_2809); -x_2810 = lean_ctor_get(x_2, 3); -lean_inc(x_2810); -x_2811 = lean_ctor_get(x_2, 4); -lean_inc(x_2811); -x_2812 = lean_ctor_get(x_2, 5); -lean_inc(x_2812); -x_2813 = lean_ctor_get(x_2, 6); -lean_inc(x_2813); -x_2814 = lean_ctor_get(x_2, 7); -lean_inc(x_2814); -x_2815 = lean_ctor_get(x_2, 8); -lean_inc(x_2815); -x_2816 = lean_ctor_get(x_2, 9); -lean_inc(x_2816); -x_2817 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2818 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2819 = x_2; -} else { - lean_dec_ref(x_2); - x_2819 = lean_box(0); -} -x_2820 = lean_ctor_get(x_2807, 0); -lean_inc(x_2820); -x_2821 = lean_ctor_get(x_2807, 2); -lean_inc(x_2821); -x_2822 = lean_ctor_get(x_2807, 3); -lean_inc(x_2822); -x_2823 = lean_ctor_get(x_2807, 4); -lean_inc(x_2823); -if (lean_is_exclusive(x_2807)) { - lean_ctor_release(x_2807, 0); - lean_ctor_release(x_2807, 1); - lean_ctor_release(x_2807, 2); - lean_ctor_release(x_2807, 3); - lean_ctor_release(x_2807, 4); - x_2824 = x_2807; -} else { - lean_dec_ref(x_2807); - x_2824 = lean_box(0); -} +x_2788 = l_Lean_Elab_Term_getLCtx(x_2, x_2787); +x_2789 = lean_ctor_get(x_2788, 0); lean_inc(x_2789); -if (lean_is_scalar(x_2824)) { - x_2825 = lean_alloc_ctor(0, 5, 0); +x_2790 = lean_ctor_get(x_2788, 1); +lean_inc(x_2790); +lean_dec(x_2788); +x_2791 = 0; +lean_inc_n(x_2781, 2); +x_2792 = lean_local_ctx_mk_local_decl(x_2789, x_2781, x_2781, x_2786, x_2791); +x_2793 = l_Array_eraseIdx___rarg(x_2764, x_2768); +x_2794 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2790); +x_2795 = lean_ctor_get(x_2794, 1); +lean_inc(x_2795); +lean_dec(x_2794); +x_2796 = l_Lean_Elab_Term_getMainModule___rarg(x_2795); +x_2797 = lean_ctor_get(x_2796, 1); +lean_inc(x_2797); +lean_dec(x_2796); +x_2798 = lean_name_mk_string(x_2773, x_2525); +x_2799 = l_Lean_nullKind___closed__1; +x_2800 = lean_name_mk_string(x_27, x_2799); +x_2801 = l_Array_empty___closed__1; +x_2802 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2793, x_2793, x_2768, x_2801); +lean_dec(x_2793); +x_2803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2803, 0, x_2800); +lean_ctor_set(x_2803, 1, x_2802); +x_2804 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2805 = lean_array_push(x_2804, x_2803); +x_2806 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2807 = lean_array_push(x_2805, x_2806); +x_2808 = lean_array_push(x_2807, x_2766); +x_2809 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2809, 0, x_2798); +lean_ctor_set(x_2809, 1, x_2808); +x_2810 = lean_ctor_get(x_2, 0); +lean_inc(x_2810); +x_2811 = lean_ctor_get(x_2, 1); +lean_inc(x_2811); +x_2812 = lean_ctor_get(x_2, 2); +lean_inc(x_2812); +x_2813 = lean_ctor_get(x_2, 3); +lean_inc(x_2813); +x_2814 = lean_ctor_get(x_2, 4); +lean_inc(x_2814); +x_2815 = lean_ctor_get(x_2, 5); +lean_inc(x_2815); +x_2816 = lean_ctor_get(x_2, 6); +lean_inc(x_2816); +x_2817 = lean_ctor_get(x_2, 7); +lean_inc(x_2817); +x_2818 = lean_ctor_get(x_2, 8); +lean_inc(x_2818); +x_2819 = lean_ctor_get(x_2, 9); +lean_inc(x_2819); +x_2820 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2821 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2822 = x_2; } else { - x_2825 = x_2824; + lean_dec_ref(x_2); + x_2822 = lean_box(0); } -lean_ctor_set(x_2825, 0, x_2820); -lean_ctor_set(x_2825, 1, x_2789); -lean_ctor_set(x_2825, 2, x_2821); -lean_ctor_set(x_2825, 3, x_2822); -lean_ctor_set(x_2825, 4, x_2823); -if (lean_is_scalar(x_2819)) { - x_2826 = lean_alloc_ctor(0, 10, 2); +x_2823 = lean_ctor_get(x_2810, 0); +lean_inc(x_2823); +x_2824 = lean_ctor_get(x_2810, 2); +lean_inc(x_2824); +x_2825 = lean_ctor_get(x_2810, 3); +lean_inc(x_2825); +x_2826 = lean_ctor_get(x_2810, 4); +lean_inc(x_2826); +if (lean_is_exclusive(x_2810)) { + lean_ctor_release(x_2810, 0); + lean_ctor_release(x_2810, 1); + lean_ctor_release(x_2810, 2); + lean_ctor_release(x_2810, 3); + lean_ctor_release(x_2810, 4); + x_2827 = x_2810; } else { - x_2826 = x_2819; + lean_dec_ref(x_2810); + x_2827 = lean_box(0); } -lean_ctor_set(x_2826, 0, x_2825); -lean_ctor_set(x_2826, 1, x_2808); -lean_ctor_set(x_2826, 2, x_2809); -lean_ctor_set(x_2826, 3, x_2810); -lean_ctor_set(x_2826, 4, x_2811); -lean_ctor_set(x_2826, 5, x_2812); -lean_ctor_set(x_2826, 6, x_2813); -lean_ctor_set(x_2826, 7, x_2814); -lean_ctor_set(x_2826, 8, x_2815); -lean_ctor_set(x_2826, 9, x_2816); -lean_ctor_set_uint8(x_2826, sizeof(void*)*10, x_2817); -lean_ctor_set_uint8(x_2826, sizeof(void*)*10 + 1, x_2818); -x_2827 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2806, x_2826, x_2794); -if (lean_obj_tag(x_2827) == 0) +lean_inc(x_2792); +if (lean_is_scalar(x_2827)) { + x_2828 = lean_alloc_ctor(0, 5, 0); +} else { + x_2828 = x_2827; +} +lean_ctor_set(x_2828, 0, x_2823); +lean_ctor_set(x_2828, 1, x_2792); +lean_ctor_set(x_2828, 2, x_2824); +lean_ctor_set(x_2828, 3, x_2825); +lean_ctor_set(x_2828, 4, x_2826); +if (lean_is_scalar(x_2822)) { + x_2829 = lean_alloc_ctor(0, 10, 2); +} else { + x_2829 = x_2822; +} +lean_ctor_set(x_2829, 0, x_2828); +lean_ctor_set(x_2829, 1, x_2811); +lean_ctor_set(x_2829, 2, x_2812); +lean_ctor_set(x_2829, 3, x_2813); +lean_ctor_set(x_2829, 4, x_2814); +lean_ctor_set(x_2829, 5, x_2815); +lean_ctor_set(x_2829, 6, x_2816); +lean_ctor_set(x_2829, 7, x_2817); +lean_ctor_set(x_2829, 8, x_2818); +lean_ctor_set(x_2829, 9, x_2819); +lean_ctor_set_uint8(x_2829, sizeof(void*)*10, x_2820); +lean_ctor_set_uint8(x_2829, sizeof(void*)*10 + 1, x_2821); +x_2830 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2809, x_2829, x_2797); +if (lean_obj_tag(x_2830) == 0) { -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; -x_2828 = lean_ctor_get(x_2827, 0); -lean_inc(x_2828); -x_2829 = lean_ctor_get(x_2827, 1); -lean_inc(x_2829); -if (lean_is_exclusive(x_2827)) { - lean_ctor_release(x_2827, 0); - lean_ctor_release(x_2827, 1); - x_2830 = x_2827; +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; +x_2831 = lean_ctor_get(x_2830, 0); +lean_inc(x_2831); +x_2832 = lean_ctor_get(x_2830, 1); +lean_inc(x_2832); +if (lean_is_exclusive(x_2830)) { + lean_ctor_release(x_2830, 0); + lean_ctor_release(x_2830, 1); + x_2833 = x_2830; } else { - lean_dec_ref(x_2827); - x_2830 = lean_box(0); + lean_dec_ref(x_2830); + x_2833 = lean_box(0); } -x_2831 = l_Lean_mkFVar(x_2778); -x_2832 = l_Lean_mkOptionalNode___closed__2; -x_2833 = lean_array_push(x_2832, x_2831); -x_2834 = l_Lean_LocalContext_mkLambda(x_2789, x_2833, x_2828); -lean_dec(x_2828); -lean_dec(x_2833); -if (lean_is_scalar(x_2830)) { - x_2835 = lean_alloc_ctor(0, 2, 0); +x_2834 = l_Lean_mkFVar(x_2781); +x_2835 = l_Lean_mkOptionalNode___closed__2; +x_2836 = lean_array_push(x_2835, x_2834); +x_2837 = l_Lean_LocalContext_mkLambda(x_2792, x_2836, x_2831); +lean_dec(x_2831); +lean_dec(x_2836); +if (lean_is_scalar(x_2833)) { + x_2838 = lean_alloc_ctor(0, 2, 0); } else { - x_2835 = x_2830; + x_2838 = x_2833; } -lean_ctor_set(x_2835, 0, x_2834); -lean_ctor_set(x_2835, 1, x_2829); -return x_2835; +lean_ctor_set(x_2838, 0, x_2837); +lean_ctor_set(x_2838, 1, x_2832); +return x_2838; } else { -lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; -lean_dec(x_2789); -lean_dec(x_2778); -x_2836 = lean_ctor_get(x_2827, 0); -lean_inc(x_2836); -x_2837 = lean_ctor_get(x_2827, 1); -lean_inc(x_2837); -if (lean_is_exclusive(x_2827)) { - lean_ctor_release(x_2827, 0); - lean_ctor_release(x_2827, 1); - x_2838 = x_2827; -} else { - lean_dec_ref(x_2827); - x_2838 = lean_box(0); -} -if (lean_is_scalar(x_2838)) { - x_2839 = lean_alloc_ctor(1, 2, 0); -} else { - x_2839 = x_2838; -} -lean_ctor_set(x_2839, 0, x_2836); -lean_ctor_set(x_2839, 1, x_2837); -return x_2839; -} -} -else -{ -lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; -lean_dec(x_2778); -lean_dec(x_2770); -lean_dec(x_2763); -lean_dec(x_2761); -lean_dec(x_2); -x_2840 = lean_ctor_get(x_2782, 0); +lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; +lean_dec(x_2792); +lean_dec(x_2781); +x_2839 = lean_ctor_get(x_2830, 0); +lean_inc(x_2839); +x_2840 = lean_ctor_get(x_2830, 1); lean_inc(x_2840); -x_2841 = lean_ctor_get(x_2782, 1); -lean_inc(x_2841); -if (lean_is_exclusive(x_2782)) { - lean_ctor_release(x_2782, 0); - lean_ctor_release(x_2782, 1); - x_2842 = x_2782; +if (lean_is_exclusive(x_2830)) { + lean_ctor_release(x_2830, 0); + lean_ctor_release(x_2830, 1); + x_2841 = x_2830; } else { - lean_dec_ref(x_2782); - x_2842 = lean_box(0); + lean_dec_ref(x_2830); + x_2841 = lean_box(0); } -if (lean_is_scalar(x_2842)) { - x_2843 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2841)) { + x_2842 = lean_alloc_ctor(1, 2, 0); } else { - x_2843 = x_2842; + x_2842 = x_2841; } -lean_ctor_set(x_2843, 0, x_2840); -lean_ctor_set(x_2843, 1, x_2841); -return x_2843; +lean_ctor_set(x_2842, 0, x_2839); +lean_ctor_set(x_2842, 1, x_2840); +return x_2842; } } else { -lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; uint8_t 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; lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; uint8_t x_2879; uint8_t x_2880; lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; -lean_dec(x_2767); -x_2844 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; -x_2845 = lean_name_mk_string(x_118, x_2844); -x_2846 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2847 = lean_ctor_get(x_2846, 0); -lean_inc(x_2847); -x_2848 = lean_ctor_get(x_2846, 1); -lean_inc(x_2848); -lean_dec(x_2846); -x_2849 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_2850 = 0; -lean_inc_n(x_2845, 2); -x_2851 = lean_local_ctx_mk_local_decl(x_2847, x_2845, x_2845, x_2849, x_2850); -x_2852 = l_Array_eraseIdx___rarg(x_2761, x_2765); -x_2853 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2848); -x_2854 = lean_ctor_get(x_2853, 1); -lean_inc(x_2854); -lean_dec(x_2853); -x_2855 = l_Lean_Elab_Term_getMainModule___rarg(x_2854); -x_2856 = lean_ctor_get(x_2855, 1); -lean_inc(x_2856); -lean_dec(x_2855); -x_2857 = lean_name_mk_string(x_2770, x_2533); -x_2858 = l_Lean_nullKind___closed__1; -x_2859 = lean_name_mk_string(x_118, x_2858); -x_2860 = l_Array_empty___closed__1; -x_2861 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2852, x_2852, x_2765, x_2860); -lean_dec(x_2852); -x_2862 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2862, 0, x_2859); -lean_ctor_set(x_2862, 1, x_2861); -x_2863 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2864 = lean_array_push(x_2863, x_2862); -x_2865 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2866 = lean_array_push(x_2864, x_2865); -x_2867 = lean_array_push(x_2866, x_2763); -x_2868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2868, 0, x_2857); -lean_ctor_set(x_2868, 1, x_2867); -x_2869 = lean_ctor_get(x_2, 0); -lean_inc(x_2869); -x_2870 = lean_ctor_get(x_2, 1); -lean_inc(x_2870); -x_2871 = lean_ctor_get(x_2, 2); -lean_inc(x_2871); -x_2872 = lean_ctor_get(x_2, 3); -lean_inc(x_2872); -x_2873 = lean_ctor_get(x_2, 4); -lean_inc(x_2873); -x_2874 = lean_ctor_get(x_2, 5); -lean_inc(x_2874); -x_2875 = lean_ctor_get(x_2, 6); -lean_inc(x_2875); -x_2876 = lean_ctor_get(x_2, 7); -lean_inc(x_2876); -x_2877 = lean_ctor_get(x_2, 8); -lean_inc(x_2877); -x_2878 = lean_ctor_get(x_2, 9); -lean_inc(x_2878); -x_2879 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2880 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - lean_ctor_release(x_2, 2); - lean_ctor_release(x_2, 3); - lean_ctor_release(x_2, 4); - lean_ctor_release(x_2, 5); - lean_ctor_release(x_2, 6); - lean_ctor_release(x_2, 7); - lean_ctor_release(x_2, 8); - lean_ctor_release(x_2, 9); - x_2881 = x_2; +lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; +lean_dec(x_2781); +lean_dec(x_2773); +lean_dec(x_2766); +lean_dec(x_2764); +lean_dec(x_2); +x_2843 = lean_ctor_get(x_2785, 0); +lean_inc(x_2843); +x_2844 = lean_ctor_get(x_2785, 1); +lean_inc(x_2844); +if (lean_is_exclusive(x_2785)) { + lean_ctor_release(x_2785, 0); + lean_ctor_release(x_2785, 1); + x_2845 = x_2785; } else { - lean_dec_ref(x_2); - x_2881 = lean_box(0); + lean_dec_ref(x_2785); + x_2845 = lean_box(0); } -x_2882 = lean_ctor_get(x_2869, 0); -lean_inc(x_2882); -x_2883 = lean_ctor_get(x_2869, 2); -lean_inc(x_2883); -x_2884 = lean_ctor_get(x_2869, 3); -lean_inc(x_2884); -x_2885 = lean_ctor_get(x_2869, 4); -lean_inc(x_2885); -if (lean_is_exclusive(x_2869)) { - lean_ctor_release(x_2869, 0); - lean_ctor_release(x_2869, 1); - lean_ctor_release(x_2869, 2); - lean_ctor_release(x_2869, 3); - lean_ctor_release(x_2869, 4); - x_2886 = x_2869; +if (lean_is_scalar(x_2845)) { + x_2846 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_2869); - x_2886 = lean_box(0); + x_2846 = x_2845; } +lean_ctor_set(x_2846, 0, x_2843); +lean_ctor_set(x_2846, 1, x_2844); +return x_2846; +} +} +else +{ +lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; uint8_t 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; lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; lean_object* x_2879; lean_object* x_2880; lean_object* x_2881; uint8_t x_2882; uint8_t x_2883; lean_object* x_2884; 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_dec(x_2770); +x_2847 = l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; +x_2848 = lean_name_mk_string(x_27, x_2847); +x_2849 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2850 = lean_ctor_get(x_2849, 0); +lean_inc(x_2850); +x_2851 = lean_ctor_get(x_2849, 1); lean_inc(x_2851); -if (lean_is_scalar(x_2886)) { - x_2887 = lean_alloc_ctor(0, 5, 0); -} else { - x_2887 = x_2886; -} -lean_ctor_set(x_2887, 0, x_2882); -lean_ctor_set(x_2887, 1, x_2851); -lean_ctor_set(x_2887, 2, x_2883); -lean_ctor_set(x_2887, 3, x_2884); -lean_ctor_set(x_2887, 4, x_2885); -if (lean_is_scalar(x_2881)) { - x_2888 = lean_alloc_ctor(0, 10, 2); -} else { - x_2888 = x_2881; -} -lean_ctor_set(x_2888, 0, x_2887); -lean_ctor_set(x_2888, 1, x_2870); -lean_ctor_set(x_2888, 2, x_2871); -lean_ctor_set(x_2888, 3, x_2872); -lean_ctor_set(x_2888, 4, x_2873); -lean_ctor_set(x_2888, 5, x_2874); -lean_ctor_set(x_2888, 6, x_2875); -lean_ctor_set(x_2888, 7, x_2876); -lean_ctor_set(x_2888, 8, x_2877); -lean_ctor_set(x_2888, 9, x_2878); -lean_ctor_set_uint8(x_2888, sizeof(void*)*10, x_2879); -lean_ctor_set_uint8(x_2888, sizeof(void*)*10 + 1, x_2880); -x_2889 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2868, x_2888, x_2856); -if (lean_obj_tag(x_2889) == 0) -{ -lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; -x_2890 = lean_ctor_get(x_2889, 0); -lean_inc(x_2890); -x_2891 = lean_ctor_get(x_2889, 1); -lean_inc(x_2891); -if (lean_is_exclusive(x_2889)) { - lean_ctor_release(x_2889, 0); - lean_ctor_release(x_2889, 1); - x_2892 = x_2889; -} else { - lean_dec_ref(x_2889); - x_2892 = lean_box(0); -} -x_2893 = l_Lean_mkFVar(x_2845); -x_2894 = l_Lean_mkOptionalNode___closed__2; -x_2895 = lean_array_push(x_2894, x_2893); -x_2896 = l_Lean_LocalContext_mkLambda(x_2851, x_2895, x_2890); -lean_dec(x_2890); -lean_dec(x_2895); -if (lean_is_scalar(x_2892)) { - x_2897 = lean_alloc_ctor(0, 2, 0); -} else { - x_2897 = x_2892; -} -lean_ctor_set(x_2897, 0, x_2896); -lean_ctor_set(x_2897, 1, x_2891); -return x_2897; -} -else -{ -lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; -lean_dec(x_2851); -lean_dec(x_2845); -x_2898 = lean_ctor_get(x_2889, 0); -lean_inc(x_2898); -x_2899 = lean_ctor_get(x_2889, 1); -lean_inc(x_2899); -if (lean_is_exclusive(x_2889)) { - lean_ctor_release(x_2889, 0); - lean_ctor_release(x_2889, 1); - x_2900 = x_2889; -} else { - lean_dec_ref(x_2889); - x_2900 = lean_box(0); -} -if (lean_is_scalar(x_2900)) { - x_2901 = lean_alloc_ctor(1, 2, 0); -} else { - x_2901 = x_2900; -} -lean_ctor_set(x_2901, 0, x_2898); -lean_ctor_set(x_2901, 1, x_2899); -return x_2901; -} -} -} -else -{ -lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; uint8_t 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; lean_object* x_2935; uint8_t x_2936; uint8_t 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; -x_2902 = l_Lean_Syntax_getIdAt(x_2767, x_2765); -lean_dec(x_2767); -x_2903 = l_Lean_Elab_Term_getLCtx(x_2, x_3); -x_2904 = lean_ctor_get(x_2903, 0); -lean_inc(x_2904); -x_2905 = lean_ctor_get(x_2903, 1); -lean_inc(x_2905); -lean_dec(x_2903); -x_2906 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -x_2907 = 0; -lean_inc_n(x_2902, 2); -x_2908 = lean_local_ctx_mk_local_decl(x_2904, x_2902, x_2902, x_2906, x_2907); -x_2909 = l_Array_eraseIdx___rarg(x_2761, x_2765); -x_2910 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2905); -x_2911 = lean_ctor_get(x_2910, 1); -lean_inc(x_2911); -lean_dec(x_2910); -x_2912 = l_Lean_Elab_Term_getMainModule___rarg(x_2911); -x_2913 = lean_ctor_get(x_2912, 1); -lean_inc(x_2913); -lean_dec(x_2912); -x_2914 = lean_name_mk_string(x_2770, x_2533); -x_2915 = l_Lean_nullKind___closed__1; -x_2916 = lean_name_mk_string(x_118, x_2915); -x_2917 = l_Array_empty___closed__1; -x_2918 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2909, x_2909, x_2765, x_2917); -lean_dec(x_2909); -x_2919 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2919, 0, x_2916); -lean_ctor_set(x_2919, 1, x_2918); -x_2920 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_2921 = lean_array_push(x_2920, x_2919); -x_2922 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2923 = lean_array_push(x_2921, x_2922); -x_2924 = lean_array_push(x_2923, x_2763); -x_2925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2925, 0, x_2914); -lean_ctor_set(x_2925, 1, x_2924); -x_2926 = lean_ctor_get(x_2, 0); -lean_inc(x_2926); -x_2927 = lean_ctor_get(x_2, 1); -lean_inc(x_2927); -x_2928 = lean_ctor_get(x_2, 2); -lean_inc(x_2928); -x_2929 = lean_ctor_get(x_2, 3); -lean_inc(x_2929); -x_2930 = lean_ctor_get(x_2, 4); -lean_inc(x_2930); -x_2931 = lean_ctor_get(x_2, 5); -lean_inc(x_2931); -x_2932 = lean_ctor_get(x_2, 6); -lean_inc(x_2932); -x_2933 = lean_ctor_get(x_2, 7); -lean_inc(x_2933); -x_2934 = lean_ctor_get(x_2, 8); -lean_inc(x_2934); -x_2935 = lean_ctor_get(x_2, 9); -lean_inc(x_2935); -x_2936 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_2937 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +lean_dec(x_2849); +x_2852 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_2853 = 0; +lean_inc_n(x_2848, 2); +x_2854 = lean_local_ctx_mk_local_decl(x_2850, x_2848, x_2848, x_2852, x_2853); +x_2855 = l_Array_eraseIdx___rarg(x_2764, x_2768); +x_2856 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2851); +x_2857 = lean_ctor_get(x_2856, 1); +lean_inc(x_2857); +lean_dec(x_2856); +x_2858 = l_Lean_Elab_Term_getMainModule___rarg(x_2857); +x_2859 = lean_ctor_get(x_2858, 1); +lean_inc(x_2859); +lean_dec(x_2858); +x_2860 = lean_name_mk_string(x_2773, x_2525); +x_2861 = l_Lean_nullKind___closed__1; +x_2862 = lean_name_mk_string(x_27, x_2861); +x_2863 = l_Array_empty___closed__1; +x_2864 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2855, x_2855, x_2768, x_2863); +lean_dec(x_2855); +x_2865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2865, 0, x_2862); +lean_ctor_set(x_2865, 1, x_2864); +x_2866 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2867 = lean_array_push(x_2866, x_2865); +x_2868 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2869 = lean_array_push(x_2867, x_2868); +x_2870 = lean_array_push(x_2869, x_2766); +x_2871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2871, 0, x_2860); +lean_ctor_set(x_2871, 1, x_2870); +x_2872 = lean_ctor_get(x_2, 0); +lean_inc(x_2872); +x_2873 = lean_ctor_get(x_2, 1); +lean_inc(x_2873); +x_2874 = lean_ctor_get(x_2, 2); +lean_inc(x_2874); +x_2875 = lean_ctor_get(x_2, 3); +lean_inc(x_2875); +x_2876 = lean_ctor_get(x_2, 4); +lean_inc(x_2876); +x_2877 = lean_ctor_get(x_2, 5); +lean_inc(x_2877); +x_2878 = lean_ctor_get(x_2, 6); +lean_inc(x_2878); +x_2879 = lean_ctor_get(x_2, 7); +lean_inc(x_2879); +x_2880 = lean_ctor_get(x_2, 8); +lean_inc(x_2880); +x_2881 = lean_ctor_get(x_2, 9); +lean_inc(x_2881); +x_2882 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2883 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); @@ -24893,556 +24895,741 @@ if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 7); lean_ctor_release(x_2, 8); lean_ctor_release(x_2, 9); - x_2938 = x_2; + x_2884 = x_2; } else { lean_dec_ref(x_2); - x_2938 = lean_box(0); + x_2884 = lean_box(0); } -x_2939 = lean_ctor_get(x_2926, 0); -lean_inc(x_2939); -x_2940 = lean_ctor_get(x_2926, 2); -lean_inc(x_2940); -x_2941 = lean_ctor_get(x_2926, 3); -lean_inc(x_2941); -x_2942 = lean_ctor_get(x_2926, 4); -lean_inc(x_2942); -if (lean_is_exclusive(x_2926)) { - lean_ctor_release(x_2926, 0); - lean_ctor_release(x_2926, 1); - lean_ctor_release(x_2926, 2); - lean_ctor_release(x_2926, 3); - lean_ctor_release(x_2926, 4); - x_2943 = x_2926; +x_2885 = lean_ctor_get(x_2872, 0); +lean_inc(x_2885); +x_2886 = lean_ctor_get(x_2872, 2); +lean_inc(x_2886); +x_2887 = lean_ctor_get(x_2872, 3); +lean_inc(x_2887); +x_2888 = lean_ctor_get(x_2872, 4); +lean_inc(x_2888); +if (lean_is_exclusive(x_2872)) { + lean_ctor_release(x_2872, 0); + lean_ctor_release(x_2872, 1); + lean_ctor_release(x_2872, 2); + lean_ctor_release(x_2872, 3); + lean_ctor_release(x_2872, 4); + x_2889 = x_2872; } else { - lean_dec_ref(x_2926); - x_2943 = lean_box(0); + lean_dec_ref(x_2872); + x_2889 = lean_box(0); } +lean_inc(x_2854); +if (lean_is_scalar(x_2889)) { + x_2890 = lean_alloc_ctor(0, 5, 0); +} else { + x_2890 = x_2889; +} +lean_ctor_set(x_2890, 0, x_2885); +lean_ctor_set(x_2890, 1, x_2854); +lean_ctor_set(x_2890, 2, x_2886); +lean_ctor_set(x_2890, 3, x_2887); +lean_ctor_set(x_2890, 4, x_2888); +if (lean_is_scalar(x_2884)) { + x_2891 = lean_alloc_ctor(0, 10, 2); +} else { + x_2891 = x_2884; +} +lean_ctor_set(x_2891, 0, x_2890); +lean_ctor_set(x_2891, 1, x_2873); +lean_ctor_set(x_2891, 2, x_2874); +lean_ctor_set(x_2891, 3, x_2875); +lean_ctor_set(x_2891, 4, x_2876); +lean_ctor_set(x_2891, 5, x_2877); +lean_ctor_set(x_2891, 6, x_2878); +lean_ctor_set(x_2891, 7, x_2879); +lean_ctor_set(x_2891, 8, x_2880); +lean_ctor_set(x_2891, 9, x_2881); +lean_ctor_set_uint8(x_2891, sizeof(void*)*10, x_2882); +lean_ctor_set_uint8(x_2891, sizeof(void*)*10 + 1, x_2883); +x_2892 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2871, x_2891, x_2859); +if (lean_obj_tag(x_2892) == 0) +{ +lean_object* x_2893; 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; +x_2893 = lean_ctor_get(x_2892, 0); +lean_inc(x_2893); +x_2894 = lean_ctor_get(x_2892, 1); +lean_inc(x_2894); +if (lean_is_exclusive(x_2892)) { + lean_ctor_release(x_2892, 0); + lean_ctor_release(x_2892, 1); + x_2895 = x_2892; +} else { + lean_dec_ref(x_2892); + x_2895 = lean_box(0); +} +x_2896 = l_Lean_mkFVar(x_2848); +x_2897 = l_Lean_mkOptionalNode___closed__2; +x_2898 = lean_array_push(x_2897, x_2896); +x_2899 = l_Lean_LocalContext_mkLambda(x_2854, x_2898, x_2893); +lean_dec(x_2893); +lean_dec(x_2898); +if (lean_is_scalar(x_2895)) { + x_2900 = lean_alloc_ctor(0, 2, 0); +} else { + x_2900 = x_2895; +} +lean_ctor_set(x_2900, 0, x_2899); +lean_ctor_set(x_2900, 1, x_2894); +return x_2900; +} +else +{ +lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; +lean_dec(x_2854); +lean_dec(x_2848); +x_2901 = lean_ctor_get(x_2892, 0); +lean_inc(x_2901); +x_2902 = lean_ctor_get(x_2892, 1); +lean_inc(x_2902); +if (lean_is_exclusive(x_2892)) { + lean_ctor_release(x_2892, 0); + lean_ctor_release(x_2892, 1); + x_2903 = x_2892; +} else { + lean_dec_ref(x_2892); + x_2903 = lean_box(0); +} +if (lean_is_scalar(x_2903)) { + x_2904 = lean_alloc_ctor(1, 2, 0); +} else { + x_2904 = x_2903; +} +lean_ctor_set(x_2904, 0, x_2901); +lean_ctor_set(x_2904, 1, x_2902); +return x_2904; +} +} +} +else +{ +lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; uint8_t 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; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; uint8_t x_2939; uint8_t 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; +x_2905 = l_Lean_Syntax_getIdAt(x_2770, x_2768); +lean_dec(x_2770); +x_2906 = l_Lean_Elab_Term_getLCtx(x_2, x_3); +x_2907 = lean_ctor_get(x_2906, 0); +lean_inc(x_2907); +x_2908 = lean_ctor_get(x_2906, 1); lean_inc(x_2908); -if (lean_is_scalar(x_2943)) { - x_2944 = lean_alloc_ctor(0, 5, 0); +lean_dec(x_2906); +x_2909 = l___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; +x_2910 = 0; +lean_inc_n(x_2905, 2); +x_2911 = lean_local_ctx_mk_local_decl(x_2907, x_2905, x_2905, x_2909, x_2910); +x_2912 = l_Array_eraseIdx___rarg(x_2764, x_2768); +x_2913 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_2908); +x_2914 = lean_ctor_get(x_2913, 1); +lean_inc(x_2914); +lean_dec(x_2913); +x_2915 = l_Lean_Elab_Term_getMainModule___rarg(x_2914); +x_2916 = lean_ctor_get(x_2915, 1); +lean_inc(x_2916); +lean_dec(x_2915); +x_2917 = lean_name_mk_string(x_2773, x_2525); +x_2918 = l_Lean_nullKind___closed__1; +x_2919 = lean_name_mk_string(x_27, x_2918); +x_2920 = l_Array_empty___closed__1; +x_2921 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2912, x_2912, x_2768, x_2920); +lean_dec(x_2912); +x_2922 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2922, 0, x_2919); +lean_ctor_set(x_2922, 1, x_2921); +x_2923 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_2924 = lean_array_push(x_2923, x_2922); +x_2925 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2926 = lean_array_push(x_2924, x_2925); +x_2927 = lean_array_push(x_2926, x_2766); +x_2928 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2928, 0, x_2917); +lean_ctor_set(x_2928, 1, x_2927); +x_2929 = lean_ctor_get(x_2, 0); +lean_inc(x_2929); +x_2930 = lean_ctor_get(x_2, 1); +lean_inc(x_2930); +x_2931 = lean_ctor_get(x_2, 2); +lean_inc(x_2931); +x_2932 = lean_ctor_get(x_2, 3); +lean_inc(x_2932); +x_2933 = lean_ctor_get(x_2, 4); +lean_inc(x_2933); +x_2934 = lean_ctor_get(x_2, 5); +lean_inc(x_2934); +x_2935 = lean_ctor_get(x_2, 6); +lean_inc(x_2935); +x_2936 = lean_ctor_get(x_2, 7); +lean_inc(x_2936); +x_2937 = lean_ctor_get(x_2, 8); +lean_inc(x_2937); +x_2938 = lean_ctor_get(x_2, 9); +lean_inc(x_2938); +x_2939 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); +x_2940 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + lean_ctor_release(x_2, 2); + lean_ctor_release(x_2, 3); + lean_ctor_release(x_2, 4); + lean_ctor_release(x_2, 5); + lean_ctor_release(x_2, 6); + lean_ctor_release(x_2, 7); + lean_ctor_release(x_2, 8); + lean_ctor_release(x_2, 9); + x_2941 = x_2; } else { - x_2944 = x_2943; + lean_dec_ref(x_2); + x_2941 = lean_box(0); } -lean_ctor_set(x_2944, 0, x_2939); -lean_ctor_set(x_2944, 1, x_2908); -lean_ctor_set(x_2944, 2, x_2940); -lean_ctor_set(x_2944, 3, x_2941); -lean_ctor_set(x_2944, 4, x_2942); -if (lean_is_scalar(x_2938)) { - x_2945 = lean_alloc_ctor(0, 10, 2); +x_2942 = lean_ctor_get(x_2929, 0); +lean_inc(x_2942); +x_2943 = lean_ctor_get(x_2929, 2); +lean_inc(x_2943); +x_2944 = lean_ctor_get(x_2929, 3); +lean_inc(x_2944); +x_2945 = lean_ctor_get(x_2929, 4); +lean_inc(x_2945); +if (lean_is_exclusive(x_2929)) { + lean_ctor_release(x_2929, 0); + lean_ctor_release(x_2929, 1); + lean_ctor_release(x_2929, 2); + lean_ctor_release(x_2929, 3); + lean_ctor_release(x_2929, 4); + x_2946 = x_2929; } else { - x_2945 = x_2938; + lean_dec_ref(x_2929); + x_2946 = lean_box(0); } -lean_ctor_set(x_2945, 0, x_2944); -lean_ctor_set(x_2945, 1, x_2927); -lean_ctor_set(x_2945, 2, x_2928); -lean_ctor_set(x_2945, 3, x_2929); -lean_ctor_set(x_2945, 4, x_2930); -lean_ctor_set(x_2945, 5, x_2931); -lean_ctor_set(x_2945, 6, x_2932); -lean_ctor_set(x_2945, 7, x_2933); -lean_ctor_set(x_2945, 8, x_2934); -lean_ctor_set(x_2945, 9, x_2935); -lean_ctor_set_uint8(x_2945, sizeof(void*)*10, x_2936); -lean_ctor_set_uint8(x_2945, sizeof(void*)*10 + 1, x_2937); -x_2946 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2925, x_2945, x_2913); -if (lean_obj_tag(x_2946) == 0) +lean_inc(x_2911); +if (lean_is_scalar(x_2946)) { + x_2947 = lean_alloc_ctor(0, 5, 0); +} else { + x_2947 = x_2946; +} +lean_ctor_set(x_2947, 0, x_2942); +lean_ctor_set(x_2947, 1, x_2911); +lean_ctor_set(x_2947, 2, x_2943); +lean_ctor_set(x_2947, 3, x_2944); +lean_ctor_set(x_2947, 4, x_2945); +if (lean_is_scalar(x_2941)) { + x_2948 = lean_alloc_ctor(0, 10, 2); +} else { + x_2948 = x_2941; +} +lean_ctor_set(x_2948, 0, x_2947); +lean_ctor_set(x_2948, 1, x_2930); +lean_ctor_set(x_2948, 2, x_2931); +lean_ctor_set(x_2948, 3, x_2932); +lean_ctor_set(x_2948, 4, x_2933); +lean_ctor_set(x_2948, 5, x_2934); +lean_ctor_set(x_2948, 6, x_2935); +lean_ctor_set(x_2948, 7, x_2936); +lean_ctor_set(x_2948, 8, x_2937); +lean_ctor_set(x_2948, 9, x_2938); +lean_ctor_set_uint8(x_2948, sizeof(void*)*10, x_2939); +lean_ctor_set_uint8(x_2948, sizeof(void*)*10 + 1, x_2940); +x_2949 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_2928, x_2948, x_2916); +if (lean_obj_tag(x_2949) == 0) { -lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; -x_2947 = lean_ctor_get(x_2946, 0); -lean_inc(x_2947); -x_2948 = lean_ctor_get(x_2946, 1); -lean_inc(x_2948); -if (lean_is_exclusive(x_2946)) { - lean_ctor_release(x_2946, 0); - lean_ctor_release(x_2946, 1); - x_2949 = x_2946; +lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; +x_2950 = lean_ctor_get(x_2949, 0); +lean_inc(x_2950); +x_2951 = lean_ctor_get(x_2949, 1); +lean_inc(x_2951); +if (lean_is_exclusive(x_2949)) { + lean_ctor_release(x_2949, 0); + lean_ctor_release(x_2949, 1); + x_2952 = x_2949; } else { - lean_dec_ref(x_2946); - x_2949 = lean_box(0); + lean_dec_ref(x_2949); + x_2952 = lean_box(0); } -x_2950 = l_Lean_mkFVar(x_2902); -x_2951 = l_Lean_mkOptionalNode___closed__2; -x_2952 = lean_array_push(x_2951, x_2950); -x_2953 = l_Lean_LocalContext_mkLambda(x_2908, x_2952, x_2947); -lean_dec(x_2947); -lean_dec(x_2952); -if (lean_is_scalar(x_2949)) { - x_2954 = lean_alloc_ctor(0, 2, 0); +x_2953 = l_Lean_mkFVar(x_2905); +x_2954 = l_Lean_mkOptionalNode___closed__2; +x_2955 = lean_array_push(x_2954, x_2953); +x_2956 = l_Lean_LocalContext_mkLambda(x_2911, x_2955, x_2950); +lean_dec(x_2950); +lean_dec(x_2955); +if (lean_is_scalar(x_2952)) { + x_2957 = lean_alloc_ctor(0, 2, 0); } else { - x_2954 = x_2949; + x_2957 = x_2952; } -lean_ctor_set(x_2954, 0, x_2953); -lean_ctor_set(x_2954, 1, x_2948); -return x_2954; +lean_ctor_set(x_2957, 0, x_2956); +lean_ctor_set(x_2957, 1, x_2951); +return x_2957; } else { -lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; lean_object* x_2958; -lean_dec(x_2908); -lean_dec(x_2902); -x_2955 = lean_ctor_get(x_2946, 0); -lean_inc(x_2955); -x_2956 = lean_ctor_get(x_2946, 1); -lean_inc(x_2956); -if (lean_is_exclusive(x_2946)) { - lean_ctor_release(x_2946, 0); - lean_ctor_release(x_2946, 1); - x_2957 = x_2946; +lean_object* x_2958; lean_object* x_2959; lean_object* x_2960; lean_object* x_2961; +lean_dec(x_2911); +lean_dec(x_2905); +x_2958 = lean_ctor_get(x_2949, 0); +lean_inc(x_2958); +x_2959 = lean_ctor_get(x_2949, 1); +lean_inc(x_2959); +if (lean_is_exclusive(x_2949)) { + lean_ctor_release(x_2949, 0); + lean_ctor_release(x_2949, 1); + x_2960 = x_2949; } else { - lean_dec_ref(x_2946); - x_2957 = lean_box(0); + lean_dec_ref(x_2949); + x_2960 = lean_box(0); } -if (lean_is_scalar(x_2957)) { - x_2958 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2960)) { + x_2961 = lean_alloc_ctor(1, 2, 0); } else { - x_2958 = x_2957; + x_2961 = x_2960; } -lean_ctor_set(x_2958, 0, x_2955); -lean_ctor_set(x_2958, 1, x_2956); -return x_2958; +lean_ctor_set(x_2961, 0, x_2958); +lean_ctor_set(x_2961, 1, x_2959); +return x_2961; } } } else { -lean_dec(x_2761); -x_1 = x_2763; +lean_dec(x_2764); +x_1 = x_2766; goto _start; } } } else { -lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; -lean_dec(x_2504); -lean_dec(x_2500); -lean_dec(x_2497); -lean_dec(x_119); -x_2960 = l_Lean_Syntax_inhabited; -x_2961 = lean_unsigned_to_nat(0u); -x_2962 = lean_array_get(x_2960, x_4, x_2961); +lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; +lean_dec(x_2496); +lean_dec(x_2492); +lean_dec(x_2489); +lean_dec(x_28); +x_2963 = l_Lean_Syntax_inhabited; +x_2964 = lean_unsigned_to_nat(0u); +x_2965 = lean_array_get(x_2963, x_4, x_2964); lean_dec(x_4); -if (lean_obj_tag(x_2962) == 3) +if (lean_obj_tag(x_2965) == 3) { -lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; -x_2963 = lean_ctor_get(x_2962, 2); -lean_inc(x_2963); -x_2964 = lean_ctor_get(x_2962, 3); -lean_inc(x_2964); -lean_dec(x_2962); -x_2965 = lean_box(0); -lean_inc(x_2); -x_2966 = l_Lean_Elab_Term_resolveName(x_1, x_2963, x_2964, x_2965, x_2, x_3); -lean_dec(x_1); -if (lean_obj_tag(x_2966) == 0) -{ -lean_object* x_2967; -x_2967 = lean_ctor_get(x_2966, 0); +lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; +x_2966 = lean_ctor_get(x_2965, 2); +lean_inc(x_2966); +x_2967 = lean_ctor_get(x_2965, 3); lean_inc(x_2967); -if (lean_obj_tag(x_2967) == 0) +lean_dec(x_2965); +x_2968 = lean_box(0); +lean_inc(x_2); +x_2969 = l_Lean_Elab_Term_resolveName(x_1, x_2966, x_2967, x_2968, x_2, x_3); +lean_dec(x_1); +if (lean_obj_tag(x_2969) == 0) { -lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; -x_2968 = lean_ctor_get(x_2966, 1); -lean_inc(x_2968); -lean_dec(x_2966); -x_2969 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_2970 = l_unreachable_x21___rarg(x_2969); -x_2971 = lean_apply_2(x_2970, x_2, x_2968); -return x_2971; +lean_object* x_2970; +x_2970 = lean_ctor_get(x_2969, 0); +lean_inc(x_2970); +if (lean_obj_tag(x_2970) == 0) +{ +lean_object* x_2971; lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; +x_2971 = lean_ctor_get(x_2969, 1); +lean_inc(x_2971); +lean_dec(x_2969); +x_2972 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_2973 = l_unreachable_x21___rarg(x_2972); +x_2974 = lean_apply_2(x_2973, x_2, x_2971); +return x_2974; } else { -lean_object* x_2972; lean_object* x_2973; +lean_object* x_2975; lean_object* x_2976; lean_dec(x_2); -x_2972 = lean_ctor_get(x_2967, 0); -lean_inc(x_2972); -lean_dec(x_2967); -x_2973 = lean_ctor_get(x_2972, 0); -lean_inc(x_2973); -switch (lean_obj_tag(x_2973)) { +x_2975 = lean_ctor_get(x_2970, 0); +lean_inc(x_2975); +lean_dec(x_2970); +x_2976 = lean_ctor_get(x_2975, 0); +lean_inc(x_2976); +switch (lean_obj_tag(x_2976)) { case 0: { -lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; -x_2974 = lean_ctor_get(x_2966, 1); -lean_inc(x_2974); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_2975 = x_2966; +lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; +x_2977 = lean_ctor_get(x_2969, 1); +lean_inc(x_2977); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_2978 = x_2969; } else { - lean_dec_ref(x_2966); - x_2975 = lean_box(0); + lean_dec_ref(x_2969); + x_2978 = lean_box(0); } -x_2976 = lean_ctor_get(x_2972, 1); -lean_inc(x_2976); -lean_dec(x_2972); -x_2977 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_118, x_2973, x_2976); -if (lean_is_scalar(x_2975)) { - x_2978 = lean_alloc_ctor(0, 2, 0); +x_2979 = lean_ctor_get(x_2975, 1); +lean_inc(x_2979); +lean_dec(x_2975); +x_2980 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__2(x_27, x_2976, x_2979); +if (lean_is_scalar(x_2978)) { + x_2981 = lean_alloc_ctor(0, 2, 0); } else { - x_2978 = x_2975; + x_2981 = x_2978; } -lean_ctor_set(x_2978, 0, x_2977); -lean_ctor_set(x_2978, 1, x_2974); -return x_2978; +lean_ctor_set(x_2981, 0, x_2980); +lean_ctor_set(x_2981, 1, x_2977); +return x_2981; } case 1: { -lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; -x_2979 = lean_ctor_get(x_2966, 1); -lean_inc(x_2979); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_2980 = x_2966; +lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; +x_2982 = lean_ctor_get(x_2969, 1); +lean_inc(x_2982); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_2983 = x_2969; } else { - lean_dec_ref(x_2966); - x_2980 = lean_box(0); + lean_dec_ref(x_2969); + x_2983 = lean_box(0); } -x_2981 = lean_ctor_get(x_2972, 1); -lean_inc(x_2981); -lean_dec(x_2972); -x_2982 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_118, x_2973, x_2981); -if (lean_is_scalar(x_2980)) { - x_2983 = lean_alloc_ctor(0, 2, 0); +x_2984 = lean_ctor_get(x_2975, 1); +lean_inc(x_2984); +lean_dec(x_2975); +x_2985 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__3(x_27, x_2976, x_2984); +if (lean_is_scalar(x_2983)) { + x_2986 = lean_alloc_ctor(0, 2, 0); } else { - x_2983 = x_2980; + x_2986 = x_2983; } -lean_ctor_set(x_2983, 0, x_2982); -lean_ctor_set(x_2983, 1, x_2979); -return x_2983; +lean_ctor_set(x_2986, 0, x_2985); +lean_ctor_set(x_2986, 1, x_2982); +return x_2986; } case 2: { -lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; -x_2984 = lean_ctor_get(x_2966, 1); -lean_inc(x_2984); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_2985 = x_2966; +lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; +x_2987 = lean_ctor_get(x_2969, 1); +lean_inc(x_2987); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_2988 = x_2969; } else { - lean_dec_ref(x_2966); - x_2985 = lean_box(0); + lean_dec_ref(x_2969); + x_2988 = lean_box(0); } -x_2986 = lean_ctor_get(x_2972, 1); -lean_inc(x_2986); -lean_dec(x_2972); -x_2987 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_118, x_2973, x_2986); -if (lean_is_scalar(x_2985)) { - x_2988 = lean_alloc_ctor(0, 2, 0); +x_2989 = lean_ctor_get(x_2975, 1); +lean_inc(x_2989); +lean_dec(x_2975); +x_2990 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__4(x_27, x_2976, x_2989); +if (lean_is_scalar(x_2988)) { + x_2991 = lean_alloc_ctor(0, 2, 0); } else { - x_2988 = x_2985; + x_2991 = x_2988; } -lean_ctor_set(x_2988, 0, x_2987); -lean_ctor_set(x_2988, 1, x_2984); -return x_2988; +lean_ctor_set(x_2991, 0, x_2990); +lean_ctor_set(x_2991, 1, x_2987); +return x_2991; } case 3: { -lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; -x_2989 = lean_ctor_get(x_2966, 1); -lean_inc(x_2989); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_2990 = x_2966; +lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; +x_2992 = lean_ctor_get(x_2969, 1); +lean_inc(x_2992); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_2993 = x_2969; } else { - lean_dec_ref(x_2966); - x_2990 = lean_box(0); + lean_dec_ref(x_2969); + x_2993 = lean_box(0); } -x_2991 = lean_ctor_get(x_2972, 1); -lean_inc(x_2991); -lean_dec(x_2972); -x_2992 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_118, x_2973, x_2991); -if (lean_is_scalar(x_2990)) { - x_2993 = lean_alloc_ctor(0, 2, 0); +x_2994 = lean_ctor_get(x_2975, 1); +lean_inc(x_2994); +lean_dec(x_2975); +x_2995 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(x_27, x_2976, x_2994); +if (lean_is_scalar(x_2993)) { + x_2996 = lean_alloc_ctor(0, 2, 0); } else { - x_2993 = x_2990; + x_2996 = x_2993; } -lean_ctor_set(x_2993, 0, x_2992); -lean_ctor_set(x_2993, 1, x_2989); -return x_2993; +lean_ctor_set(x_2996, 0, x_2995); +lean_ctor_set(x_2996, 1, x_2992); +return x_2996; } case 4: { -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; -x_2994 = lean_ctor_get(x_2966, 1); -lean_inc(x_2994); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_2995 = x_2966; -} else { - lean_dec_ref(x_2966); - x_2995 = lean_box(0); -} -x_2996 = lean_ctor_get(x_2972, 1); -lean_inc(x_2996); -lean_dec(x_2972); -x_2997 = lean_ctor_get(x_2973, 0); +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; +x_2997 = lean_ctor_get(x_2969, 1); lean_inc(x_2997); -lean_dec(x_2973); -x_2998 = l_Lean_mkConst(x_2997, x_2965); -x_2999 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_118, x_2998, x_2996); -if (lean_is_scalar(x_2995)) { - x_3000 = lean_alloc_ctor(0, 2, 0); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_2998 = x_2969; } else { - x_3000 = x_2995; + lean_dec_ref(x_2969); + x_2998 = lean_box(0); } -lean_ctor_set(x_3000, 0, x_2999); -lean_ctor_set(x_3000, 1, x_2994); -return x_3000; +x_2999 = lean_ctor_get(x_2975, 1); +lean_inc(x_2999); +lean_dec(x_2975); +x_3000 = lean_ctor_get(x_2976, 0); +lean_inc(x_3000); +lean_dec(x_2976); +x_3001 = l_Lean_mkConst(x_3000, x_2968); +x_3002 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__6(x_27, x_3001, x_2999); +if (lean_is_scalar(x_2998)) { + x_3003 = lean_alloc_ctor(0, 2, 0); +} else { + x_3003 = x_2998; +} +lean_ctor_set(x_3003, 0, x_3002); +lean_ctor_set(x_3003, 1, x_2997); +return x_3003; } case 5: { -lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; -x_3001 = lean_ctor_get(x_2966, 1); -lean_inc(x_3001); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3002 = x_2966; +lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; +x_3004 = lean_ctor_get(x_2969, 1); +lean_inc(x_3004); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3005 = x_2969; } else { - lean_dec_ref(x_2966); - x_3002 = lean_box(0); + lean_dec_ref(x_2969); + x_3005 = lean_box(0); } -x_3003 = lean_ctor_get(x_2972, 1); -lean_inc(x_3003); -lean_dec(x_2972); -x_3004 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_118, x_2973, x_3003); -if (lean_is_scalar(x_3002)) { - x_3005 = lean_alloc_ctor(0, 2, 0); +x_3006 = lean_ctor_get(x_2975, 1); +lean_inc(x_3006); +lean_dec(x_2975); +x_3007 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__7(x_27, x_2976, x_3006); +if (lean_is_scalar(x_3005)) { + x_3008 = lean_alloc_ctor(0, 2, 0); } else { - x_3005 = x_3002; + x_3008 = x_3005; } -lean_ctor_set(x_3005, 0, x_3004); -lean_ctor_set(x_3005, 1, x_3001); -return x_3005; +lean_ctor_set(x_3008, 0, x_3007); +lean_ctor_set(x_3008, 1, x_3004); +return x_3008; } case 6: { -lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; -x_3006 = lean_ctor_get(x_2966, 1); -lean_inc(x_3006); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3007 = x_2966; +lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; +x_3009 = lean_ctor_get(x_2969, 1); +lean_inc(x_3009); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3010 = x_2969; } else { - lean_dec_ref(x_2966); - x_3007 = lean_box(0); + lean_dec_ref(x_2969); + x_3010 = lean_box(0); } -x_3008 = lean_ctor_get(x_2972, 1); -lean_inc(x_3008); -lean_dec(x_2972); -x_3009 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_118, x_2973, x_3008); -if (lean_is_scalar(x_3007)) { - x_3010 = lean_alloc_ctor(0, 2, 0); +x_3011 = lean_ctor_get(x_2975, 1); +lean_inc(x_3011); +lean_dec(x_2975); +x_3012 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(x_27, x_2976, x_3011); +if (lean_is_scalar(x_3010)) { + x_3013 = lean_alloc_ctor(0, 2, 0); } else { - x_3010 = x_3007; + x_3013 = x_3010; } -lean_ctor_set(x_3010, 0, x_3009); -lean_ctor_set(x_3010, 1, x_3006); -return x_3010; +lean_ctor_set(x_3013, 0, x_3012); +lean_ctor_set(x_3013, 1, x_3009); +return x_3013; } case 7: { -lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; -x_3011 = lean_ctor_get(x_2966, 1); -lean_inc(x_3011); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3012 = x_2966; +lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; +x_3014 = lean_ctor_get(x_2969, 1); +lean_inc(x_3014); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3015 = x_2969; } else { - lean_dec_ref(x_2966); - x_3012 = lean_box(0); + lean_dec_ref(x_2969); + x_3015 = lean_box(0); } -x_3013 = lean_ctor_get(x_2972, 1); -lean_inc(x_3013); -lean_dec(x_2972); -x_3014 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_118, x_2973, x_3013); -if (lean_is_scalar(x_3012)) { - x_3015 = lean_alloc_ctor(0, 2, 0); +x_3016 = lean_ctor_get(x_2975, 1); +lean_inc(x_3016); +lean_dec(x_2975); +x_3017 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__9(x_27, x_2976, x_3016); +if (lean_is_scalar(x_3015)) { + x_3018 = lean_alloc_ctor(0, 2, 0); } else { - x_3015 = x_3012; + x_3018 = x_3015; } -lean_ctor_set(x_3015, 0, x_3014); -lean_ctor_set(x_3015, 1, x_3011); -return x_3015; +lean_ctor_set(x_3018, 0, x_3017); +lean_ctor_set(x_3018, 1, x_3014); +return x_3018; } case 8: { -lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; -x_3016 = lean_ctor_get(x_2966, 1); -lean_inc(x_3016); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3017 = x_2966; +lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; +x_3019 = lean_ctor_get(x_2969, 1); +lean_inc(x_3019); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3020 = x_2969; } else { - lean_dec_ref(x_2966); - x_3017 = lean_box(0); + lean_dec_ref(x_2969); + x_3020 = lean_box(0); } -x_3018 = lean_ctor_get(x_2972, 1); -lean_inc(x_3018); -lean_dec(x_2972); -x_3019 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_118, x_2973, x_3018); -if (lean_is_scalar(x_3017)) { - x_3020 = lean_alloc_ctor(0, 2, 0); +x_3021 = lean_ctor_get(x_2975, 1); +lean_inc(x_3021); +lean_dec(x_2975); +x_3022 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__10(x_27, x_2976, x_3021); +if (lean_is_scalar(x_3020)) { + x_3023 = lean_alloc_ctor(0, 2, 0); } else { - x_3020 = x_3017; + x_3023 = x_3020; } -lean_ctor_set(x_3020, 0, x_3019); -lean_ctor_set(x_3020, 1, x_3016); -return x_3020; +lean_ctor_set(x_3023, 0, x_3022); +lean_ctor_set(x_3023, 1, x_3019); +return x_3023; } case 9: { -lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; -x_3021 = lean_ctor_get(x_2966, 1); -lean_inc(x_3021); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3022 = x_2966; +lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; +x_3024 = lean_ctor_get(x_2969, 1); +lean_inc(x_3024); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3025 = x_2969; } else { - lean_dec_ref(x_2966); - x_3022 = lean_box(0); + lean_dec_ref(x_2969); + x_3025 = lean_box(0); } -x_3023 = lean_ctor_get(x_2972, 1); -lean_inc(x_3023); -lean_dec(x_2972); -x_3024 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_118, x_2973, x_3023); -if (lean_is_scalar(x_3022)) { - x_3025 = lean_alloc_ctor(0, 2, 0); +x_3026 = lean_ctor_get(x_2975, 1); +lean_inc(x_3026); +lean_dec(x_2975); +x_3027 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__11(x_27, x_2976, x_3026); +if (lean_is_scalar(x_3025)) { + x_3028 = lean_alloc_ctor(0, 2, 0); } else { - x_3025 = x_3022; + x_3028 = x_3025; } -lean_ctor_set(x_3025, 0, x_3024); -lean_ctor_set(x_3025, 1, x_3021); -return x_3025; +lean_ctor_set(x_3028, 0, x_3027); +lean_ctor_set(x_3028, 1, x_3024); +return x_3028; } case 10: { -lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; -x_3026 = lean_ctor_get(x_2966, 1); -lean_inc(x_3026); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3027 = x_2966; +lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; +x_3029 = lean_ctor_get(x_2969, 1); +lean_inc(x_3029); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3030 = x_2969; } else { - lean_dec_ref(x_2966); - x_3027 = lean_box(0); + lean_dec_ref(x_2969); + x_3030 = lean_box(0); } -x_3028 = lean_ctor_get(x_2972, 1); -lean_inc(x_3028); -lean_dec(x_2972); -x_3029 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_118, x_2973, x_3028); -if (lean_is_scalar(x_3027)) { - x_3030 = lean_alloc_ctor(0, 2, 0); +x_3031 = lean_ctor_get(x_2975, 1); +lean_inc(x_3031); +lean_dec(x_2975); +x_3032 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__12(x_27, x_2976, x_3031); +if (lean_is_scalar(x_3030)) { + x_3033 = lean_alloc_ctor(0, 2, 0); } else { - x_3030 = x_3027; + x_3033 = x_3030; } -lean_ctor_set(x_3030, 0, x_3029); -lean_ctor_set(x_3030, 1, x_3026); -return x_3030; +lean_ctor_set(x_3033, 0, x_3032); +lean_ctor_set(x_3033, 1, x_3029); +return x_3033; } case 11: { -lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; -x_3031 = lean_ctor_get(x_2966, 1); -lean_inc(x_3031); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3032 = x_2966; +lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; +x_3034 = lean_ctor_get(x_2969, 1); +lean_inc(x_3034); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3035 = x_2969; } else { - lean_dec_ref(x_2966); - x_3032 = lean_box(0); + lean_dec_ref(x_2969); + x_3035 = lean_box(0); } -x_3033 = lean_ctor_get(x_2972, 1); -lean_inc(x_3033); -lean_dec(x_2972); -x_3034 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_118, x_2973, x_3033); -if (lean_is_scalar(x_3032)) { - x_3035 = lean_alloc_ctor(0, 2, 0); +x_3036 = lean_ctor_get(x_2975, 1); +lean_inc(x_3036); +lean_dec(x_2975); +x_3037 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__13(x_27, x_2976, x_3036); +if (lean_is_scalar(x_3035)) { + x_3038 = lean_alloc_ctor(0, 2, 0); } else { - x_3035 = x_3032; + x_3038 = x_3035; } -lean_ctor_set(x_3035, 0, x_3034); -lean_ctor_set(x_3035, 1, x_3031); -return x_3035; +lean_ctor_set(x_3038, 0, x_3037); +lean_ctor_set(x_3038, 1, x_3034); +return x_3038; } default: { -lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; -x_3036 = lean_ctor_get(x_2966, 1); -lean_inc(x_3036); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3037 = x_2966; +lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; +x_3039 = lean_ctor_get(x_2969, 1); +lean_inc(x_3039); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3040 = x_2969; } else { - lean_dec_ref(x_2966); - x_3037 = lean_box(0); + lean_dec_ref(x_2969); + x_3040 = lean_box(0); } -x_3038 = lean_ctor_get(x_2972, 1); -lean_inc(x_3038); -lean_dec(x_2972); -x_3039 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_118, x_2973, x_3038); -if (lean_is_scalar(x_3037)) { - x_3040 = lean_alloc_ctor(0, 2, 0); -} else { - x_3040 = x_3037; -} -lean_ctor_set(x_3040, 0, x_3039); -lean_ctor_set(x_3040, 1, x_3036); -return x_3040; -} -} -} -} -else -{ -lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; -lean_dec(x_2); -x_3041 = lean_ctor_get(x_2966, 0); +x_3041 = lean_ctor_get(x_2975, 1); lean_inc(x_3041); -x_3042 = lean_ctor_get(x_2966, 1); -lean_inc(x_3042); -if (lean_is_exclusive(x_2966)) { - lean_ctor_release(x_2966, 0); - lean_ctor_release(x_2966, 1); - x_3043 = x_2966; +lean_dec(x_2975); +x_3042 = l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__14(x_27, x_2976, x_3041); +if (lean_is_scalar(x_3040)) { + x_3043 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_2966); - x_3043 = lean_box(0); + x_3043 = x_3040; +} +lean_ctor_set(x_3043, 0, x_3042); +lean_ctor_set(x_3043, 1, x_3039); +return x_3043; } -if (lean_is_scalar(x_3043)) { - x_3044 = lean_alloc_ctor(1, 2, 0); -} else { - x_3044 = x_3043; } -lean_ctor_set(x_3044, 0, x_3041); -lean_ctor_set(x_3044, 1, x_3042); -return x_3044; } } else { -lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; -lean_dec(x_2962); -lean_dec(x_1); -x_3045 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_3046 = l_unreachable_x21___rarg(x_3045); -x_3047 = lean_apply_2(x_3046, x_2, x_3); +lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; +lean_dec(x_2); +x_3044 = lean_ctor_get(x_2969, 0); +lean_inc(x_3044); +x_3045 = lean_ctor_get(x_2969, 1); +lean_inc(x_3045); +if (lean_is_exclusive(x_2969)) { + lean_ctor_release(x_2969, 0); + lean_ctor_release(x_2969, 1); + x_3046 = x_2969; +} else { + lean_dec_ref(x_2969); + x_3046 = lean_box(0); +} +if (lean_is_scalar(x_3046)) { + x_3047 = lean_alloc_ctor(1, 2, 0); +} else { + x_3047 = x_3046; +} +lean_ctor_set(x_3047, 0, x_3044); +lean_ctor_set(x_3047, 1, x_3045); return x_3047; } } +else +{ +lean_object* x_3048; lean_object* x_3049; lean_object* x_3050; +lean_dec(x_2965); +lean_dec(x_1); +x_3048 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_3049 = l_unreachable_x21___rarg(x_3048); +x_3050 = lean_apply_2(x_3049, x_2, x_3); +return x_3050; +} +} } } } @@ -25450,416 +25637,76 @@ return x_3047; } else { -lean_object* x_3048; -lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_116); -lean_dec(x_106); -lean_dec(x_4); -x_3048 = lean_box(0); -x_97 = x_3048; -goto block_105; -} -} -else -{ -lean_object* x_3049; -lean_dec(x_117); -lean_dec(x_116); -lean_dec(x_106); -lean_dec(x_4); -x_3049 = lean_box(0); -x_97 = x_3049; -goto block_105; -} -} -else -{ -lean_object* x_3050; -lean_dec(x_116); -lean_dec(x_106); -lean_dec(x_4); -x_3050 = lean_box(0); -x_97 = x_3050; -goto block_105; -} -} -default: -{ lean_object* x_3051; -lean_dec(x_106); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_15); lean_dec(x_4); x_3051 = lean_box(0); -x_97 = x_3051; -goto block_105; -} +x_6 = x_3051; +goto block_14; } } else { lean_object* x_3052; +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_15); lean_dec(x_4); x_3052 = lean_box(0); -x_97 = x_3052; -goto block_105; +x_6 = x_3052; +goto block_14; } -block_95: +} +else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -lean_inc(x_2); -x_8 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_7, x_2, x_3); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; 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; lean_object* x_18; uint8_t x_19; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_Elab_Term_getLCtx(x_2, x_10); -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___private_Init_Lean_Elab_Quotation_12__exprPlaceholder; -lean_inc_n(x_6, 2); -x_15 = lean_local_ctx_mk_let_decl(x_12, x_6, x_6, x_14, x_9); -x_16 = l_Lean_Syntax_inhabited; -x_17 = lean_unsigned_to_nat(3u); -x_18 = lean_array_get(x_16, x_4, x_17); -lean_dec(x_4); -x_19 = !lean_is_exclusive(x_2); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_2, 0); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 1); -lean_dec(x_22); -lean_inc(x_15); -lean_ctor_set(x_20, 1, x_15); -x_23 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_18, x_2, x_13); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_23, 0); -x_26 = l_Lean_mkFVar(x_6); -x_27 = l_Lean_mkOptionalNode___closed__2; -x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_LocalContext_mkLambda(x_15, x_28, x_25); +lean_object* x_3053; lean_dec(x_25); -lean_dec(x_28); -lean_ctor_set(x_23, 0, x_29); -return x_23; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_30 = lean_ctor_get(x_23, 0); -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_23); -x_32 = l_Lean_mkFVar(x_6); -x_33 = l_Lean_mkOptionalNode___closed__2; -x_34 = lean_array_push(x_33, x_32); -x_35 = l_Lean_LocalContext_mkLambda(x_15, x_34, x_30); -lean_dec(x_30); -lean_dec(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_31); -return x_36; -} -} -else -{ -uint8_t x_37; lean_dec(x_15); -lean_dec(x_6); -x_37 = !lean_is_exclusive(x_23); -if (x_37 == 0) -{ -return x_23; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_23, 0); -x_39 = lean_ctor_get(x_23, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_23); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_ctor_get(x_20, 0); -x_42 = lean_ctor_get(x_20, 2); -x_43 = lean_ctor_get(x_20, 3); -x_44 = lean_ctor_get(x_20, 4); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_20); -lean_inc(x_15); -x_45 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_45, 0, x_41); -lean_ctor_set(x_45, 1, x_15); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -lean_ctor_set(x_45, 4, x_44); -lean_ctor_set(x_2, 0, x_45); -x_46 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_18, x_2, x_13); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_49 = x_46; -} else { - lean_dec_ref(x_46); - x_49 = lean_box(0); -} -x_50 = l_Lean_mkFVar(x_6); -x_51 = l_Lean_mkOptionalNode___closed__2; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_LocalContext_mkLambda(x_15, x_52, x_47); -lean_dec(x_47); -lean_dec(x_52); -if (lean_is_scalar(x_49)) { - x_54 = lean_alloc_ctor(0, 2, 0); -} else { - x_54 = x_49; -} -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_48); -return x_54; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_15); -lean_dec(x_6); -x_55 = lean_ctor_get(x_46, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_46, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_46)) { - lean_ctor_release(x_46, 0); - lean_ctor_release(x_46, 1); - x_57 = x_46; -} else { - lean_dec_ref(x_46); - x_57 = lean_box(0); -} -if (lean_is_scalar(x_57)) { - x_58 = lean_alloc_ctor(1, 2, 0); -} else { - x_58 = x_57; -} -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_56); -return x_58; -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; uint8_t 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; -x_59 = lean_ctor_get(x_2, 0); -x_60 = lean_ctor_get(x_2, 1); -x_61 = lean_ctor_get(x_2, 2); -x_62 = lean_ctor_get(x_2, 3); -x_63 = lean_ctor_get(x_2, 4); -x_64 = lean_ctor_get(x_2, 5); -x_65 = lean_ctor_get(x_2, 6); -x_66 = lean_ctor_get(x_2, 7); -x_67 = lean_ctor_get(x_2, 8); -x_68 = lean_ctor_get(x_2, 9); -x_69 = lean_ctor_get_uint8(x_2, sizeof(void*)*10); -x_70 = lean_ctor_get_uint8(x_2, sizeof(void*)*10 + 1); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_2); -x_71 = lean_ctor_get(x_59, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_59, 2); -lean_inc(x_72); -x_73 = lean_ctor_get(x_59, 3); -lean_inc(x_73); -x_74 = lean_ctor_get(x_59, 4); -lean_inc(x_74); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - lean_ctor_release(x_59, 2); - lean_ctor_release(x_59, 3); - lean_ctor_release(x_59, 4); - x_75 = x_59; -} else { - lean_dec_ref(x_59); - x_75 = lean_box(0); -} -lean_inc(x_15); -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(0, 5, 0); -} else { - x_76 = x_75; -} -lean_ctor_set(x_76, 0, x_71); -lean_ctor_set(x_76, 1, x_15); -lean_ctor_set(x_76, 2, x_72); -lean_ctor_set(x_76, 3, x_73); -lean_ctor_set(x_76, 4, x_74); -x_77 = lean_alloc_ctor(0, 10, 2); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_60); -lean_ctor_set(x_77, 2, x_61); -lean_ctor_set(x_77, 3, x_62); -lean_ctor_set(x_77, 4, x_63); -lean_ctor_set(x_77, 5, x_64); -lean_ctor_set(x_77, 6, x_65); -lean_ctor_set(x_77, 7, x_66); -lean_ctor_set(x_77, 8, x_67); -lean_ctor_set(x_77, 9, x_68); -lean_ctor_set_uint8(x_77, sizeof(void*)*10, x_69); -lean_ctor_set_uint8(x_77, sizeof(void*)*10 + 1, x_70); -x_78 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main(x_18, x_77, x_13); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_81 = x_78; -} else { - lean_dec_ref(x_78); - x_81 = lean_box(0); -} -x_82 = l_Lean_mkFVar(x_6); -x_83 = l_Lean_mkOptionalNode___closed__2; -x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_LocalContext_mkLambda(x_15, x_84, x_79); -lean_dec(x_79); -lean_dec(x_84); -if (lean_is_scalar(x_81)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_81; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_80); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_15); -lean_dec(x_6); -x_87 = lean_ctor_get(x_78, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_78, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_89 = x_78; -} else { - lean_dec_ref(x_78); - x_89 = lean_box(0); -} -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(1, 2, 0); -} else { - x_90 = x_89; -} -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -return x_90; -} -} -} -else -{ -uint8_t x_91; -lean_dec(x_6); lean_dec(x_4); -lean_dec(x_2); -x_91 = !lean_is_exclusive(x_8); -if (x_91 == 0) +x_3053 = lean_box(0); +x_6 = x_3053; +goto block_14; +} +} +default: { -return x_8; +lean_object* x_3054; +lean_dec(x_15); +lean_dec(x_4); +x_3054 = lean_box(0); +x_6 = x_3054; +goto block_14; +} +} } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_8, 0); -x_93 = lean_ctor_get(x_8, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_8); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_object* x_3055; +lean_dec(x_4); +x_3055 = lean_box(0); +x_6 = x_3055; +goto block_14; } -} -} -block_105: +block_14: { -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_dec(x_97); -x_98 = l_System_FilePath_dirName___closed__1; -x_99 = l_Lean_Name_toStringWithSep___main(x_98, x_96); -x_100 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_101 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_102 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; -x_103 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = l_Lean_Elab_Term_throwError___rarg(x_1, x_103, x_2, x_3); +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; +lean_dec(x_6); +x_7 = l_System_FilePath_dirName___closed__1; +x_8 = l_Lean_Name_toStringWithSep___main(x_7, x_5); +x_9 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__3; +x_12 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = l_Lean_Elab_Term_throwError___rarg(x_1, x_12, x_2, x_3); lean_dec(x_1); -return x_104; +return x_13; } } } @@ -26955,12 +26802,6 @@ l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__8 = _init_l_ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__8); l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__9); -l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__10); -l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__11); -l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___closed__12); l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1 = _init_l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_Quotation_oldParseExpr___closed__1); l___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_14__oldRunTermElabM___rarg___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 3c8a72436e..2967dbf78e 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -15,13 +15,14 @@ extern "C" { #endif lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__45; lean_object* l_Lean_Elab_Command_elabSyntax___closed__11; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__95; extern lean_object* l_Lean_Parser_Syntax_many___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; extern lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__3___closed__3; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; lean_object* l___private_Init_Lean_Elab_Syntax_4__withFirst(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__2; lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__4(lean_object*, lean_object*, lean_object*); @@ -32,7 +33,6 @@ lean_object* l_Lean_Elab_Command_expandNotation___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__116; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__12; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7; lean_object* l_Lean_Name_eraseMacroScopes(lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_4__withFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); @@ -44,8 +44,11 @@ extern lean_object* l_Lean_Macro_throwUnsupported___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___closed__19; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__128; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__58; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__18; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__114; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve(lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__1; @@ -59,10 +62,14 @@ 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_Lean_Elab_Command_elabMacroRulesAux___closed__14; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; 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; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__36; extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; extern lean_object* l_Lean_Elab_registerBuiltinMacroAttr___lambda__1___closed__5; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_many1___elambda__1___closed__2; @@ -72,13 +79,13 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__104; 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* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; 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; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__13; extern lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; lean_object* l_Lean_Elab_Command_elabSyntax___closed__7; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; @@ -95,7 +102,6 @@ lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__ant lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__8; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; extern lean_object* l_Lean_Parser_Command_declaration___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21; extern lean_object* l_Lean_Parser_Level_num___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__19; lean_object* l_Lean_Elab_Command_strLitPrecToPattern___boxed(lean_object*, lean_object*); @@ -116,25 +122,29 @@ lean_object* l_Lean_Elab_Command_strLitPrecToPattern(lean_object*, lean_object*) lean_object* l___private_Init_Lean_Elab_Syntax_8__regTraceClasses(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__20; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__81; lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__124; extern lean_object* l_Lean_Parser_Syntax_ident___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__73; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__98; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__25; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_mkAtom(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__20; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__10; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__32; lean_object* l_Lean_Elab_Command_elabSyntax___closed__10; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__36; extern lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__43; @@ -143,6 +153,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__120; extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* l_Lean_Elab_Command_elabMixfix___boxed(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandNotation___spec__4___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__37; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__5; lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___boxed(lean_object*, lean_object*, lean_object*); @@ -155,12 +166,10 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__123; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__30; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6; lean_object* l_Lean_Elab_addBuiltinMacro(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_leadingIdentAsSymbol(lean_object*, lean_object*); extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__16; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23; extern lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__49; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__105; @@ -179,8 +188,6 @@ lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_o 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*); 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; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMixfix___rarg(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__127; @@ -198,8 +205,8 @@ lean_object* l_Lean_Elab_Command_expandNotation___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__87; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__68; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandNotation___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13; lean_object* l_Lean_Elab_Command_elabSyntax___closed__6; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); @@ -215,7 +222,6 @@ extern lean_object* l_Lean_Parser_Command_def___elambda__1___closed__2; lean_object* l_Lean_Macro_addMacroScope(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; extern lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__129; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); @@ -225,16 +231,19 @@ extern lean_object* l_Lean_Parser_Command_def___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_3__markAsTrailingParser(lean_object*, uint8_t, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__1; +extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__4; lean_object* l___private_Init_Lean_Elab_Syntax_5__withNoPushLeading___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31; lean_object* l___regBuiltinMacro_Lean_Elab_Command_expandNotation___closed__1; extern lean_object* l_Lean_Parser_unquotedSymbolFn___rarg___closed__1; lean_object* l_Array_filterAux___main___at_Lean_Elab_Command_expandNotation___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__56; @@ -255,17 +264,17 @@ extern lean_object* l_Lean_Parser_termParser___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__7; +extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__33; lean_object* l_Lean_Elab_Command_elabSyntax___closed__22; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25; lean_object* l_Lean_Elab_Command_expandNotation___closed__3; extern lean_object* l___regBuiltinParser_Lean_Parser_Command_antiquot___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__1; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__91; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__78; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__22; lean_object* l_Lean_Elab_Command_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -283,7 +292,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__89; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__47; lean_object* l_Lean_Elab_Term_toParserDescrAux___main(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___closed__5; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___closed__3; extern lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__1; uint8_t l_coeDecidableEq(uint8_t); @@ -299,12 +307,10 @@ extern lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__86; extern lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27; lean_object* l_Lean_Elab_Command_mkKindName___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__25; lean_object* l_Lean_Elab_Command_elabSyntax___closed__3; extern lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9; lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__6(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_3__markAsTrailingParser___rarg(lean_object*); @@ -313,12 +319,13 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__52; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax(lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__34; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; extern lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandNotation___closed__7; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__117; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__77; @@ -329,7 +336,6 @@ extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__1; lean_object* l_ReaderT_bind___at___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix___closed__3; lean_object* l_Lean_Syntax_getHeadInfo___main(lean_object*); @@ -344,14 +350,11 @@ uint8_t l_Lean_Name_hasMacroScopes___main(lean_object*); lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__63; lean_object* l_Lean_Elab_Command_elabSyntax___closed__9; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17; extern lean_object* l_Lean_Parser_Term_str___elambda__1___closed__2; extern lean_object* l_Bool_HasRepr___closed__1; extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Elab_Term_toParserDescrAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -extern lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__4; extern lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; lean_object* l_Lean_Elab_Command_elabReserve(lean_object*, lean_object*); @@ -368,19 +371,20 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__3; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__1; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__125; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getMainModule(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_3__markAsTrailingParser___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; extern lean_object* l_Lean_Elab_Term_elabArrayLit___closed__12; extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__8; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__3; lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__24; extern lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__48; lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote(lean_object*, lean_object*); @@ -390,7 +394,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__97; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__64; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence___boxed(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,11 +404,11 @@ lean_object* l_Lean_Elab_Command_elabReserve___rarg(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMixfix(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; extern lean_object* l_Lean_Parser_Syntax_str___elambda__1___closed__1; extern lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__74; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__60; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; lean_object* l_Lean_mkStxStrLit(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__110; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__80; @@ -418,6 +421,7 @@ lean_object* l_Lean_Elab_Command_elabSyntax___closed__21; lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__9; extern lean_object* l_Lean_Elab_Command_declareBuiltinCommandElab___closed__3; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__35; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__4; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_getEnv(lean_object*, lean_object*); @@ -425,12 +429,12 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__131; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__27; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__17; lean_object* l_Lean_Elab_Command_elabSyntax___closed__23; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; extern lean_object* l_Lean_mkOptionalNode___closed__1; +extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__13; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__57; lean_object* l___private_Init_Lean_Elab_Syntax_5__withNoPushLeading___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__122; lean_object* l___regBuiltinMacro_Lean_Elab_Command_expandNotation(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__94; @@ -444,7 +448,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__54; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__119; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__29; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20; lean_object* l___private_Init_Lean_Elab_Syntax_7__antiquote___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__84; @@ -455,14 +458,17 @@ lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*) 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; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__50; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__6; extern lean_object* l_Lean_mkOptionalNode___closed__2; extern lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; extern lean_object* l_Lean_Parser_Command_quotedSymbolPrec___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__99; extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; @@ -471,13 +477,11 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__11; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; lean_object* l_Lean_Elab_Command_mkFreshKind(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMixfix(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28; lean_object* l_Lean_Elab_Command_mkKindName(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___closed__4; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; lean_object* l___private_Init_Lean_Elab_Syntax_3__markAsTrailingParser___rarg___closed__1; @@ -488,14 +492,11 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__38; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__12; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30; extern lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___rarg___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__88; extern lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___closed__26; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__107; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__72; @@ -504,11 +505,10 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__96; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__13; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__41; extern lean_object* l_Lean_mkAppStx___closed__2; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22; extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__23; extern lean_object* l_Lean_Elab_mkMacroAttribute___closed__1; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; extern lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteOption___rarg___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__44; extern lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; @@ -516,10 +516,13 @@ lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__35; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__70; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; extern lean_object* l_Lean_Parser_Term_char___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__113; lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*); @@ -529,6 +532,7 @@ lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandMacro___spec__ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__31; extern lean_object* l_Lean_Parser_Level_paren___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__59; @@ -9255,7 +9259,7 @@ x_5 = l_Lean_Elab_Command_addBuiltinCommandElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -9264,13 +9268,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macro___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9278,7 +9282,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3() { _start: { lean_object* x_1; @@ -9286,22 +9290,22 @@ x_1 = lean_mk_string("myMacro"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9309,17 +9313,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -9328,13 +9332,13 @@ x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_registerBuiltinMacroAttr___lambda__1___closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9342,7 +9346,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9352,7 +9356,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9364,19 +9368,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__12() { _start: { lean_object* x_1; @@ -9384,22 +9388,22 @@ x_1 = lean_mk_string("stx"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__13; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9407,17 +9411,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9429,37 +9433,37 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; +x_1 = l_Array_empty___closed__1; x_2 = l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; x_2 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20() { _start: { lean_object* x_1; @@ -9467,22 +9471,22 @@ x_1 = lean_mk_string("throw"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9490,17 +9494,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24() { _start: { lean_object* x_1; @@ -9508,51 +9512,51 @@ x_1 = lean_mk_string("MonadExcept"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29() { _start: { lean_object* x_1; @@ -9560,22 +9564,22 @@ x_1 = lean_mk_string("Lean.Macro.Exception.unsupportedSyntax"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9583,7 +9587,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32() { _start: { lean_object* x_1; @@ -9591,17 +9595,17 @@ x_1 = lean_mk_string("Exception"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_mkMacroAttribute___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34() { _start: { lean_object* x_1; @@ -9609,67 +9613,636 @@ x_1 = lean_mk_string("unsupportedSyntax"); return x_1; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37() { +lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Command_elabMacroRulesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_563; uint8_t x_564; -x_563 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -lean_inc(x_1); -x_564 = l_Lean_Syntax_isOfKind(x_1, x_563); -if (x_564 == 0) +lean_object* 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_283; uint8_t x_284; +x_4 = l_Lean_Syntax_inhabited; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_array_get(x_4, x_1, x_5); +x_7 = l_Lean_Syntax_getArg(x_6, x_5); +lean_dec(x_6); +x_8 = l_Lean_Syntax_getArg(x_7, x_5); +lean_dec(x_7); +x_283 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +lean_inc(x_8); +x_284 = l_Lean_Syntax_isOfKind(x_8, x_283); +if (x_284 == 0) { -uint8_t x_565; -x_565 = 0; -x_4 = x_565; -goto block_562; +uint8_t x_285; +x_285 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_285 == 0) +{ +lean_object* x_286; lean_object* x_287; +lean_dec(x_8); +lean_dec(x_2); +x_286 = lean_box(1); +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_3); +return x_287; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; uint8_t x_569; -x_566 = l_Lean_Syntax_getArgs(x_1); -x_567 = lean_array_get_size(x_566); -lean_dec(x_566); -x_568 = lean_unsigned_to_nat(2u); -x_569 = lean_nat_dec_eq(x_567, x_568); -lean_dec(x_567); -x_4 = x_569; -goto block_562; +lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_288 = lean_unsigned_to_nat(1u); +x_289 = l_Lean_Syntax_getArg(x_8, x_288); +lean_dec(x_8); +x_290 = l_Lean_Syntax_getKind(x_289); +x_9 = x_290; +x_10 = x_3; +goto block_282; } -block_562: +} +else +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; uint8_t x_295; +x_291 = l_Lean_Syntax_getArgs(x_8); +x_292 = lean_array_get_size(x_291); +lean_dec(x_291); +x_293 = lean_unsigned_to_nat(3u); +x_294 = lean_nat_dec_eq(x_292, x_293); +lean_dec(x_292); +x_295 = l_coeDecidableEq(x_294); +if (x_295 == 0) +{ +lean_object* x_296; lean_object* x_297; +lean_dec(x_8); +lean_dec(x_2); +x_296 = lean_box(1); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_3); +return x_297; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_298 = lean_unsigned_to_nat(1u); +x_299 = l_Lean_Syntax_getArg(x_8, x_298); +lean_dec(x_8); +x_300 = l_Lean_Syntax_getKind(x_299); +x_9 = x_300; +x_10 = x_3; +goto block_282; +} +} +block_282: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_10); +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_Elab_Command_getMainModule(x_2, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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_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; 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; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_box(0); +x_18 = l_Lean_Elab_mkMacroAttribute___closed__1; +lean_inc(x_12); +lean_inc(x_16); +x_19 = l_Lean_addMacroScope(x_16, x_18, x_12); +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_22 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_22, 2, x_19); +lean_ctor_set(x_22, 3, x_20); +x_23 = l_Array_empty___closed__1; +x_24 = lean_array_push(x_23, x_22); +x_25 = lean_mk_syntax_ident(x_9); +x_26 = lean_array_push(x_23, x_25); +x_27 = l_Lean_nullKind___closed__2; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_array_push(x_24, x_28); +x_30 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = lean_array_push(x_23, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_35 = lean_array_push(x_34, x_33); +x_36 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_37 = lean_array_push(x_35, x_36); +x_38 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_array_push(x_23, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_27); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_43 = lean_array_push(x_42, x_41); +x_44 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_45 = lean_array_push(x_43, x_44); +x_46 = lean_array_push(x_45, x_44); +x_47 = lean_array_push(x_46, x_44); +x_48 = lean_array_push(x_47, x_44); +x_49 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_array_push(x_23, x_50); +x_52 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +lean_inc(x_12); +lean_inc(x_16); +x_53 = l_Lean_addMacroScope(x_16, x_52, x_12); +x_54 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_55 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_55, 0, x_17); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_53); +lean_ctor_set(x_55, 3, x_20); +x_56 = lean_array_push(x_23, x_55); +x_57 = lean_array_push(x_56, x_44); +x_58 = l_Lean_Parser_Command_declId___elambda__1___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_Lean_Elab_Command_elabSyntax___closed__10; +x_61 = lean_array_push(x_60, x_59); +x_62 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_12); +lean_inc(x_16); +x_63 = l_Lean_addMacroScope(x_16, x_62, x_12); +x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_66 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_66, 0, x_17); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_63); +lean_ctor_set(x_66, 3, x_65); +x_67 = lean_array_push(x_23, x_66); +x_68 = lean_array_push(x_67, x_44); +x_69 = l_Lean_mkTermIdFromIdent___closed__2; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_72 = lean_array_push(x_71, x_70); +x_73 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = lean_array_push(x_23, x_74); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_27); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_array_push(x_42, x_76); +x_78 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = lean_array_push(x_61, x_79); +x_81 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_inc(x_12); +lean_inc(x_16); +x_82 = l_Lean_addMacroScope(x_16, x_81, x_12); +x_83 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_84 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_84, 0, x_17); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +lean_ctor_set(x_84, 3, x_20); +x_85 = lean_array_push(x_23, x_84); +x_86 = lean_array_push(x_85, x_44); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_69); +lean_ctor_set(x_87, 1, x_86); +lean_inc(x_87); +x_88 = lean_array_push(x_23, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_27); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_91 = lean_array_push(x_90, x_89); +x_92 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_93 = lean_array_push(x_91, x_92); +x_94 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_95 = lean_array_push(x_94, x_87); +x_96 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_97 = lean_array_push(x_95, x_96); +x_98 = lean_array_push(x_97, x_44); +x_99 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1, x_1, x_5, x_23); +x_100 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; +x_101 = lean_array_push(x_99, x_100); +x_102 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +lean_inc(x_12); +lean_inc(x_16); +x_103 = l_Lean_addMacroScope(x_16, x_102, x_12); +x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_105 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_106 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_106, 0, x_17); +lean_ctor_set(x_106, 1, x_104); +lean_ctor_set(x_106, 2, x_103); +lean_ctor_set(x_106, 3, x_105); +x_107 = lean_array_push(x_23, x_106); +x_108 = lean_array_push(x_107, x_44); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_69); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_23, x_109); +x_111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_112 = l_Lean_addMacroScope(x_16, x_111, x_12); +x_113 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +x_114 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_115 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_115, 0, x_17); +lean_ctor_set(x_115, 1, x_113); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_114); +x_116 = lean_array_push(x_23, x_115); +x_117 = lean_array_push(x_116, x_44); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_69); +lean_ctor_set(x_118, 1, x_117); +x_119 = lean_array_push(x_23, x_118); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_27); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_110, x_120); +x_122 = l_Lean_mkAppStx___closed__8; +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_125 = lean_array_push(x_124, x_123); +x_126 = l_Lean_Parser_Term_matchAlt___closed__2; +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_array_push(x_101, x_127); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_27); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_98, x_129); +x_131 = l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_93, x_132); +x_134 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_133); +x_136 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_137 = lean_array_push(x_136, x_135); +x_138 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = lean_array_push(x_80, x_139); +x_141 = l_Lean_Parser_Command_def___elambda__1___closed__2; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = lean_array_push(x_51, x_142); +x_144 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_14, 0, x_145); +return x_14; +} +else +{ +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; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_146 = lean_ctor_get(x_14, 0); +x_147 = lean_ctor_get(x_14, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_14); +x_148 = lean_box(0); +x_149 = l_Lean_Elab_mkMacroAttribute___closed__1; +lean_inc(x_12); +lean_inc(x_146); +x_150 = l_Lean_addMacroScope(x_146, x_149, x_12); +x_151 = lean_box(0); +x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_153 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_153, 0, x_148); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_150); +lean_ctor_set(x_153, 3, x_151); +x_154 = l_Array_empty___closed__1; +x_155 = lean_array_push(x_154, x_153); +x_156 = lean_mk_syntax_ident(x_9); +x_157 = lean_array_push(x_154, x_156); +x_158 = l_Lean_nullKind___closed__2; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = lean_array_push(x_155, x_159); +x_161 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = lean_array_push(x_154, x_162); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_158); +lean_ctor_set(x_164, 1, x_163); +x_165 = l_Lean_Elab_Command_elabSyntax___closed__8; +x_166 = lean_array_push(x_165, x_164); +x_167 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_168 = lean_array_push(x_166, x_167); +x_169 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = lean_array_push(x_154, x_170); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_158); +lean_ctor_set(x_172, 1, x_171); +x_173 = l_Lean_Elab_Command_elabSyntax___closed__6; +x_174 = lean_array_push(x_173, x_172); +x_175 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_176 = lean_array_push(x_174, x_175); +x_177 = lean_array_push(x_176, x_175); +x_178 = lean_array_push(x_177, x_175); +x_179 = lean_array_push(x_178, x_175); +x_180 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = lean_array_push(x_154, x_181); +x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +lean_inc(x_12); +lean_inc(x_146); +x_184 = l_Lean_addMacroScope(x_146, x_183, x_12); +x_185 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_186 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_186, 0, x_148); +lean_ctor_set(x_186, 1, x_185); +lean_ctor_set(x_186, 2, x_184); +lean_ctor_set(x_186, 3, x_151); +x_187 = lean_array_push(x_154, x_186); +x_188 = lean_array_push(x_187, x_175); +x_189 = l_Lean_Parser_Command_declId___elambda__1___closed__2; +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_188); +x_191 = l_Lean_Elab_Command_elabSyntax___closed__10; +x_192 = lean_array_push(x_191, x_190); +x_193 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_12); +lean_inc(x_146); +x_194 = l_Lean_addMacroScope(x_146, x_193, x_12); +x_195 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_197 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_197, 0, x_148); +lean_ctor_set(x_197, 1, x_195); +lean_ctor_set(x_197, 2, x_194); +lean_ctor_set(x_197, 3, x_196); +x_198 = lean_array_push(x_154, x_197); +x_199 = lean_array_push(x_198, x_175); +x_200 = l_Lean_mkTermIdFromIdent___closed__2; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; +x_203 = lean_array_push(x_202, x_201); +x_204 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_203); +x_206 = lean_array_push(x_154, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_158); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_array_push(x_173, x_207); +x_209 = l_Lean_Parser_Command_optDeclSig___elambda__1___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_192, x_210); +x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_inc(x_12); +lean_inc(x_146); +x_213 = l_Lean_addMacroScope(x_146, x_212, x_12); +x_214 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_215 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_215, 0, x_148); +lean_ctor_set(x_215, 1, x_214); +lean_ctor_set(x_215, 2, x_213); +lean_ctor_set(x_215, 3, x_151); +x_216 = lean_array_push(x_154, x_215); +x_217 = lean_array_push(x_216, x_175); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_200); +lean_ctor_set(x_218, 1, x_217); +lean_inc(x_218); +x_219 = lean_array_push(x_154, x_218); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_158); +lean_ctor_set(x_220, 1, x_219); +x_221 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_222 = lean_array_push(x_221, x_220); +x_223 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_224 = lean_array_push(x_222, x_223); +x_225 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_226 = lean_array_push(x_225, x_218); +x_227 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_175); +x_230 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1, x_1, x_5, x_154); +x_231 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__4; +x_232 = lean_array_push(x_230, x_231); +x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +lean_inc(x_12); +lean_inc(x_146); +x_234 = l_Lean_addMacroScope(x_146, x_233, x_12); +x_235 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_236 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_237 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_237, 0, x_148); +lean_ctor_set(x_237, 1, x_235); +lean_ctor_set(x_237, 2, x_234); +lean_ctor_set(x_237, 3, x_236); +x_238 = lean_array_push(x_154, x_237); +x_239 = lean_array_push(x_238, x_175); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_200); +lean_ctor_set(x_240, 1, x_239); +x_241 = lean_array_push(x_154, x_240); +x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_243 = l_Lean_addMacroScope(x_146, x_242, x_12); +x_244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +x_245 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_246 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_246, 0, x_148); +lean_ctor_set(x_246, 1, x_244); +lean_ctor_set(x_246, 2, x_243); +lean_ctor_set(x_246, 3, x_245); +x_247 = lean_array_push(x_154, x_246); +x_248 = lean_array_push(x_247, x_175); +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_200); +lean_ctor_set(x_249, 1, x_248); +x_250 = lean_array_push(x_154, x_249); +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_158); +lean_ctor_set(x_251, 1, x_250); +x_252 = lean_array_push(x_241, x_251); +x_253 = l_Lean_mkAppStx___closed__8; +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 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_256 = lean_array_push(x_255, x_254); +x_257 = l_Lean_Parser_Term_matchAlt___closed__2; +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_256); +x_259 = lean_array_push(x_232, x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_158); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_array_push(x_229, x_260); +x_262 = l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_261); +x_264 = lean_array_push(x_224, x_263); +x_265 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_265); +lean_ctor_set(x_266, 1, x_264); +x_267 = l_Lean_Elab_Command_elabSyntax___closed__15; +x_268 = lean_array_push(x_267, x_266); +x_269 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_268); +x_271 = lean_array_push(x_211, x_270); +x_272 = l_Lean_Parser_Command_def___elambda__1___closed__2; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +x_274 = lean_array_push(x_182, x_273); +x_275 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_274); +x_277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_147); +return x_277; +} +} +else +{ +uint8_t x_278; +lean_dec(x_12); +lean_dec(x_9); +x_278 = !lean_is_exclusive(x_14); +if (x_278 == 0) +{ +return x_14; +} +else +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_279 = lean_ctor_get(x_14, 0); +x_280 = lean_ctor_get(x_14, 1); +lean_inc(x_280); +lean_inc(x_279); +lean_dec(x_14); +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_279); +lean_ctor_set(x_281, 1, x_280); +return x_281; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Command_elabMacroRulesAux(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +lean_inc(x_1); +x_43 = l_Lean_Syntax_isOfKind(x_1, x_42); +if (x_43 == 0) +{ +uint8_t x_44; +x_44 = 0; +x_4 = x_44; +goto block_41; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = l_Lean_Syntax_getArgs(x_1); +x_46 = lean_array_get_size(x_45); +lean_dec(x_45); +x_47 = lean_unsigned_to_nat(3u); +x_48 = lean_nat_dec_eq(x_46, x_47); +lean_dec(x_46); +x_4 = x_48; +goto block_41; +} +block_41: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -9686,1028 +10259,113 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -lean_dec(x_1); -x_10 = l_Lean_Syntax_getArgs(x_9); +x_10 = l_Lean_nullKind___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +if (x_11 == 0) +{ +uint8_t x_36; +x_36 = 0; +x_12 = x_36; +goto block_35; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = l_Lean_Syntax_getArgs(x_9); +x_38 = lean_array_get_size(x_37); +lean_dec(x_37); +x_39 = lean_unsigned_to_nat(0u); +x_40 = lean_nat_dec_eq(x_38, x_39); +lean_dec(x_38); +x_12 = x_40; +goto block_35; +} +block_35: +{ +uint8_t x_13; +x_13 = l_coeDecidableEq(x_12); +if (x_13 == 0) +{ +if (x_11 == 0) +{ +uint8_t x_14; lean_dec(x_9); -x_11 = l_Lean_Syntax_inhabited; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_get(x_11, x_10, x_12); -x_14 = l_Lean_Syntax_getArg(x_13, x_8); -lean_dec(x_13); -x_15 = l_Lean_Syntax_getArg(x_14, x_12); -lean_dec(x_14); -x_16 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) +x_14 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_14 == 0) { -uint8_t x_18; -x_18 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_15); -lean_dec(x_10); +lean_object* x_15; lean_object* x_16; lean_dec(x_2); -x_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_3); +lean_dec(x_1); +x_15 = lean_box(1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_unsigned_to_nat(2u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +lean_dec(x_1); +x_19 = l_Lean_Syntax_getArgs(x_18); +lean_dec(x_18); +x_20 = l_Lean_Elab_Command_elabMacroRulesAux(x_19, x_2, x_3); +lean_dec(x_19); return x_20; } -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = l_Lean_Syntax_getArg(x_15, x_8); -lean_dec(x_15); -x_22 = l_Lean_Syntax_getKind(x_21); -x_23 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Elab_Command_getMainModule(x_2, x_25); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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_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; 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; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_box(0); -x_30 = l_Lean_Elab_mkMacroAttribute___closed__1; -lean_inc(x_24); -lean_inc(x_28); -x_31 = l_Lean_addMacroScope(x_28, x_30, x_24); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_34 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_31); -lean_ctor_set(x_34, 3, x_32); -x_35 = l_Array_empty___closed__1; -x_36 = lean_array_push(x_35, x_34); -x_37 = lean_mk_syntax_ident(x_22); -x_38 = lean_array_push(x_35, x_37); -x_39 = l_Lean_nullKind___closed__2; -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = lean_array_push(x_36, x_40); -x_42 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_41); -x_44 = lean_array_push(x_35, x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_39); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_49 = lean_array_push(x_47, x_48); -x_50 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_35, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_39); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_55 = lean_array_push(x_54, x_53); -x_56 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_57 = lean_array_push(x_55, x_56); -x_58 = lean_array_push(x_57, x_56); -x_59 = lean_array_push(x_58, x_56); -x_60 = lean_array_push(x_59, x_56); -x_61 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = lean_array_push(x_35, x_62); -x_64 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6; -lean_inc(x_24); -lean_inc(x_28); -x_65 = l_Lean_addMacroScope(x_28, x_64, x_24); -x_66 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; -x_67 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_67, 0, x_29); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_65); -lean_ctor_set(x_67, 3, x_32); -x_68 = lean_array_push(x_35, x_67); -x_69 = lean_array_push(x_68, x_56); -x_70 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_73 = lean_array_push(x_72, x_71); -x_74 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9; -lean_inc(x_24); -lean_inc(x_28); -x_75 = l_Lean_addMacroScope(x_28, x_74, x_24); -x_76 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8; -x_77 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11; -x_78 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_78, 0, x_29); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_75); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_array_push(x_35, x_78); -x_80 = lean_array_push(x_79, x_56); -x_81 = l_Lean_mkTermIdFromIdent___closed__2; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -x_87 = lean_array_push(x_35, x_86); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_39); -lean_ctor_set(x_88, 1, x_87); -x_89 = lean_array_push(x_54, x_88); -x_90 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_array_push(x_73, x_91); -x_93 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15; -lean_inc(x_24); -lean_inc(x_28); -x_94 = l_Lean_addMacroScope(x_28, x_93, x_24); -x_95 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14; -x_96 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_96, 0, x_29); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_94); -lean_ctor_set(x_96, 3, x_32); -x_97 = lean_array_push(x_35, x_96); -x_98 = lean_array_push(x_97, x_56); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_81); -lean_ctor_set(x_99, 1, x_98); -lean_inc(x_99); -x_100 = lean_array_push(x_35, x_99); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_39); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_103 = lean_array_push(x_102, x_101); -x_104 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_105 = lean_array_push(x_103, x_104); -x_106 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17; -x_107 = lean_array_push(x_106, x_99); -x_108 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_109 = lean_array_push(x_107, x_108); -x_110 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_10, x_10, x_12, x_35); -lean_dec(x_10); -x_111 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23; -lean_inc(x_24); -lean_inc(x_28); -x_112 = l_Lean_addMacroScope(x_28, x_111, x_24); -x_113 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22; -x_114 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28; -x_115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_115, 0, x_29); -lean_ctor_set(x_115, 1, x_113); -lean_ctor_set(x_115, 2, x_112); -lean_ctor_set(x_115, 3, x_114); -x_116 = lean_array_push(x_35, x_115); -x_117 = lean_array_push(x_116, x_56); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_81); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_35, x_118); -x_120 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; -x_121 = l_Lean_addMacroScope(x_28, x_120, x_24); -x_122 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31; -x_123 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37; -x_124 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_124, 0, x_29); -lean_ctor_set(x_124, 1, x_122); -lean_ctor_set(x_124, 2, x_121); -lean_ctor_set(x_124, 3, x_123); -x_125 = lean_array_push(x_35, x_124); -x_126 = lean_array_push(x_125, x_56); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_81); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_35, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_39); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_119, x_129); -x_131 = l_Lean_mkAppStx___closed__8; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19; -x_134 = lean_array_push(x_133, x_132); -x_135 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_110, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_39); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_array_push(x_109, x_138); -x_140 = l_Lean_Parser_Term_match__syntax___elambda__1___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 = lean_array_push(x_105, x_141); -x_143 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_146 = lean_array_push(x_145, x_144); -x_147 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = lean_array_push(x_92, x_148); -x_150 = l_Lean_Parser_Command_def___elambda__1___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_63, x_151); -x_153 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -lean_ctor_set(x_26, 0, x_154); -return x_26; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_155 = lean_ctor_get(x_26, 0); -x_156 = lean_ctor_get(x_26, 1); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_26); -x_157 = lean_box(0); -x_158 = l_Lean_Elab_mkMacroAttribute___closed__1; -lean_inc(x_24); -lean_inc(x_155); -x_159 = l_Lean_addMacroScope(x_155, x_158, x_24); -x_160 = lean_box(0); -x_161 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_162 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_162, 0, x_157); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_159); -lean_ctor_set(x_162, 3, x_160); -x_163 = l_Array_empty___closed__1; -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_mk_syntax_ident(x_22); -x_166 = lean_array_push(x_163, x_165); -x_167 = l_Lean_nullKind___closed__2; -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_166); -x_169 = lean_array_push(x_164, x_168); -x_170 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = lean_array_push(x_163, x_171); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_172); -x_174 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_175 = lean_array_push(x_174, x_173); -x_176 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_177 = lean_array_push(x_175, x_176); -x_178 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_177); -x_180 = lean_array_push(x_163, x_179); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_167); -lean_ctor_set(x_181, 1, x_180); -x_182 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_183 = lean_array_push(x_182, x_181); -x_184 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_185 = lean_array_push(x_183, x_184); -x_186 = lean_array_push(x_185, x_184); -x_187 = lean_array_push(x_186, x_184); -x_188 = lean_array_push(x_187, x_184); -x_189 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_array_push(x_163, x_190); -x_192 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6; -lean_inc(x_24); -lean_inc(x_155); -x_193 = l_Lean_addMacroScope(x_155, x_192, x_24); -x_194 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; -x_195 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_195, 0, x_157); -lean_ctor_set(x_195, 1, x_194); -lean_ctor_set(x_195, 2, x_193); -lean_ctor_set(x_195, 3, x_160); -x_196 = lean_array_push(x_163, x_195); -x_197 = lean_array_push(x_196, x_184); -x_198 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_201 = lean_array_push(x_200, x_199); -x_202 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9; -lean_inc(x_24); -lean_inc(x_155); -x_203 = l_Lean_addMacroScope(x_155, x_202, x_24); -x_204 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8; -x_205 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11; -x_206 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_206, 0, x_157); -lean_ctor_set(x_206, 1, x_204); -lean_ctor_set(x_206, 2, x_203); -lean_ctor_set(x_206, 3, x_205); -x_207 = lean_array_push(x_163, x_206); -x_208 = lean_array_push(x_207, x_184); -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 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_212 = lean_array_push(x_211, x_210); -x_213 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = lean_array_push(x_163, x_214); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_167); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_array_push(x_182, x_216); -x_218 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -x_220 = lean_array_push(x_201, x_219); -x_221 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15; -lean_inc(x_24); -lean_inc(x_155); -x_222 = l_Lean_addMacroScope(x_155, x_221, x_24); -x_223 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14; -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_157); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set(x_224, 2, x_222); -lean_ctor_set(x_224, 3, x_160); -x_225 = lean_array_push(x_163, x_224); -x_226 = lean_array_push(x_225, x_184); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_209); -lean_ctor_set(x_227, 1, x_226); -lean_inc(x_227); -x_228 = lean_array_push(x_163, x_227); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_167); -lean_ctor_set(x_229, 1, x_228); -x_230 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_231 = lean_array_push(x_230, x_229); -x_232 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_233 = lean_array_push(x_231, x_232); -x_234 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17; -x_235 = lean_array_push(x_234, x_227); -x_236 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_237 = lean_array_push(x_235, x_236); -x_238 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_10, x_10, x_12, x_163); -lean_dec(x_10); -x_239 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23; -lean_inc(x_24); -lean_inc(x_155); -x_240 = l_Lean_addMacroScope(x_155, x_239, x_24); -x_241 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22; -x_242 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28; -x_243 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_243, 0, x_157); -lean_ctor_set(x_243, 1, x_241); -lean_ctor_set(x_243, 2, x_240); -lean_ctor_set(x_243, 3, x_242); -x_244 = lean_array_push(x_163, x_243); -x_245 = lean_array_push(x_244, x_184); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_209); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_array_push(x_163, x_246); -x_248 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; -x_249 = l_Lean_addMacroScope(x_155, x_248, x_24); -x_250 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31; -x_251 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37; -x_252 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_252, 0, x_157); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set(x_252, 2, x_249); -lean_ctor_set(x_252, 3, x_251); -x_253 = lean_array_push(x_163, x_252); -x_254 = lean_array_push(x_253, x_184); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_209); -lean_ctor_set(x_255, 1, x_254); -x_256 = lean_array_push(x_163, x_255); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_167); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_array_push(x_247, x_257); -x_259 = l_Lean_mkAppStx___closed__8; -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19; -x_262 = lean_array_push(x_261, x_260); -x_263 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -x_265 = lean_array_push(x_238, x_264); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_167); -lean_ctor_set(x_266, 1, x_265); -x_267 = lean_array_push(x_237, x_266); -x_268 = l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -x_270 = lean_array_push(x_233, x_269); -x_271 = l_Lean_Parser_Term_fun___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 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_274 = lean_array_push(x_273, x_272); -x_275 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = lean_array_push(x_220, x_276); -x_278 = l_Lean_Parser_Command_def___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); -x_280 = lean_array_push(x_191, x_279); -x_281 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_280); -x_283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_156); -return x_283; -} -} -else -{ -uint8_t x_284; -lean_dec(x_24); +lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; +x_21 = l_Lean_Syntax_getArgs(x_9); +lean_dec(x_9); +x_22 = lean_array_get_size(x_21); +lean_dec(x_21); +x_23 = lean_nat_dec_eq(x_22, x_8); lean_dec(x_22); -lean_dec(x_10); -x_284 = !lean_is_exclusive(x_26); -if (x_284 == 0) +x_24 = l_coeDecidableEq(x_23); +if (x_24 == 0) { +lean_object* x_25; lean_object* x_26; +lean_dec(x_2); +lean_dec(x_1); +x_25 = lean_box(1); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_3); return x_26; } else { -lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_285 = lean_ctor_get(x_26, 0); -x_286 = lean_ctor_get(x_26, 1); -lean_inc(x_286); -lean_inc(x_285); -lean_dec(x_26); -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_285); -lean_ctor_set(x_287, 1, x_286); -return x_287; -} +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_unsigned_to_nat(2u); +x_28 = l_Lean_Syntax_getArg(x_1, x_27); +lean_dec(x_1); +x_29 = l_Lean_Syntax_getArgs(x_28); +lean_dec(x_28); +x_30 = l_Lean_Elab_Command_elabMacroRulesAux(x_29, x_2, x_3); +lean_dec(x_29); +return x_30; } } } else { -lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; uint8_t x_292; -x_288 = l_Lean_Syntax_getArgs(x_15); -x_289 = lean_array_get_size(x_288); -lean_dec(x_288); -x_290 = lean_unsigned_to_nat(3u); -x_291 = lean_nat_dec_eq(x_289, x_290); -lean_dec(x_289); -x_292 = l_coeDecidableEq(x_291); -if (x_292 == 0) -{ -lean_object* x_293; lean_object* x_294; -lean_dec(x_15); -lean_dec(x_10); -lean_dec(x_2); -x_293 = lean_box(1); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_3); -return x_294; -} -else -{ -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_295 = l_Lean_Syntax_getArg(x_15, x_8); -lean_dec(x_15); -x_296 = l_Lean_Syntax_getKind(x_295); -x_297 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); -lean_inc(x_299); -lean_dec(x_297); -x_300 = l_Lean_Elab_Command_getMainModule(x_2, x_299); -if (lean_obj_tag(x_300) == 0) -{ -uint8_t x_301; -x_301 = !lean_is_exclusive(x_300); -if (x_301 == 0) -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; -x_302 = lean_ctor_get(x_300, 0); -x_303 = lean_box(0); -x_304 = l_Lean_Elab_mkMacroAttribute___closed__1; -lean_inc(x_298); -lean_inc(x_302); -x_305 = l_Lean_addMacroScope(x_302, x_304, x_298); -x_306 = lean_box(0); -x_307 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_308 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_308, 0, x_303); -lean_ctor_set(x_308, 1, x_307); -lean_ctor_set(x_308, 2, x_305); -lean_ctor_set(x_308, 3, x_306); -x_309 = l_Array_empty___closed__1; -x_310 = lean_array_push(x_309, x_308); -x_311 = lean_mk_syntax_ident(x_296); -x_312 = lean_array_push(x_309, x_311); -x_313 = l_Lean_nullKind___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_array_push(x_310, x_314); -x_316 = l_Lean_Parser_Command_attrInstance___elambda__1___closed__2; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_309, x_317); -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_313); -lean_ctor_set(x_319, 1, x_318); -x_320 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_321 = lean_array_push(x_320, x_319); -x_322 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_323 = lean_array_push(x_321, x_322); -x_324 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -x_326 = lean_array_push(x_309, x_325); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_313); -lean_ctor_set(x_327, 1, x_326); -x_328 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_329 = lean_array_push(x_328, x_327); -x_330 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_331 = lean_array_push(x_329, x_330); -x_332 = lean_array_push(x_331, x_330); -x_333 = lean_array_push(x_332, x_330); -x_334 = lean_array_push(x_333, x_330); -x_335 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_334); -x_337 = lean_array_push(x_309, x_336); -x_338 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6; -lean_inc(x_298); -lean_inc(x_302); -x_339 = l_Lean_addMacroScope(x_302, x_338, x_298); -x_340 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; -x_341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_341, 0, x_303); -lean_ctor_set(x_341, 1, x_340); -lean_ctor_set(x_341, 2, x_339); -lean_ctor_set(x_341, 3, x_306); -x_342 = lean_array_push(x_309, x_341); -x_343 = lean_array_push(x_342, x_330); -x_344 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -x_346 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_347 = lean_array_push(x_346, x_345); -x_348 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9; -lean_inc(x_298); -lean_inc(x_302); -x_349 = l_Lean_addMacroScope(x_302, x_348, x_298); -x_350 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8; -x_351 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11; -x_352 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_352, 0, x_303); -lean_ctor_set(x_352, 1, x_350); -lean_ctor_set(x_352, 2, x_349); -lean_ctor_set(x_352, 3, x_351); -x_353 = lean_array_push(x_309, x_352); -x_354 = lean_array_push(x_353, x_330); -x_355 = l_Lean_mkTermIdFromIdent___closed__2; -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_354); -x_357 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_358 = lean_array_push(x_357, x_356); -x_359 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_358); -x_361 = lean_array_push(x_309, x_360); -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_313); -lean_ctor_set(x_362, 1, x_361); -x_363 = lean_array_push(x_328, x_362); -x_364 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_366 = lean_array_push(x_347, x_365); -x_367 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15; -lean_inc(x_298); -lean_inc(x_302); -x_368 = l_Lean_addMacroScope(x_302, x_367, x_298); -x_369 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14; -x_370 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_370, 0, x_303); -lean_ctor_set(x_370, 1, x_369); -lean_ctor_set(x_370, 2, x_368); -lean_ctor_set(x_370, 3, x_306); -x_371 = lean_array_push(x_309, x_370); -x_372 = lean_array_push(x_371, x_330); -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_355); -lean_ctor_set(x_373, 1, x_372); -lean_inc(x_373); -x_374 = lean_array_push(x_309, x_373); -x_375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_375, 0, x_313); -lean_ctor_set(x_375, 1, x_374); -x_376 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_377 = lean_array_push(x_376, x_375); -x_378 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_379 = lean_array_push(x_377, x_378); -x_380 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17; -x_381 = lean_array_push(x_380, x_373); -x_382 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_383 = lean_array_push(x_381, x_382); -x_384 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_10, x_10, x_12, x_309); -lean_dec(x_10); -x_385 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23; -lean_inc(x_298); -lean_inc(x_302); -x_386 = l_Lean_addMacroScope(x_302, x_385, x_298); -x_387 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22; -x_388 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28; -x_389 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_389, 0, x_303); -lean_ctor_set(x_389, 1, x_387); -lean_ctor_set(x_389, 2, x_386); -lean_ctor_set(x_389, 3, x_388); -x_390 = lean_array_push(x_309, x_389); -x_391 = lean_array_push(x_390, x_330); -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_355); -lean_ctor_set(x_392, 1, x_391); -x_393 = lean_array_push(x_309, x_392); -x_394 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; -x_395 = l_Lean_addMacroScope(x_302, x_394, x_298); -x_396 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31; -x_397 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37; -x_398 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_398, 0, x_303); -lean_ctor_set(x_398, 1, x_396); -lean_ctor_set(x_398, 2, x_395); -lean_ctor_set(x_398, 3, x_397); -x_399 = lean_array_push(x_309, x_398); -x_400 = lean_array_push(x_399, x_330); -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_355); -lean_ctor_set(x_401, 1, x_400); -x_402 = lean_array_push(x_309, x_401); -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_313); -lean_ctor_set(x_403, 1, x_402); -x_404 = lean_array_push(x_393, x_403); -x_405 = l_Lean_mkAppStx___closed__8; -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_404); -x_407 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19; -x_408 = lean_array_push(x_407, x_406); -x_409 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_408); -x_411 = lean_array_push(x_384, x_410); -x_412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_412, 0, x_313); -lean_ctor_set(x_412, 1, x_411); -x_413 = lean_array_push(x_383, x_412); -x_414 = l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_413); -x_416 = lean_array_push(x_379, x_415); -x_417 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_418, 0, x_417); -lean_ctor_set(x_418, 1, x_416); -x_419 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_420 = lean_array_push(x_419, x_418); -x_421 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_420); -x_423 = lean_array_push(x_366, x_422); -x_424 = l_Lean_Parser_Command_def___elambda__1___closed__2; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = lean_array_push(x_337, x_425); -x_427 = l_Lean_Parser_Command_declaration___elambda__1___closed__2; -x_428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_426); -lean_ctor_set(x_300, 0, x_428); -return x_300; -} -else -{ -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -x_429 = lean_ctor_get(x_300, 0); -x_430 = lean_ctor_get(x_300, 1); -lean_inc(x_430); -lean_inc(x_429); -lean_dec(x_300); -x_431 = lean_box(0); -x_432 = l_Lean_Elab_mkMacroAttribute___closed__1; -lean_inc(x_298); -lean_inc(x_429); -x_433 = l_Lean_addMacroScope(x_429, x_432, x_298); -x_434 = lean_box(0); -x_435 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; -x_436 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_436, 0, x_431); -lean_ctor_set(x_436, 1, x_435); -lean_ctor_set(x_436, 2, x_433); -lean_ctor_set(x_436, 3, x_434); -x_437 = l_Array_empty___closed__1; -x_438 = lean_array_push(x_437, x_436); -x_439 = lean_mk_syntax_ident(x_296); -x_440 = lean_array_push(x_437, x_439); -x_441 = l_Lean_nullKind___closed__2; -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_440); -x_443 = lean_array_push(x_438, x_442); -x_444 = l_Lean_Parser_Command_attrInstance___elambda__1___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_437, x_445); -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_441); -lean_ctor_set(x_447, 1, x_446); -x_448 = l_Lean_Elab_Command_elabSyntax___closed__8; -x_449 = lean_array_push(x_448, x_447); -x_450 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_451 = lean_array_push(x_449, x_450); -x_452 = l_Lean_Parser_Command_attributes___elambda__1___closed__2; -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_452); -lean_ctor_set(x_453, 1, x_451); -x_454 = lean_array_push(x_437, x_453); -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_441); -lean_ctor_set(x_455, 1, x_454); -x_456 = l_Lean_Elab_Command_elabSyntax___closed__6; -x_457 = lean_array_push(x_456, x_455); -x_458 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_459 = lean_array_push(x_457, x_458); -x_460 = lean_array_push(x_459, x_458); -x_461 = lean_array_push(x_460, x_458); -x_462 = lean_array_push(x_461, x_458); -x_463 = l_Lean_Parser_Command_declModifiers___elambda__1___closed__2; -x_464 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_462); -x_465 = lean_array_push(x_437, x_464); -x_466 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6; -lean_inc(x_298); -lean_inc(x_429); -x_467 = l_Lean_addMacroScope(x_429, x_466, x_298); -x_468 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; -x_469 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_469, 0, x_431); -lean_ctor_set(x_469, 1, x_468); -lean_ctor_set(x_469, 2, x_467); -lean_ctor_set(x_469, 3, x_434); -x_470 = lean_array_push(x_437, x_469); -x_471 = lean_array_push(x_470, x_458); -x_472 = l_Lean_Parser_Command_declId___elambda__1___closed__2; -x_473 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_471); -x_474 = l_Lean_Elab_Command_elabSyntax___closed__10; -x_475 = lean_array_push(x_474, x_473); -x_476 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9; -lean_inc(x_298); -lean_inc(x_429); -x_477 = l_Lean_addMacroScope(x_429, x_476, x_298); -x_478 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8; -x_479 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11; -x_480 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_480, 0, x_431); -lean_ctor_set(x_480, 1, x_478); -lean_ctor_set(x_480, 2, x_477); -lean_ctor_set(x_480, 3, x_479); -x_481 = lean_array_push(x_437, x_480); -x_482 = lean_array_push(x_481, x_458); -x_483 = l_Lean_mkTermIdFromIdent___closed__2; -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_482); -x_485 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__6; -x_486 = lean_array_push(x_485, x_484); -x_487 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_486); -x_489 = lean_array_push(x_437, x_488); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_441); -lean_ctor_set(x_490, 1, x_489); -x_491 = lean_array_push(x_456, x_490); -x_492 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__2; -x_493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_493, 0, x_492); -lean_ctor_set(x_493, 1, x_491); -x_494 = lean_array_push(x_475, x_493); -x_495 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15; -lean_inc(x_298); -lean_inc(x_429); -x_496 = l_Lean_addMacroScope(x_429, x_495, x_298); -x_497 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14; -x_498 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_498, 0, x_431); -lean_ctor_set(x_498, 1, x_497); -lean_ctor_set(x_498, 2, x_496); -lean_ctor_set(x_498, 3, x_434); -x_499 = lean_array_push(x_437, x_498); -x_500 = lean_array_push(x_499, x_458); -x_501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_501, 0, x_483); -lean_ctor_set(x_501, 1, x_500); -lean_inc(x_501); -x_502 = lean_array_push(x_437, x_501); -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_441); -lean_ctor_set(x_503, 1, x_502); -x_504 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_505 = lean_array_push(x_504, x_503); -x_506 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_507 = lean_array_push(x_505, x_506); -x_508 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17; -x_509 = lean_array_push(x_508, x_501); -x_510 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_511 = lean_array_push(x_509, x_510); -x_512 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_10, x_10, x_12, x_437); -lean_dec(x_10); -x_513 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23; -lean_inc(x_298); -lean_inc(x_429); -x_514 = l_Lean_addMacroScope(x_429, x_513, x_298); -x_515 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22; -x_516 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28; -x_517 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_517, 0, x_431); -lean_ctor_set(x_517, 1, x_515); -lean_ctor_set(x_517, 2, x_514); -lean_ctor_set(x_517, 3, x_516); -x_518 = lean_array_push(x_437, x_517); -x_519 = lean_array_push(x_518, x_458); -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_483); -lean_ctor_set(x_520, 1, x_519); -x_521 = lean_array_push(x_437, x_520); -x_522 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35; -x_523 = l_Lean_addMacroScope(x_429, x_522, x_298); -x_524 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31; -x_525 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37; -x_526 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_526, 0, x_431); -lean_ctor_set(x_526, 1, x_524); -lean_ctor_set(x_526, 2, x_523); -lean_ctor_set(x_526, 3, x_525); -x_527 = lean_array_push(x_437, x_526); -x_528 = lean_array_push(x_527, x_458); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_483); -lean_ctor_set(x_529, 1, x_528); -x_530 = lean_array_push(x_437, x_529); -x_531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_531, 0, x_441); -lean_ctor_set(x_531, 1, x_530); -x_532 = lean_array_push(x_521, x_531); -x_533 = l_Lean_mkAppStx___closed__8; -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -x_535 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19; -x_536 = lean_array_push(x_535, x_534); -x_537 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_538, 0, x_537); -lean_ctor_set(x_538, 1, x_536); -x_539 = lean_array_push(x_512, x_538); -x_540 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_540, 0, x_441); -lean_ctor_set(x_540, 1, x_539); -x_541 = lean_array_push(x_511, x_540); -x_542 = l_Lean_Parser_Term_match__syntax___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_507, x_543); -x_545 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_545); -lean_ctor_set(x_546, 1, x_544); -x_547 = l_Lean_Elab_Command_elabSyntax___closed__15; -x_548 = lean_array_push(x_547, x_546); -x_549 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_549); -lean_ctor_set(x_550, 1, x_548); -x_551 = lean_array_push(x_494, x_550); -x_552 = l_Lean_Parser_Command_def___elambda__1___closed__2; -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_551); -x_554 = lean_array_push(x_465, x_553); -x_555 = l_Lean_Parser_Command_declaration___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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_430); -return x_557; -} -} -else -{ -uint8_t x_558; -lean_dec(x_298); -lean_dec(x_296); -lean_dec(x_10); -x_558 = !lean_is_exclusive(x_300); -if (x_558 == 0) -{ -return x_300; -} -else -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; -x_559 = lean_ctor_get(x_300, 0); -x_560 = lean_ctor_get(x_300, 1); -lean_inc(x_560); -lean_inc(x_559); -lean_dec(x_300); -x_561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_561, 0, x_559); -lean_ctor_set(x_561, 1, x_560); -return x_561; -} -} +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_9); +x_31 = lean_unsigned_to_nat(2u); +x_32 = l_Lean_Syntax_getArg(x_1, x_31); +lean_dec(x_1); +x_33 = l_Lean_Syntax_getArgs(x_32); +lean_dec(x_32); +x_34 = l_Lean_Elab_Command_elabMacroRulesAux(x_33, x_2, x_3); +lean_dec(x_33); +return x_34; } } } @@ -12076,6 +11734,16 @@ lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotation___closed__4; +x_2 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__5; x_3 = lean_alloc_ctor(2, 2, 0); @@ -12084,12 +11752,12 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__6() { +lean_object* _init_l_Lean_Elab_Command_expandNotation___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_expandNotation___closed__5; +x_2 = l_Lean_Elab_Command_expandNotation___closed__6; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -12097,30 +11765,30 @@ return x_3; lean_object* l_Lean_Elab_Command_expandNotation(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +uint8_t x_3; lean_object* x_124; uint8_t x_125; +x_124 = l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_inc(x_1); -x_127 = l_Lean_Syntax_isOfKind(x_1, x_126); -if (x_127 == 0) +x_125 = l_Lean_Syntax_isOfKind(x_1, x_124); +if (x_125 == 0) { -uint8_t x_128; -x_128 = 0; -x_3 = x_128; -goto block_125; +uint8_t x_126; +x_126 = 0; +x_3 = x_126; +goto block_123; } else { -lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_129 = l_Lean_Syntax_getArgs(x_1); -x_130 = lean_array_get_size(x_129); -lean_dec(x_129); -x_131 = lean_unsigned_to_nat(4u); -x_132 = lean_nat_dec_eq(x_130, x_131); -lean_dec(x_130); -x_3 = x_132; -goto block_125; +lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_127 = l_Lean_Syntax_getArgs(x_1); +x_128 = lean_array_get_size(x_127); +lean_dec(x_127); +x_129 = lean_unsigned_to_nat(4u); +x_130 = lean_nat_dec_eq(x_128, x_129); +lean_dec(x_128); +x_3 = x_130; +goto block_123; } -block_125: +block_123: { uint8_t x_4; x_4 = l_coeDecidableEq(x_3); @@ -12219,7 +11887,7 @@ uint8_t x_29; x_29 = !lean_is_exclusive(x_25); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; x_30 = lean_ctor_get(x_25, 0); lean_inc(x_13); x_31 = lean_alloc_ctor(1, 2, 0); @@ -12252,7 +11920,7 @@ x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = lean_array_push(x_41, x_49); -x_51 = l_Lean_Elab_Command_expandNotation___closed__6; +x_51 = l_Lean_Elab_Command_expandNotation___closed__7; x_52 = lean_array_push(x_51, x_31); x_53 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_54 = lean_array_push(x_52, x_53); @@ -12264,117 +11932,115 @@ x_57 = lean_array_push(x_41, x_56); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_37); lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_62 = lean_array_push(x_60, x_61); -x_63 = lean_array_push(x_51, x_24); -x_64 = lean_array_push(x_63, x_53); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_55); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_array_push(x_62, x_65); -x_67 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_array_push(x_41, x_68); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_37); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Elab_Command_expandNotation___closed__4; -x_72 = lean_array_push(x_71, x_70); -x_73 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_50, x_74); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_37); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_25, 0, x_76); +x_59 = lean_array_push(x_41, x_58); +x_60 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_61 = lean_array_push(x_59, x_60); +x_62 = lean_array_push(x_51, x_24); +x_63 = lean_array_push(x_62, x_53); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_55); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_array_push(x_61, x_64); +x_66 = l_Lean_Parser_Term_matchAlt___closed__2; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +x_68 = lean_array_push(x_41, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_37); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_Lean_Elab_Command_expandNotation___closed__5; +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_50, x_73); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_37); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_25, 0, x_75); return x_25; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 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_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_77 = lean_ctor_get(x_25, 0); -lean_inc(x_77); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 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_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; +x_76 = lean_ctor_get(x_25, 0); +lean_inc(x_76); lean_dec(x_25); lean_inc(x_13); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_13); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_mkIdentFrom(x_1, x_13); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_13); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_mkIdentFrom(x_1, x_13); lean_dec(x_1); -x_80 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_81 = lean_array_push(x_80, x_79); -x_82 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_83 = lean_array_push(x_81, x_82); -x_84 = l_Lean_nullKind___closed__2; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = l_Lean_Elab_Command_expandNotation___closed__2; -x_87 = lean_array_push(x_86, x_85); -x_88 = l_Array_empty___closed__1; -x_89 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_14, x_88); +x_79 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_80 = lean_array_push(x_79, x_78); +x_81 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_82 = lean_array_push(x_80, x_81); +x_83 = l_Lean_nullKind___closed__2; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = l_Lean_Elab_Command_expandNotation___closed__2; +x_86 = lean_array_push(x_85, x_84); +x_87 = l_Array_empty___closed__1; +x_88 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_14, x_87); lean_dec(x_19); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_84); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_87, x_90); -x_92 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_93 = lean_array_push(x_91, x_92); -x_94 = lean_array_push(x_93, x_20); -x_95 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_88, x_96); -x_98 = l_Lean_Elab_Command_expandNotation___closed__6; -x_99 = lean_array_push(x_98, x_78); -x_100 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_101 = lean_array_push(x_99, x_100); -x_102 = l_Lean_Parser_Term_stxQuot___elambda__1___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 = lean_array_push(x_88, x_103); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_84); -lean_ctor_set(x_105, 1, x_104); -x_106 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_107 = lean_array_push(x_106, x_105); -x_108 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_109 = lean_array_push(x_107, x_108); -x_110 = lean_array_push(x_98, x_24); -x_111 = lean_array_push(x_110, x_100); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_102); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_109, x_112); -x_114 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_83); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_86, x_89); +x_91 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_92 = lean_array_push(x_90, x_91); +x_93 = lean_array_push(x_92, x_20); +x_94 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +x_96 = lean_array_push(x_87, x_95); +x_97 = l_Lean_Elab_Command_expandNotation___closed__7; +x_98 = lean_array_push(x_97, x_77); +x_99 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_100 = lean_array_push(x_98, x_99); +x_101 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +x_103 = lean_array_push(x_87, x_102); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_83); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_array_push(x_87, x_104); +x_106 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_107 = lean_array_push(x_105, x_106); +x_108 = lean_array_push(x_97, x_24); +x_109 = lean_array_push(x_108, x_99); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_101); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_array_push(x_107, x_110); +x_112 = l_Lean_Parser_Term_matchAlt___closed__2; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = lean_array_push(x_87, x_113); x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = lean_array_push(x_88, x_115); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_84); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_Elab_Command_expandNotation___closed__4; -x_119 = lean_array_push(x_118, x_117); -x_120 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +lean_ctor_set(x_115, 0, x_83); +lean_ctor_set(x_115, 1, x_114); +x_116 = l_Lean_Elab_Command_expandNotation___closed__5; +x_117 = lean_array_push(x_116, x_115); +x_118 = l_Lean_Parser_Command_macro__rules___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_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_97, x_121); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_84); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_123); -return x_124; +lean_ctor_set(x_121, 0, x_83); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_122, 0, x_121); +return x_122; } } } @@ -13132,7 +12798,7 @@ x_45 = lean_nat_dec_eq(x_43, x_44); lean_dec(x_43); if (x_45 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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; x_46 = l_Lean_Syntax_getArg(x_1, x_44); x_47 = l_Lean_mkIdentFrom(x_1, x_13); x_48 = l_Lean_Elab_Term_elabArrayLit___closed__12; @@ -13160,7 +12826,7 @@ x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); x_65 = lean_array_push(x_56, x_64); -x_66 = l_Lean_Elab_Command_expandNotation___closed__6; +x_66 = l_Lean_Elab_Command_expandNotation___closed__7; x_67 = lean_array_push(x_66, x_41); x_68 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_69 = lean_array_push(x_67, x_68); @@ -13172,269 +12838,265 @@ x_72 = lean_array_push(x_56, x_71); x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_52); lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_75 = lean_array_push(x_74, x_73); -x_76 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_77 = lean_array_push(x_75, x_76); -x_78 = lean_array_push(x_66, x_46); -x_79 = lean_array_push(x_78, x_68); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_70); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_array_push(x_77, x_80); -x_82 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = lean_array_push(x_56, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_52); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Elab_Command_expandNotation___closed__4; -x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_Parser_Command_macro__rules___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_65, x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_52); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_33, 0, x_91); +x_74 = lean_array_push(x_56, x_73); +x_75 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_76 = lean_array_push(x_74, x_75); +x_77 = lean_array_push(x_66, x_46); +x_78 = lean_array_push(x_77, x_68); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_70); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_76, x_79); +x_81 = l_Lean_Parser_Term_matchAlt___closed__2; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_array_push(x_56, x_82); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_52); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Elab_Command_expandNotation___closed__5; +x_86 = lean_array_push(x_85, x_84); +x_87 = l_Lean_Parser_Command_macro__rules___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_65, x_88); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_52); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_33, 0, x_90); return x_33; } else { -lean_object* x_92; lean_object* x_93; 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; 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; -x_92 = lean_unsigned_to_nat(6u); -x_93 = l_Lean_Syntax_getArg(x_1, x_92); -x_94 = l_Lean_mkIdentFrom(x_1, x_13); -x_95 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_96 = lean_array_push(x_95, x_94); -x_97 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_98 = lean_array_push(x_96, x_97); -x_99 = l_Lean_nullKind___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 = l_Lean_Elab_Command_expandNotation___closed__2; -x_102 = lean_array_push(x_101, x_100); -x_103 = l_Array_empty___closed__1; -x_104 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_103); +lean_object* x_91; lean_object* x_92; lean_object* x_93; 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; 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; +x_91 = lean_unsigned_to_nat(6u); +x_92 = l_Lean_Syntax_getArg(x_1, x_91); +x_93 = l_Lean_mkIdentFrom(x_1, x_13); +x_94 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_95 = lean_array_push(x_94, x_93); +x_96 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_97 = lean_array_push(x_95, x_96); +x_98 = l_Lean_nullKind___closed__2; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Elab_Command_expandNotation___closed__2; +x_101 = lean_array_push(x_100, x_99); +x_102 = l_Array_empty___closed__1; +x_103 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_102); lean_dec(x_27); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_99); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_102, x_105); -x_107 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_108 = lean_array_push(x_106, x_107); -x_109 = lean_array_push(x_108, x_9); -x_110 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_array_push(x_103, x_111); -x_113 = l_Lean_Elab_Command_expandNotation___closed__6; -x_114 = lean_array_push(x_113, x_41); -x_115 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_116 = lean_array_push(x_114, x_115); -x_117 = l_Lean_Parser_Term_stxQuot___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_103, x_118); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_99); -lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_122 = lean_array_push(x_121, x_120); -x_123 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_124 = lean_array_push(x_122, x_123); -x_125 = lean_array_push(x_124, x_93); -x_126 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_98); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_array_push(x_101, x_104); +x_106 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_107 = lean_array_push(x_105, x_106); +x_108 = lean_array_push(x_107, x_9); +x_109 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_102, x_110); +x_112 = l_Lean_Elab_Command_expandNotation___closed__7; +x_113 = lean_array_push(x_112, x_41); +x_114 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_115 = lean_array_push(x_113, x_114); +x_116 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_115); +x_118 = lean_array_push(x_102, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_98); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_102, x_119); +x_121 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_122 = lean_array_push(x_120, x_121); +x_123 = lean_array_push(x_122, x_92); +x_124 = l_Lean_Parser_Term_matchAlt___closed__2; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_102, x_125); x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = lean_array_push(x_103, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_99); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_Command_expandNotation___closed__4; -x_131 = lean_array_push(x_130, x_129); -x_132 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +lean_ctor_set(x_127, 0, x_98); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_Elab_Command_expandNotation___closed__5; +x_129 = lean_array_push(x_128, x_127); +x_130 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = lean_array_push(x_111, x_131); x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_112, x_133); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_99); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_33, 0, x_135); +lean_ctor_set(x_133, 0, x_98); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_33, 0, x_133); return x_33; } } else { -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; uint8_t x_143; -x_136 = lean_ctor_get(x_33, 0); -lean_inc(x_136); +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; uint8_t x_141; +x_134 = lean_ctor_get(x_33, 0); +lean_inc(x_134); lean_dec(x_33); -x_137 = lean_array_push(x_25, x_32); -x_138 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_136, x_136, x_19, x_137); -lean_dec(x_136); +x_135 = lean_array_push(x_25, x_32); +x_136 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_134, x_134, x_19, x_135); +lean_dec(x_134); lean_inc(x_13); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_13); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_Syntax_getArgs(x_1); -x_141 = lean_array_get_size(x_140); -lean_dec(x_140); -x_142 = lean_unsigned_to_nat(7u); -x_143 = lean_nat_dec_eq(x_141, x_142); -lean_dec(x_141); -if (x_143 == 0) +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_13); +lean_ctor_set(x_137, 1, x_136); +x_138 = l_Lean_Syntax_getArgs(x_1); +x_139 = lean_array_get_size(x_138); +lean_dec(x_138); +x_140 = lean_unsigned_to_nat(7u); +x_141 = lean_nat_dec_eq(x_139, x_140); +lean_dec(x_139); +if (x_141 == 0) { -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; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_144 = l_Lean_Syntax_getArg(x_1, x_142); -x_145 = l_Lean_mkIdentFrom(x_1, x_13); -x_146 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_147 = lean_array_push(x_146, x_145); -x_148 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_149 = lean_array_push(x_147, x_148); -x_150 = l_Lean_nullKind___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = l_Lean_Elab_Command_expandNotation___closed__2; -x_153 = lean_array_push(x_152, x_151); -x_154 = l_Array_empty___closed__1; -x_155 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_154); +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; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_142 = l_Lean_Syntax_getArg(x_1, x_140); +x_143 = l_Lean_mkIdentFrom(x_1, x_13); +x_144 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_145 = lean_array_push(x_144, x_143); +x_146 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_147 = lean_array_push(x_145, x_146); +x_148 = l_Lean_nullKind___closed__2; +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = l_Lean_Elab_Command_expandNotation___closed__2; +x_151 = lean_array_push(x_150, x_149); +x_152 = l_Array_empty___closed__1; +x_153 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_152); lean_dec(x_27); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_150); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_153, x_156); -x_158 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_159 = lean_array_push(x_157, x_158); -x_160 = lean_array_push(x_159, x_9); -x_161 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_160); -x_163 = lean_array_push(x_154, x_162); -x_164 = l_Lean_Elab_Command_expandNotation___closed__6; -x_165 = lean_array_push(x_164, x_139); -x_166 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_167 = lean_array_push(x_165, x_166); -x_168 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_148); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_151, x_154); +x_156 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_157 = lean_array_push(x_155, x_156); +x_158 = lean_array_push(x_157, x_9); +x_159 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +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_array_push(x_152, x_160); +x_162 = l_Lean_Elab_Command_expandNotation___closed__7; +x_163 = lean_array_push(x_162, x_137); +x_164 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_165 = lean_array_push(x_163, x_164); +x_166 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_152, x_167); x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_154, x_169); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_150); -lean_ctor_set(x_171, 1, x_170); -x_172 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_173 = lean_array_push(x_172, x_171); -x_174 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_175 = lean_array_push(x_173, x_174); -x_176 = lean_array_push(x_164, x_144); -x_177 = lean_array_push(x_176, x_166); +lean_ctor_set(x_169, 0, x_148); +lean_ctor_set(x_169, 1, x_168); +x_170 = lean_array_push(x_152, x_169); +x_171 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_172 = lean_array_push(x_170, x_171); +x_173 = lean_array_push(x_162, x_142); +x_174 = lean_array_push(x_173, x_164); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_166); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_172, x_175); +x_177 = l_Lean_Parser_Term_matchAlt___closed__2; x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_168); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_175, x_178); -x_180 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_179); -x_182 = lean_array_push(x_154, x_181); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_150); -lean_ctor_set(x_183, 1, x_182); -x_184 = l_Lean_Elab_Command_expandNotation___closed__4; -x_185 = lean_array_push(x_184, x_183); -x_186 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_179 = lean_array_push(x_152, x_178); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_148); +lean_ctor_set(x_180, 1, x_179); +x_181 = l_Lean_Elab_Command_expandNotation___closed__5; +x_182 = lean_array_push(x_181, x_180); +x_183 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_185 = lean_array_push(x_161, x_184); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_148); +lean_ctor_set(x_186, 1, x_185); +x_187 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -x_188 = lean_array_push(x_163, x_187); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_150); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_190, 0, x_189); -return x_190; +return x_187; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_191 = lean_unsigned_to_nat(6u); -x_192 = l_Lean_Syntax_getArg(x_1, x_191); -x_193 = l_Lean_mkIdentFrom(x_1, x_13); -x_194 = l_Lean_Elab_Term_elabArrayLit___closed__12; -x_195 = lean_array_push(x_194, x_193); -x_196 = l_Lean_Elab_Term_elabArrayLit___closed__13; -x_197 = lean_array_push(x_195, x_196); -x_198 = l_Lean_nullKind___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = l_Lean_Elab_Command_expandNotation___closed__2; -x_201 = lean_array_push(x_200, x_199); -x_202 = l_Array_empty___closed__1; -x_203 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_202); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_188 = lean_unsigned_to_nat(6u); +x_189 = l_Lean_Syntax_getArg(x_1, x_188); +x_190 = l_Lean_mkIdentFrom(x_1, x_13); +x_191 = l_Lean_Elab_Term_elabArrayLit___closed__12; +x_192 = lean_array_push(x_191, x_190); +x_193 = l_Lean_Elab_Term_elabArrayLit___closed__13; +x_194 = lean_array_push(x_192, x_193); +x_195 = l_Lean_nullKind___closed__2; +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Elab_Command_expandNotation___closed__2; +x_198 = lean_array_push(x_197, x_196); +x_199 = l_Array_empty___closed__1; +x_200 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_27, x_27, x_19, x_199); lean_dec(x_27); -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_198); -lean_ctor_set(x_204, 1, x_203); -x_205 = lean_array_push(x_201, x_204); -x_206 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; -x_207 = lean_array_push(x_205, x_206); -x_208 = lean_array_push(x_207, x_9); -x_209 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -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_202, x_210); -x_212 = l_Lean_Elab_Command_expandNotation___closed__6; -x_213 = lean_array_push(x_212, x_139); -x_214 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_215 = lean_array_push(x_213, x_214); -x_216 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_215); -x_218 = lean_array_push(x_202, x_217); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_198); -lean_ctor_set(x_219, 1, x_218); -x_220 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -x_221 = lean_array_push(x_220, x_219); -x_222 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_223 = lean_array_push(x_221, x_222); -x_224 = lean_array_push(x_223, x_192); -x_225 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = lean_array_push(x_202, x_226); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_195); +lean_ctor_set(x_201, 1, x_200); +x_202 = lean_array_push(x_198, x_201); +x_203 = l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; +x_204 = lean_array_push(x_202, x_203); +x_205 = lean_array_push(x_204, x_9); +x_206 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_205); +x_208 = lean_array_push(x_199, x_207); +x_209 = l_Lean_Elab_Command_expandNotation___closed__7; +x_210 = lean_array_push(x_209, x_137); +x_211 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_Parser_Term_stxQuot___elambda__1___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = lean_array_push(x_199, x_214); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_195); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_array_push(x_199, x_216); +x_218 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_219 = lean_array_push(x_217, x_218); +x_220 = lean_array_push(x_219, x_189); +x_221 = l_Lean_Parser_Term_matchAlt___closed__2; +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_220); +x_223 = lean_array_push(x_199, x_222); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_195); +lean_ctor_set(x_224, 1, x_223); +x_225 = l_Lean_Elab_Command_expandNotation___closed__5; +x_226 = lean_array_push(x_225, x_224); +x_227 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_198); -lean_ctor_set(x_228, 1, x_227); -x_229 = l_Lean_Elab_Command_expandNotation___closed__4; -x_230 = lean_array_push(x_229, x_228); -x_231 = l_Lean_Parser_Command_macro__rules___elambda__1___closed__2; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = lean_array_push(x_211, x_232); -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_198); -lean_ctor_set(x_234, 1, x_233); -x_235 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_235, 0, x_234); -return x_235; +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_226); +x_229 = lean_array_push(x_208, x_228); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_195); +lean_ctor_set(x_230, 1, x_229); +x_231 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_231, 0, x_230); +return x_231; } } } @@ -13929,80 +13591,80 @@ lean_mark_persistent(l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax___cl res = l___regBuiltinCommandElab_Lean_Elab_Command_elabSyntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__6); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__7); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__8); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__9); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__10); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__11); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__12); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__13); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__14); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__15); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__16); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__17); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__18); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__19); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__20); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__21); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__22); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__23); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__24); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__25); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__26); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__27); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__28); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__29); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__30); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__31); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__32); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__33); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__34); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__35); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__36); -l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37); +l_Lean_Elab_Command_elabMacroRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__1); +l_Lean_Elab_Command_elabMacroRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__2); +l_Lean_Elab_Command_elabMacroRulesAux___closed__3 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__3); +l_Lean_Elab_Command_elabMacroRulesAux___closed__4 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__4); +l_Lean_Elab_Command_elabMacroRulesAux___closed__5 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__5); +l_Lean_Elab_Command_elabMacroRulesAux___closed__6 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__6); +l_Lean_Elab_Command_elabMacroRulesAux___closed__7 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__7); +l_Lean_Elab_Command_elabMacroRulesAux___closed__8 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__8); +l_Lean_Elab_Command_elabMacroRulesAux___closed__9 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__9); +l_Lean_Elab_Command_elabMacroRulesAux___closed__10 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__10); +l_Lean_Elab_Command_elabMacroRulesAux___closed__11 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__11); +l_Lean_Elab_Command_elabMacroRulesAux___closed__12 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__12); +l_Lean_Elab_Command_elabMacroRulesAux___closed__13 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__13); +l_Lean_Elab_Command_elabMacroRulesAux___closed__14 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__14); +l_Lean_Elab_Command_elabMacroRulesAux___closed__15 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__15); +l_Lean_Elab_Command_elabMacroRulesAux___closed__16 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__16); +l_Lean_Elab_Command_elabMacroRulesAux___closed__17 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__17); +l_Lean_Elab_Command_elabMacroRulesAux___closed__18 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__18); +l_Lean_Elab_Command_elabMacroRulesAux___closed__19 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__19); +l_Lean_Elab_Command_elabMacroRulesAux___closed__20 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__20); +l_Lean_Elab_Command_elabMacroRulesAux___closed__21 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__21); +l_Lean_Elab_Command_elabMacroRulesAux___closed__22 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__22); +l_Lean_Elab_Command_elabMacroRulesAux___closed__23 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__23); +l_Lean_Elab_Command_elabMacroRulesAux___closed__24 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__24); +l_Lean_Elab_Command_elabMacroRulesAux___closed__25 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__25); +l_Lean_Elab_Command_elabMacroRulesAux___closed__26 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__26); +l_Lean_Elab_Command_elabMacroRulesAux___closed__27 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__27); +l_Lean_Elab_Command_elabMacroRulesAux___closed__28 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__28); +l_Lean_Elab_Command_elabMacroRulesAux___closed__29 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__29); +l_Lean_Elab_Command_elabMacroRulesAux___closed__30 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__30); +l_Lean_Elab_Command_elabMacroRulesAux___closed__31 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__31); +l_Lean_Elab_Command_elabMacroRulesAux___closed__32 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__32); +l_Lean_Elab_Command_elabMacroRulesAux___closed__33 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__33); +l_Lean_Elab_Command_elabMacroRulesAux___closed__34 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__34); +l_Lean_Elab_Command_elabMacroRulesAux___closed__35 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__35); +l_Lean_Elab_Command_elabMacroRulesAux___closed__36 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__36); +l_Lean_Elab_Command_elabMacroRulesAux___closed__37 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__37); l_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___closed__1); l___regBuiltinCommandElab_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l___regBuiltinCommandElab_Lean_Elab_Command_elabMacroRules___closed__1(); @@ -14048,6 +13710,8 @@ l_Lean_Elab_Command_expandNotation___closed__5 = _init_l_Lean_Elab_Command_expan lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__5); l_Lean_Elab_Command_expandNotation___closed__6 = _init_l_Lean_Elab_Command_expandNotation___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__6); +l_Lean_Elab_Command_expandNotation___closed__7 = _init_l_Lean_Elab_Command_expandNotation___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_expandNotation___closed__7); l___regBuiltinMacro_Lean_Elab_Command_expandNotation___closed__1 = _init_l___regBuiltinMacro_Lean_Elab_Command_expandNotation___closed__1(); lean_mark_persistent(l___regBuiltinMacro_Lean_Elab_Command_expandNotation___closed__1); res = l___regBuiltinMacro_Lean_Elab_Command_expandNotation(lean_io_mk_world()); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index 9c05c0debc..16fcfdecd4 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -24,7 +24,6 @@ lean_object* l_Lean_Elab_Tactic_getLocalInsts___boxed(lean_object*, lean_object* lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__4(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__3; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_PersistentHashMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__2(lean_object*, lean_object*); @@ -238,7 +237,6 @@ extern lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_monadLog___closed__1; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_save___boxed(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__5; lean_object* l_mkHashMapImp___rarg(lean_object*); @@ -274,6 +272,7 @@ lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__4; lean_object* l_List_erase___main___at_Lean_Elab_Tactic_evalCase___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax(lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__1; @@ -366,6 +365,7 @@ lean_object* l_Lean_Elab_Tactic_EStateM_Backtrackable___closed__2; lean_object* l_Array_toList___rarg(lean_object*); lean_object* l_Lean_Elab_Tactic_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3154,7 +3154,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Tactic_addBuiltinTactic___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -3259,7 +3259,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Tactic_addBuiltinTactic___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3578,7 +3578,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index d22f0646fc..1102c783f1 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -44,7 +44,6 @@ lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawCharLit___closed__3; lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Elab_Term_State_inhabited; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_object*); @@ -448,7 +447,6 @@ lean_object* l_Lean_Elab_Term_elabTermAux(lean_object*, uint8_t, lean_object*, l lean_object* l_Lean_Elab_Term_termElabAttribute___closed__5; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__1; @@ -513,12 +511,12 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNamedHole(lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object*); lean_object* l_Lean_Elab_Term_withLCtx(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__1; @@ -663,6 +661,7 @@ lean_object* l_Lean_Elab_Term_monadLog___closed__11; lean_object* l_Lean_Elab_Term_mkTacticMVar___closed__2; extern lean_object* l_Lean_Expr_Inhabited; lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr(lean_object*); @@ -797,6 +796,7 @@ lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___boxed(lean_object*, lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabRawNumLit(lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); @@ -2741,7 +2741,7 @@ x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_1); x_28 = l_Lean_Elab_Term_addBuiltinTermElab___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_30 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -2846,7 +2846,7 @@ x_52 = l_Lean_Name_toStringWithSep___main(x_51, x_1); x_53 = l_Lean_Elab_Term_addBuiltinTermElab___closed__1; x_54 = lean_string_append(x_53, x_52); lean_dec(x_52); -x_55 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_55 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_56 = lean_string_append(x_54, x_55); x_57 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_57, 0, x_56); @@ -3173,7 +3173,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); @@ -18384,7 +18384,7 @@ lean_object* l_Lean_Elab_Term_elabParen(lean_object* x_1, lean_object* x_2, lean _start: { uint8_t x_5; lean_object* x_147; uint8_t x_148; -x_147 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_147 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_inc(x_1); x_148 = l_Lean_Syntax_isOfKind(x_1, x_147); if (x_148 == 0) @@ -18978,7 +18978,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2; x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__3; x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index ede6401984..f6a0ae68c0 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -17,7 +17,9 @@ lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1___boxed(lean_object* lean_object* l_Lean_Elab_Term_elabBinders(lean_object*); lean_object* l_Lean_Elab_Term_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_7__elabBindersAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabLetDecl___closed__5; lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDepArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,6 +73,7 @@ lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__8; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_11__expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__2; lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__2; @@ -80,6 +83,7 @@ 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*, uint8_t); lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); @@ -101,6 +105,8 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews(lean_obje lean_object* l_Lean_Elab_Term_elabForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabLetDecl___closed__4; +extern lean_object* l_Lean_Parser_Term_let__core___elambda__1___closed__7; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_5__matchBinder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); @@ -141,6 +147,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__3; extern lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__2; +extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(lean_object*); lean_object* l_Lean_Elab_Term_isClass(lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,7 +163,6 @@ lean_object* l_Lean_Elab_Term_expandOptType___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; extern lean_object* l_Lean_mkAppStx___closed__3; lean_object* l___private_Init_Lean_Elab_TermBinders_7__elabBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_5__matchBinder(lean_object*, lean_object*, lean_object*); @@ -167,7 +173,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__1; extern lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5; extern lean_object* l_Lean_mkAppStx___closed__5; lean_object* l_Lean_Elab_Term_elabFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -180,16 +186,20 @@ extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); +lean_object* l_Lean_Elab_Term_elabLetDecl___closed__2; 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_Elab_Term_elabLetDecl___closed__6; 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*); +lean_object* l_Lean_Elab_Term_elabLetDecl___closed__1; lean_object* l_Lean_Elab_Term_mkFreshFVarId___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore(lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1; extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -203,6 +213,7 @@ lean_object* l_Lean_Elab_Term_elabLetIdDecl(lean_object*, lean_object*, lean_obj uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__1; +extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; extern lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__5; lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; @@ -219,6 +230,8 @@ lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___cl extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3; +extern lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__1; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,9 +245,11 @@ lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l___private_Init_Lean_Elab_TermBinders_3__expandOptIdent(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabLetDecl___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -4515,19 +4530,21 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("invalid binder, simple identifier expected"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } lean_object* _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("invalid binder, simple identifier expected"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8() { @@ -4535,6 +4552,16 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -4680,7 +4707,7 @@ 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; +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; lean_object* x_67; lean_object* x_68; uint8_t x_69; x_51 = lean_ctor_get(x_49, 0); lean_dec(x_51); x_52 = l_Array_empty___closed__1; @@ -4701,53 +4728,53 @@ 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); +x_66 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_67 = lean_array_push(x_65, x_66); lean_inc(x_11); -x_66 = lean_array_push(x_52, x_11); -x_67 = !lean_is_exclusive(x_11); -if (x_67 == 0) +x_68 = lean_array_push(x_52, x_11); +x_69 = !lean_is_exclusive(x_11); +if (x_69 == 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_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_70 = lean_ctor_get(x_11, 1); +lean_dec(x_70); +x_71 = lean_ctor_get(x_11, 0); +lean_dec(x_71); +lean_ctor_set(x_11, 1, x_68); lean_ctor_set(x_11, 0, x_59); -x_70 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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); +x_72 = lean_array_push(x_52, x_11); +x_73 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_74 = lean_array_push(x_72, x_73); +x_75 = lean_array_push(x_74, x_46); +x_76 = l_Lean_Parser_Term_matchAlt___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_52, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_59); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_67, x_79); +x_81 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +lean_ctor_set(x_43, 1, x_82); 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_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__5; -x_84 = lean_array_push(x_83, x_82); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_59); +lean_ctor_set(x_83, 1, x_68); +x_84 = lean_array_push(x_52, x_83); 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_88 = l_Lean_Parser_Term_matchAlt___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); @@ -4755,7 +4782,7 @@ 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_92 = lean_array_push(x_67, 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); @@ -4767,7 +4794,7 @@ 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; +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; lean_object* x_126; x_95 = lean_ctor_get(x_49, 1); lean_inc(x_95); lean_dec(x_49); @@ -4789,2674 +4816,2690 @@ 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); +x_110 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_111 = lean_array_push(x_109, x_110); lean_inc(x_11); -x_110 = lean_array_push(x_96, x_11); +x_112 = 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; + x_113 = x_11; } else { lean_dec_ref(x_11); - x_111 = lean_box(0); + x_113 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(1, 2, 0); } else { - x_112 = x_111; + x_114 = x_113; } -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__5; -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; +lean_ctor_set(x_114, 0, x_103); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_array_push(x_96, x_114); +x_116 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_117 = lean_array_push(x_115, x_116); +x_118 = lean_array_push(x_117, x_46); +x_119 = l_Lean_Parser_Term_matchAlt___closed__2; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_96, x_120); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_103); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_111, x_122); +x_124 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +lean_ctor_set(x_43, 1, x_125); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_43); +lean_ctor_set(x_126, 1, x_95); +return x_126; } } 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_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; lean_object* x_164; lean_object* x_165; +x_127 = lean_ctor_get(x_43, 0); +x_128 = lean_ctor_get(x_43, 1); +lean_inc(x_128); lean_inc(x_127); -lean_inc(x_126); lean_dec(x_43); -x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_44); +x_129 = 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; +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_131 = l_Lean_Elab_Term_getMainModule___rarg(x_130); +x_132 = lean_ctor_get(x_131, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_133 = x_131; } else { - lean_dec_ref(x_130); - x_132 = lean_box(0); + lean_dec_ref(x_131); + x_133 = 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); +x_134 = l_Array_empty___closed__1; +x_135 = lean_array_push(x_134, x_35); +x_136 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_137 = lean_array_push(x_135, x_136); +x_138 = l_Lean_mkTermIdFromIdent___closed__2; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = lean_array_push(x_134, x_139); +x_141 = l_Lean_nullKind___closed__2; +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_140); +x_143 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_144 = lean_array_push(x_143, x_142); +x_145 = lean_array_push(x_144, x_136); +x_146 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_147 = lean_array_push(x_145, x_146); +x_148 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_149 = lean_array_push(x_147, x_148); lean_inc(x_11); -x_147 = lean_array_push(x_133, x_11); +x_150 = lean_array_push(x_134, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_148 = x_11; + x_151 = x_11; } else { lean_dec_ref(x_11); - x_148 = lean_box(0); + x_151 = lean_box(0); } -if (lean_is_scalar(x_148)) { - x_149 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); } else { - x_149 = x_148; + x_152 = x_151; } -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__5; -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); +lean_ctor_set(x_152, 0, x_141); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_134, x_152); +x_154 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_array_push(x_155, x_128); +x_157 = l_Lean_Parser_Term_matchAlt___closed__2; 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_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_array_push(x_134, x_158); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_141); +lean_ctor_set(x_160, 1, x_159); +x_161 = lean_array_push(x_149, x_160); +x_162 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_163 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_131); -return x_163; +lean_ctor_set(x_163, 1, x_161); +x_164 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_164, 0, x_127); +lean_ctor_set(x_164, 1, x_163); +if (lean_is_scalar(x_133)) { + x_165 = lean_alloc_ctor(0, 2, 0); +} else { + x_165 = x_133; +} +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_132); +return x_165; } } else { -uint8_t x_164; +uint8_t x_166; lean_dec(x_35); lean_dec(x_11); lean_dec(x_5); -x_164 = !lean_is_exclusive(x_42); -if (x_164 == 0) +x_166 = !lean_is_exclusive(x_42); +if (x_166 == 0) { return x_42; } else { -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_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_42, 0); +x_168 = lean_ctor_get(x_42, 1); +lean_inc(x_168); +lean_inc(x_167); 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; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; } } } else { -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); -lean_dec(x_33); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_170 = lean_ctor_get(x_33, 0); lean_inc(x_170); -lean_dec(x_168); -x_171 = l_Lean_Syntax_isNone(x_170); +lean_dec(x_33); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); lean_dec(x_170); -if (x_171 == 0) +x_173 = l_Lean_Syntax_isNone(x_172); +lean_dec(x_172); +if (x_173 == 0) { -lean_object* x_172; lean_object* x_173; uint8_t x_174; -lean_dec(x_169); +lean_object* x_174; lean_object* x_175; uint8_t x_176; +lean_dec(x_171); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_172 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_173 = l_Lean_Elab_Term_throwError___rarg(x_11, x_172, x_5, x_6); +x_174 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_175 = l_Lean_Elab_Term_throwError___rarg(x_11, x_174, x_5, x_6); lean_dec(x_11); -x_174 = !lean_is_exclusive(x_173); -if (x_174 == 0) +x_176 = !lean_is_exclusive(x_175); +if (x_176 == 0) { -return x_173; +return x_175; } else { -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_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; +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_175, 0); +x_178 = lean_ctor_get(x_175, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_175); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; } } else { -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_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_180 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_179 = lean_unsigned_to_nat(1u); -x_180 = lean_nat_add(x_3, x_179); +x_181 = lean_unsigned_to_nat(1u); +x_182 = lean_nat_add(x_3, x_181); lean_dec(x_3); -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; +x_183 = l_Lean_Elab_Term_mkExplicitBinder(x_171, x_180); +x_184 = lean_array_push(x_4, x_183); +x_3 = x_182; +x_4 = x_184; goto _start; } } } else { -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_186; uint8_t x_187; +x_186 = l_Lean_mkAppStx___closed__3; +x_187 = lean_string_dec_eq(x_25, x_186); +if (x_187 == 0) { -lean_object* x_186; uint8_t x_187; lean_object* x_188; +lean_object* x_188; uint8_t x_189; lean_object* x_190; lean_ctor_set(x_15, 1, x_30); -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) +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_12); +lean_ctor_set(x_188, 1, x_17); +x_189 = 1; +lean_inc(x_188); +x_190 = l_Lean_Syntax_isTermId_x3f(x_188, x_189); +if (lean_obj_tag(x_190) == 0) { -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_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_188); +x_191 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_191, 1); +lean_inc(x_193); +lean_dec(x_191); +x_194 = lean_unsigned_to_nat(1u); +x_195 = lean_nat_add(x_3, x_194); lean_dec(x_3); -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); +x_196 = l_Lean_mkHole(x_11); +lean_inc(x_192); +x_197 = l_Lean_Elab_Term_mkExplicitBinder(x_192, x_196); +x_198 = lean_array_push(x_4, x_197); lean_inc(x_5); -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) +x_199 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_195, x_198, x_5, x_193); +if (lean_obj_tag(x_199) == 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_200; lean_object* x_201; uint8_t x_202; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_199, 1); +lean_inc(x_201); +lean_dec(x_199); +x_202 = !lean_is_exclusive(x_200); +if (x_202 == 0) { -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_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_203 = lean_ctor_get(x_200, 1); +x_204 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_201); lean_dec(x_5); -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -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_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__5; -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__5; -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); +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); 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); +x_206 = l_Lean_Elab_Term_getMainModule___rarg(x_205); +x_207 = !lean_is_exclusive(x_206); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +x_208 = lean_ctor_get(x_206, 0); +lean_dec(x_208); +x_209 = l_Array_empty___closed__1; +x_210 = lean_array_push(x_209, x_192); +x_211 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_mkTermIdFromIdent___closed__2; +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_212); +x_215 = lean_array_push(x_209, x_214); +x_216 = l_Lean_nullKind___closed__2; +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_215); +x_218 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_219 = lean_array_push(x_218, x_217); +x_220 = lean_array_push(x_219, x_211); +x_221 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_222 = lean_array_push(x_220, x_221); +x_223 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_224 = lean_array_push(x_222, x_223); lean_inc(x_11); -x_265 = lean_array_push(x_251, x_11); +x_225 = lean_array_push(x_209, x_11); +x_226 = !lean_is_exclusive(x_11); +if (x_226 == 0) +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +x_227 = lean_ctor_get(x_11, 1); +lean_dec(x_227); +x_228 = lean_ctor_get(x_11, 0); +lean_dec(x_228); +lean_ctor_set(x_11, 1, x_225); +lean_ctor_set(x_11, 0, x_216); +x_229 = lean_array_push(x_209, x_11); +x_230 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_231 = lean_array_push(x_229, x_230); +x_232 = lean_array_push(x_231, x_203); +x_233 = l_Lean_Parser_Term_matchAlt___closed__2; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_232); +x_235 = lean_array_push(x_209, x_234); +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_216); +lean_ctor_set(x_236, 1, x_235); +x_237 = lean_array_push(x_224, x_236); +x_238 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_237); +lean_ctor_set(x_200, 1, x_239); +lean_ctor_set(x_206, 0, x_200); +return x_206; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_11); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_216); +lean_ctor_set(x_240, 1, x_225); +x_241 = lean_array_push(x_209, x_240); +x_242 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_243 = lean_array_push(x_241, x_242); +x_244 = lean_array_push(x_243, x_203); +x_245 = l_Lean_Parser_Term_matchAlt___closed__2; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +x_247 = lean_array_push(x_209, x_246); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_216); +lean_ctor_set(x_248, 1, x_247); +x_249 = lean_array_push(x_224, x_248); +x_250 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +lean_ctor_set(x_200, 1, x_251); +lean_ctor_set(x_206, 0, x_200); +return x_206; +} +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_252 = lean_ctor_get(x_206, 1); +lean_inc(x_252); +lean_dec(x_206); +x_253 = l_Array_empty___closed__1; +x_254 = lean_array_push(x_253, x_192); +x_255 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_256 = lean_array_push(x_254, x_255); +x_257 = l_Lean_mkTermIdFromIdent___closed__2; +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_256); +x_259 = lean_array_push(x_253, x_258); +x_260 = l_Lean_nullKind___closed__2; +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_259); +x_262 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_263 = lean_array_push(x_262, x_261); +x_264 = lean_array_push(x_263, x_255); +x_265 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_266 = lean_array_push(x_264, x_265); +x_267 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_268 = lean_array_push(x_266, x_267); +lean_inc(x_11); +x_269 = lean_array_push(x_253, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_266 = x_11; + x_270 = x_11; } else { lean_dec_ref(x_11); - x_266 = lean_box(0); + x_270 = lean_box(0); } -if (lean_is_scalar(x_266)) { - x_267 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_270)) { + x_271 = lean_alloc_ctor(1, 2, 0); } else { - x_267 = x_266; + x_271 = x_270; } -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__5; -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_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; +lean_ctor_set(x_271, 0, x_260); +lean_ctor_set(x_271, 1, x_269); +x_272 = lean_array_push(x_253, x_271); +x_273 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_274 = lean_array_push(x_272, x_273); +x_275 = lean_array_push(x_274, x_203); +x_276 = l_Lean_Parser_Term_matchAlt___closed__2; +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_275); +x_278 = lean_array_push(x_253, x_277); 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; +lean_ctor_set(x_279, 0, x_260); +lean_ctor_set(x_279, 1, x_278); +x_280 = lean_array_push(x_268, x_279); +x_281 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_280); +lean_ctor_set(x_200, 1, x_282); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_200); +lean_ctor_set(x_283, 1, x_252); +return x_283; } } else { -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_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_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; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_284 = lean_ctor_get(x_200, 0); +x_285 = lean_ctor_get(x_200, 1); +lean_inc(x_285); lean_inc(x_284); -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; +lean_dec(x_200); +x_286 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_201); +lean_dec(x_5); +x_287 = lean_ctor_get(x_286, 1); +lean_inc(x_287); +lean_dec(x_286); +x_288 = l_Lean_Elab_Term_getMainModule___rarg(x_287); +x_289 = lean_ctor_get(x_288, 1); +lean_inc(x_289); +if (lean_is_exclusive(x_288)) { + lean_ctor_release(x_288, 0); + lean_ctor_release(x_288, 1); + x_290 = x_288; } else { - lean_dec_ref(x_285); - x_287 = lean_box(0); + lean_dec_ref(x_288); + x_290 = lean_box(0); } -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_291 = l_Array_empty___closed__1; +x_292 = lean_array_push(x_291, x_192); +x_293 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_294 = lean_array_push(x_292, x_293); +x_295 = l_Lean_mkTermIdFromIdent___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); +x_297 = lean_array_push(x_291, x_296); +x_298 = l_Lean_nullKind___closed__2; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_301 = lean_array_push(x_300, x_299); +x_302 = lean_array_push(x_301, x_293); +x_303 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_304 = lean_array_push(x_302, x_303); +x_305 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_306 = lean_array_push(x_304, x_305); lean_inc(x_11); -x_302 = lean_array_push(x_288, x_11); +x_307 = lean_array_push(x_291, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_303 = x_11; + x_308 = x_11; } else { lean_dec_ref(x_11); - x_303 = lean_box(0); + x_308 = lean_box(0); } -if (lean_is_scalar(x_303)) { - x_304 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_308)) { + x_309 = lean_alloc_ctor(1, 2, 0); } else { - x_304 = x_303; + x_309 = x_308; } -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__5; -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_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_314); -x_317 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_317, 0, x_281); +lean_ctor_set(x_309, 0, x_298); +lean_ctor_set(x_309, 1, x_307); +x_310 = lean_array_push(x_291, x_309); +x_311 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_312 = lean_array_push(x_310, x_311); +x_313 = lean_array_push(x_312, x_285); +x_314 = l_Lean_Parser_Term_matchAlt___closed__2; +x_315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_313); +x_316 = lean_array_push(x_291, x_315); +x_317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_317, 0, x_298); lean_ctor_set(x_317, 1, x_316); -if (lean_is_scalar(x_287)) { - x_318 = lean_alloc_ctor(0, 2, 0); +x_318 = lean_array_push(x_306, x_317); +x_319 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_320, 1, x_318); +x_321 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_321, 0, x_284); +lean_ctor_set(x_321, 1, x_320); +if (lean_is_scalar(x_290)) { + x_322 = lean_alloc_ctor(0, 2, 0); } else { - x_318 = x_287; + x_322 = x_290; } -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_286); -return x_318; -} -} -else -{ -uint8_t x_319; -lean_dec(x_190); -lean_dec(x_11); -lean_dec(x_5); -x_319 = !lean_is_exclusive(x_197); -if (x_319 == 0) -{ -return x_197; -} -else -{ -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_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); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_289); return x_322; } } +else +{ +uint8_t x_323; +lean_dec(x_192); +lean_dec(x_11); +lean_dec(x_5); +x_323 = !lean_is_exclusive(x_199); +if (x_323 == 0) +{ +return x_199; } else { -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_object* x_324; lean_object* x_325; lean_object* x_326; +x_324 = lean_ctor_get(x_199, 0); +x_325 = lean_ctor_get(x_199, 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_inc(x_324); +lean_dec(x_199); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_324); +lean_ctor_set(x_326, 1, x_325); +return x_326; +} +} +} +else { -lean_object* x_327; lean_object* x_328; uint8_t x_329; -lean_dec(x_324); +lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +lean_dec(x_11); +x_327 = lean_ctor_get(x_190, 0); +lean_inc(x_327); +lean_dec(x_190); +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +lean_dec(x_327); +x_330 = l_Lean_Syntax_isNone(x_329); +lean_dec(x_329); +if (x_330 == 0) +{ +lean_object* x_331; lean_object* x_332; uint8_t x_333; +lean_dec(x_328); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_327 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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) +x_331 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_332 = l_Lean_Elab_Term_throwError___rarg(x_188, x_331, x_5, x_6); +lean_dec(x_188); +x_333 = !lean_is_exclusive(x_332); +if (x_333 == 0) { -return x_328; -} -else -{ -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_334; lean_object* x_335; lean_object* x_336; +x_334 = lean_ctor_get(x_332, 0); +x_335 = lean_ctor_get(x_332, 1); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_332); +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_334); +lean_ctor_set(x_336, 1, x_335); +return x_336; +} } else { -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_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; +x_337 = l_Lean_mkHole(x_188); +lean_dec(x_188); +x_338 = lean_unsigned_to_nat(1u); +x_339 = lean_nat_add(x_3, x_338); lean_dec(x_3); -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; +x_340 = l_Lean_Elab_Term_mkExplicitBinder(x_328, x_337); +x_341 = lean_array_push(x_4, x_340); +x_3 = x_339; +x_4 = x_341; goto _start; } } } else { -lean_object* x_339; uint8_t x_340; +lean_object* x_343; uint8_t x_344; lean_dec(x_25); -x_339 = l_Lean_mkAppStx___closed__5; -x_340 = lean_string_dec_eq(x_22, x_339); -if (x_340 == 0) +x_343 = l_Lean_mkAppStx___closed__5; +x_344 = lean_string_dec_eq(x_22, x_343); +if (x_344 == 0) { -lean_object* x_341; uint8_t x_342; lean_object* x_343; +lean_object* x_345; uint8_t x_346; lean_object* x_347; lean_ctor_set(x_15, 1, x_30); -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_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 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_345 = lean_ctor_get(x_344, 0); +lean_ctor_set(x_14, 1, x_186); +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_12); +lean_ctor_set(x_345, 1, x_17); +x_346 = 1; 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); +x_347 = l_Lean_Syntax_isTermId_x3f(x_345, x_346); +if (lean_obj_tag(x_347) == 0) +{ +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +lean_dec(x_345); +x_348 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_348, 1); +lean_inc(x_350); +lean_dec(x_348); +x_351 = lean_unsigned_to_nat(1u); +x_352 = lean_nat_add(x_3, x_351); lean_dec(x_3); -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); +x_353 = l_Lean_mkHole(x_11); +lean_inc(x_349); +x_354 = l_Lean_Elab_Term_mkExplicitBinder(x_349, x_353); +x_355 = lean_array_push(x_4, x_354); lean_inc(x_5); -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) +x_356 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_352, x_355, x_5, x_350); +if (lean_obj_tag(x_356) == 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_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_358 = lean_ctor_get(x_357, 1); +lean_object* x_357; lean_object* x_358; uint8_t x_359; +x_357 = lean_ctor_get(x_356, 0); +lean_inc(x_357); +x_358 = lean_ctor_get(x_356, 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_dec(x_356); +x_359 = !lean_is_exclusive(x_357); +if (x_359 == 0) { -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_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; +x_360 = lean_ctor_get(x_357, 1); +x_361 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_358); +lean_dec(x_5); +x_362 = lean_ctor_get(x_361, 1); +lean_inc(x_362); 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 = 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_376 = lean_array_push(x_362, x_11); -x_377 = !lean_is_exclusive(x_11); -if (x_377 == 0) +x_363 = l_Lean_Elab_Term_getMainModule___rarg(x_362); +x_364 = !lean_is_exclusive(x_363); +if (x_364 == 0) { -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__5; -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_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; +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; +x_365 = lean_ctor_get(x_363, 0); +lean_dec(x_365); +x_366 = l_Array_empty___closed__1; +x_367 = lean_array_push(x_366, x_349); +x_368 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_369 = lean_array_push(x_367, x_368); +x_370 = l_Lean_mkTermIdFromIdent___closed__2; +x_371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_371, 0, x_370); +lean_ctor_set(x_371, 1, x_369); +x_372 = lean_array_push(x_366, x_371); +x_373 = l_Lean_nullKind___closed__2; +x_374 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_372); +x_375 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_376 = lean_array_push(x_375, x_374); +x_377 = lean_array_push(x_376, x_368); +x_378 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_379 = lean_array_push(x_377, x_378); +x_380 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_381 = lean_array_push(x_379, x_380); +lean_inc(x_11); +x_382 = lean_array_push(x_366, x_11); +x_383 = !lean_is_exclusive(x_11); +if (x_383 == 0) +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_384 = lean_ctor_get(x_11, 1); +lean_dec(x_384); +x_385 = lean_ctor_get(x_11, 0); +lean_dec(x_385); +lean_ctor_set(x_11, 1, x_382); +lean_ctor_set(x_11, 0, x_373); +x_386 = lean_array_push(x_366, x_11); +x_387 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_388 = lean_array_push(x_386, x_387); +x_389 = lean_array_push(x_388, x_360); +x_390 = l_Lean_Parser_Term_matchAlt___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; +x_392 = lean_array_push(x_366, x_391); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_373); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_array_push(x_381, x_393); +x_395 = l_Lean_Parser_Term_match___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); +lean_ctor_set(x_357, 1, x_396); +lean_ctor_set(x_363, 0, x_357); +return x_363; } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_dec(x_11); -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__5; -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_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; +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_373); +lean_ctor_set(x_397, 1, x_382); +x_398 = lean_array_push(x_366, x_397); +x_399 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_400 = lean_array_push(x_398, x_399); +x_401 = lean_array_push(x_400, x_360); +x_402 = l_Lean_Parser_Term_matchAlt___closed__2; +x_403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_403, 0, x_402); +lean_ctor_set(x_403, 1, x_401); +x_404 = lean_array_push(x_366, x_403); +x_405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_405, 0, x_373); +lean_ctor_set(x_405, 1, x_404); +x_406 = lean_array_push(x_381, x_405); +x_407 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_357, 1, x_408); +lean_ctor_set(x_363, 0, x_357); +return x_363; } } else { -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; 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 = 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_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; +x_409 = lean_ctor_get(x_363, 1); +lean_inc(x_409); +lean_dec(x_363); +x_410 = l_Array_empty___closed__1; +x_411 = lean_array_push(x_410, x_349); +x_412 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_413 = lean_array_push(x_411, x_412); +x_414 = l_Lean_mkTermIdFromIdent___closed__2; +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +x_416 = lean_array_push(x_410, x_415); +x_417 = l_Lean_nullKind___closed__2; +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_416); +x_419 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_420 = lean_array_push(x_419, x_418); +x_421 = lean_array_push(x_420, x_412); +x_422 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_423 = lean_array_push(x_421, x_422); +x_424 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_425 = lean_array_push(x_423, x_424); lean_inc(x_11); -x_420 = lean_array_push(x_406, x_11); +x_426 = lean_array_push(x_410, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_421 = x_11; + x_427 = x_11; } else { lean_dec_ref(x_11); - x_421 = lean_box(0); + x_427 = lean_box(0); } -if (lean_is_scalar(x_421)) { - x_422 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_427)) { + x_428 = lean_alloc_ctor(1, 2, 0); } else { - x_422 = x_421; + x_428 = x_427; } -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__5; -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_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; +lean_ctor_set(x_428, 0, x_417); +lean_ctor_set(x_428, 1, x_426); +x_429 = lean_array_push(x_410, x_428); +x_430 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_431 = lean_array_push(x_429, x_430); +x_432 = lean_array_push(x_431, x_360); +x_433 = l_Lean_Parser_Term_matchAlt___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; +x_435 = lean_array_push(x_410, x_434); +x_436 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_436, 0, x_417); +lean_ctor_set(x_436, 1, x_435); +x_437 = lean_array_push(x_425, x_436); +x_438 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +lean_ctor_set(x_357, 1, x_439); +x_440 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_440, 0, x_357); +lean_ctor_set(x_440, 1, x_409); +return x_440; } } else { -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_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_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; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; +x_441 = lean_ctor_get(x_357, 0); +x_442 = lean_ctor_get(x_357, 1); +lean_inc(x_442); 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; +lean_dec(x_357); +x_443 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_358); +lean_dec(x_5); +x_444 = lean_ctor_get(x_443, 1); +lean_inc(x_444); +lean_dec(x_443); +x_445 = l_Lean_Elab_Term_getMainModule___rarg(x_444); +x_446 = lean_ctor_get(x_445, 1); +lean_inc(x_446); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_447 = x_445; } else { - lean_dec_ref(x_440); - x_442 = lean_box(0); + lean_dec_ref(x_445); + x_447 = lean_box(0); } -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 = 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); +x_448 = l_Array_empty___closed__1; +x_449 = lean_array_push(x_448, x_349); +x_450 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_451 = lean_array_push(x_449, x_450); +x_452 = l_Lean_mkTermIdFromIdent___closed__2; +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_452); +lean_ctor_set(x_453, 1, x_451); +x_454 = lean_array_push(x_448, x_453); +x_455 = l_Lean_nullKind___closed__2; +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_455); +lean_ctor_set(x_456, 1, x_454); +x_457 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_458 = lean_array_push(x_457, x_456); +x_459 = lean_array_push(x_458, x_450); +x_460 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_461 = lean_array_push(x_459, x_460); +x_462 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_463 = lean_array_push(x_461, x_462); lean_inc(x_11); -x_457 = lean_array_push(x_443, x_11); +x_464 = lean_array_push(x_448, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_458 = x_11; + x_465 = x_11; } else { lean_dec_ref(x_11); - x_458 = lean_box(0); + x_465 = lean_box(0); } -if (lean_is_scalar(x_458)) { - x_459 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_465)) { + x_466 = lean_alloc_ctor(1, 2, 0); } else { - x_459 = x_458; + x_466 = x_465; } -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__5; -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, 0, x_455); 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_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); +x_467 = lean_array_push(x_448, x_466); +x_468 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_469 = lean_array_push(x_467, x_468); +x_470 = lean_array_push(x_469, x_442); +x_471 = l_Lean_Parser_Term_matchAlt___closed__2; +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_470); +x_473 = lean_array_push(x_448, x_472); +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_455); +lean_ctor_set(x_474, 1, x_473); +x_475 = lean_array_push(x_463, x_474); +x_476 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_475); +x_478 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_478, 0, x_441); +lean_ctor_set(x_478, 1, x_477); +if (lean_is_scalar(x_447)) { + x_479 = lean_alloc_ctor(0, 2, 0); } else { - x_473 = x_442; + x_479 = x_447; } -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_441); -return x_473; +lean_ctor_set(x_479, 0, x_478); +lean_ctor_set(x_479, 1, x_446); +return x_479; } } else { -uint8_t x_474; -lean_dec(x_345); +uint8_t x_480; +lean_dec(x_349); lean_dec(x_11); lean_dec(x_5); -x_474 = !lean_is_exclusive(x_352); -if (x_474 == 0) +x_480 = !lean_is_exclusive(x_356); +if (x_480 == 0) { -return x_352; +return x_356; } else { -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); -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_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_482 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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) -{ +lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_481 = lean_ctor_get(x_356, 0); +x_482 = lean_ctor_get(x_356, 1); +lean_inc(x_482); +lean_inc(x_481); +lean_dec(x_356); +x_483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_483, 0, x_481); +lean_ctor_set(x_483, 1, x_482); return x_483; } +} +} else { -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_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; +lean_dec(x_11); +x_484 = lean_ctor_get(x_347, 0); +lean_inc(x_484); +lean_dec(x_347); +x_485 = lean_ctor_get(x_484, 0); 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 +x_486 = lean_ctor_get(x_484, 1); +lean_inc(x_486); +lean_dec(x_484); +x_487 = l_Lean_Syntax_isNone(x_486); +lean_dec(x_486); +if (x_487 == 0) { -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_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_494; uint8_t x_495; -lean_dec(x_22); -x_494 = l_Lean_mkHole___closed__1; -x_495 = lean_string_dec_eq(x_19, x_494); -if (x_495 == 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_498; uint8_t x_499; lean_object* x_500; -lean_ctor_set(x_15, 1, x_30); -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_500 = l_Lean_Syntax_isTermId_x3f(x_498, x_499); -if (lean_obj_tag(x_500) == 0) -{ -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); -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) -{ -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__5; -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_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__5; -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__5; -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__5; -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_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_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; 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_object* x_488; lean_object* x_489; uint8_t x_490; +lean_dec(x_485); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_639 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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) +x_488 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_489 = l_Lean_Elab_Term_throwError___rarg(x_345, x_488, x_5, x_6); +lean_dec(x_345); +x_490 = !lean_is_exclusive(x_489); +if (x_490 == 0) { -return x_640; +return x_489; } 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; +lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_491 = lean_ctor_get(x_489, 0); +x_492 = lean_ctor_get(x_489, 1); +lean_inc(x_492); +lean_inc(x_491); +lean_dec(x_489); +x_493 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_493, 0, x_491); +lean_ctor_set(x_493, 1, x_492); +return x_493; } } else { -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_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; +x_494 = l_Lean_mkHole(x_345); +lean_dec(x_345); +x_495 = lean_unsigned_to_nat(1u); +x_496 = lean_nat_add(x_3, x_495); lean_dec(x_3); -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; +x_497 = l_Lean_Elab_Term_mkExplicitBinder(x_485, x_494); +x_498 = lean_array_push(x_4, x_497); +x_3 = x_496; +x_4 = x_498; goto _start; } } } else { -lean_object* x_651; lean_object* x_652; uint8_t x_653; +lean_object* x_500; uint8_t x_501; +lean_dec(x_22); +x_500 = l_Lean_mkHole___closed__1; +x_501 = lean_string_dec_eq(x_19, x_500); +if (x_501 == 0) +{ +lean_object* x_502; uint8_t x_503; +x_502 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_503 = lean_string_dec_eq(x_19, x_502); +if (x_503 == 0) +{ +lean_object* x_504; uint8_t x_505; lean_object* x_506; +lean_ctor_set(x_15, 1, x_30); +lean_ctor_set(x_14, 1, x_186); +lean_ctor_set(x_13, 1, x_343); +x_504 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_504, 0, x_12); +lean_ctor_set(x_504, 1, x_17); +x_505 = 1; +lean_inc(x_504); +x_506 = l_Lean_Syntax_isTermId_x3f(x_504, x_505); +if (lean_obj_tag(x_506) == 0) +{ +lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +lean_dec(x_504); +x_507 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_508 = lean_ctor_get(x_507, 0); +lean_inc(x_508); +x_509 = lean_ctor_get(x_507, 1); +lean_inc(x_509); +lean_dec(x_507); +x_510 = lean_unsigned_to_nat(1u); +x_511 = lean_nat_add(x_3, x_510); +lean_dec(x_3); +x_512 = l_Lean_mkHole(x_11); +lean_inc(x_508); +x_513 = l_Lean_Elab_Term_mkExplicitBinder(x_508, x_512); +x_514 = lean_array_push(x_4, x_513); +lean_inc(x_5); +x_515 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_511, x_514, x_5, x_509); +if (lean_obj_tag(x_515) == 0) +{ +lean_object* x_516; lean_object* x_517; uint8_t x_518; +x_516 = lean_ctor_get(x_515, 0); +lean_inc(x_516); +x_517 = lean_ctor_get(x_515, 1); +lean_inc(x_517); +lean_dec(x_515); +x_518 = !lean_is_exclusive(x_516); +if (x_518 == 0) +{ +lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; +x_519 = lean_ctor_get(x_516, 1); +x_520 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_517); +lean_dec(x_5); +x_521 = lean_ctor_get(x_520, 1); +lean_inc(x_521); +lean_dec(x_520); +x_522 = l_Lean_Elab_Term_getMainModule___rarg(x_521); +x_523 = !lean_is_exclusive(x_522); +if (x_523 == 0) +{ +lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542; +x_524 = lean_ctor_get(x_522, 0); +lean_dec(x_524); +x_525 = l_Array_empty___closed__1; +x_526 = lean_array_push(x_525, x_508); +x_527 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_528 = lean_array_push(x_526, x_527); +x_529 = l_Lean_mkTermIdFromIdent___closed__2; +x_530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_530, 0, x_529); +lean_ctor_set(x_530, 1, x_528); +x_531 = lean_array_push(x_525, x_530); +x_532 = l_Lean_nullKind___closed__2; +x_533 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +x_534 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_535 = lean_array_push(x_534, x_533); +x_536 = lean_array_push(x_535, x_527); +x_537 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_538 = lean_array_push(x_536, x_537); +x_539 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_540 = lean_array_push(x_538, x_539); +lean_inc(x_11); +x_541 = lean_array_push(x_525, x_11); +x_542 = !lean_is_exclusive(x_11); +if (x_542 == 0) +{ +lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_543 = lean_ctor_get(x_11, 1); +lean_dec(x_543); +x_544 = lean_ctor_get(x_11, 0); +lean_dec(x_544); +lean_ctor_set(x_11, 1, x_541); +lean_ctor_set(x_11, 0, x_532); +x_545 = lean_array_push(x_525, x_11); +x_546 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_547 = lean_array_push(x_545, x_546); +x_548 = lean_array_push(x_547, x_519); +x_549 = l_Lean_Parser_Term_matchAlt___closed__2; +x_550 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_548); +x_551 = lean_array_push(x_525, x_550); +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_532); +lean_ctor_set(x_552, 1, x_551); +x_553 = lean_array_push(x_540, x_552); +x_554 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_555, 0, x_554); +lean_ctor_set(x_555, 1, x_553); +lean_ctor_set(x_516, 1, x_555); +lean_ctor_set(x_522, 0, x_516); +return x_522; +} +else +{ +lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; +lean_dec(x_11); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_532); +lean_ctor_set(x_556, 1, x_541); +x_557 = lean_array_push(x_525, x_556); +x_558 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_559 = lean_array_push(x_557, x_558); +x_560 = lean_array_push(x_559, x_519); +x_561 = l_Lean_Parser_Term_matchAlt___closed__2; +x_562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_562, 0, x_561); +lean_ctor_set(x_562, 1, x_560); +x_563 = lean_array_push(x_525, x_562); +x_564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_564, 0, x_532); +lean_ctor_set(x_564, 1, x_563); +x_565 = lean_array_push(x_540, x_564); +x_566 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_516, 1, x_567); +lean_ctor_set(x_522, 0, x_516); +return x_522; +} +} +else +{ +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; 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; +x_568 = lean_ctor_get(x_522, 1); +lean_inc(x_568); +lean_dec(x_522); +x_569 = l_Array_empty___closed__1; +x_570 = lean_array_push(x_569, x_508); +x_571 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_572 = lean_array_push(x_570, x_571); +x_573 = l_Lean_mkTermIdFromIdent___closed__2; +x_574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_574, 0, x_573); +lean_ctor_set(x_574, 1, x_572); +x_575 = lean_array_push(x_569, x_574); +x_576 = l_Lean_nullKind___closed__2; +x_577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_577, 0, x_576); +lean_ctor_set(x_577, 1, x_575); +x_578 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_579 = lean_array_push(x_578, x_577); +x_580 = lean_array_push(x_579, x_571); +x_581 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_582 = lean_array_push(x_580, x_581); +x_583 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_584 = lean_array_push(x_582, x_583); +lean_inc(x_11); +x_585 = lean_array_push(x_569, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_586 = x_11; +} else { + lean_dec_ref(x_11); + x_586 = lean_box(0); +} +if (lean_is_scalar(x_586)) { + x_587 = lean_alloc_ctor(1, 2, 0); +} else { + x_587 = x_586; +} +lean_ctor_set(x_587, 0, x_576); +lean_ctor_set(x_587, 1, x_585); +x_588 = lean_array_push(x_569, x_587); +x_589 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_590 = lean_array_push(x_588, x_589); +x_591 = lean_array_push(x_590, x_519); +x_592 = l_Lean_Parser_Term_matchAlt___closed__2; +x_593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_593, 0, x_592); +lean_ctor_set(x_593, 1, x_591); +x_594 = lean_array_push(x_569, x_593); +x_595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_595, 0, x_576); +lean_ctor_set(x_595, 1, x_594); +x_596 = lean_array_push(x_584, x_595); +x_597 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_596); +lean_ctor_set(x_516, 1, x_598); +x_599 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_599, 0, x_516); +lean_ctor_set(x_599, 1, x_568); +return x_599; +} +} +else +{ +lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_600 = lean_ctor_get(x_516, 0); +x_601 = lean_ctor_get(x_516, 1); +lean_inc(x_601); +lean_inc(x_600); +lean_dec(x_516); +x_602 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_517); +lean_dec(x_5); +x_603 = lean_ctor_get(x_602, 1); +lean_inc(x_603); +lean_dec(x_602); +x_604 = l_Lean_Elab_Term_getMainModule___rarg(x_603); +x_605 = lean_ctor_get(x_604, 1); +lean_inc(x_605); +if (lean_is_exclusive(x_604)) { + lean_ctor_release(x_604, 0); + lean_ctor_release(x_604, 1); + x_606 = x_604; +} else { + lean_dec_ref(x_604); + x_606 = lean_box(0); +} +x_607 = l_Array_empty___closed__1; +x_608 = lean_array_push(x_607, x_508); +x_609 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_610 = lean_array_push(x_608, x_609); +x_611 = l_Lean_mkTermIdFromIdent___closed__2; +x_612 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_612, 0, x_611); +lean_ctor_set(x_612, 1, x_610); +x_613 = lean_array_push(x_607, x_612); +x_614 = l_Lean_nullKind___closed__2; +x_615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_613); +x_616 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_617 = lean_array_push(x_616, x_615); +x_618 = lean_array_push(x_617, x_609); +x_619 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_620 = lean_array_push(x_618, x_619); +x_621 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_622 = lean_array_push(x_620, x_621); +lean_inc(x_11); +x_623 = lean_array_push(x_607, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_624 = x_11; +} else { + lean_dec_ref(x_11); + x_624 = lean_box(0); +} +if (lean_is_scalar(x_624)) { + x_625 = lean_alloc_ctor(1, 2, 0); +} else { + x_625 = x_624; +} +lean_ctor_set(x_625, 0, x_614); +lean_ctor_set(x_625, 1, x_623); +x_626 = lean_array_push(x_607, x_625); +x_627 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_628 = lean_array_push(x_626, x_627); +x_629 = lean_array_push(x_628, x_601); +x_630 = l_Lean_Parser_Term_matchAlt___closed__2; +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_629); +x_632 = lean_array_push(x_607, x_631); +x_633 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_633, 0, x_614); +lean_ctor_set(x_633, 1, x_632); +x_634 = lean_array_push(x_622, x_633); +x_635 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_635); +lean_ctor_set(x_636, 1, x_634); +x_637 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_637, 0, x_600); +lean_ctor_set(x_637, 1, x_636); +if (lean_is_scalar(x_606)) { + x_638 = lean_alloc_ctor(0, 2, 0); +} else { + x_638 = x_606; +} +lean_ctor_set(x_638, 0, x_637); +lean_ctor_set(x_638, 1, x_605); +return x_638; +} +} +else +{ +uint8_t x_639; +lean_dec(x_508); +lean_dec(x_11); +lean_dec(x_5); +x_639 = !lean_is_exclusive(x_515); +if (x_639 == 0) +{ +return x_515; +} +else +{ +lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_640 = lean_ctor_get(x_515, 0); +x_641 = lean_ctor_get(x_515, 1); +lean_inc(x_641); +lean_inc(x_640); +lean_dec(x_515); +x_642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_642, 0, x_640); +lean_ctor_set(x_642, 1, x_641); +return x_642; +} +} +} +else +{ +lean_object* x_643; lean_object* x_644; lean_object* x_645; uint8_t x_646; +lean_dec(x_11); +x_643 = lean_ctor_get(x_506, 0); +lean_inc(x_643); +lean_dec(x_506); +x_644 = lean_ctor_get(x_643, 0); +lean_inc(x_644); +x_645 = lean_ctor_get(x_643, 1); +lean_inc(x_645); +lean_dec(x_643); +x_646 = l_Lean_Syntax_isNone(x_645); +lean_dec(x_645); +if (x_646 == 0) +{ +lean_object* x_647; lean_object* x_648; uint8_t x_649; +lean_dec(x_644); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_647 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_648 = l_Lean_Elab_Term_throwError___rarg(x_504, x_647, x_5, x_6); +lean_dec(x_504); +x_649 = !lean_is_exclusive(x_648); +if (x_649 == 0) +{ +return x_648; +} +else +{ +lean_object* x_650; lean_object* x_651; lean_object* x_652; +x_650 = lean_ctor_get(x_648, 0); +x_651 = lean_ctor_get(x_648, 1); +lean_inc(x_651); +lean_inc(x_650); +lean_dec(x_648); +x_652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_652, 0, x_650); +lean_ctor_set(x_652, 1, x_651); +return x_652; +} +} +else +{ +lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_653 = l_Lean_mkHole(x_504); +lean_dec(x_504); +x_654 = lean_unsigned_to_nat(1u); +x_655 = lean_nat_add(x_3, x_654); +lean_dec(x_3); +x_656 = l_Lean_Elab_Term_mkExplicitBinder(x_644, x_653); +x_657 = lean_array_push(x_4, x_656); +x_3 = x_655; +x_4 = x_657; +goto _start; +} +} +} +else +{ +lean_object* x_659; lean_object* x_660; uint8_t x_661; 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_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) +x_659 = lean_unsigned_to_nat(1u); +x_660 = l_Lean_Syntax_getArg(x_11, x_659); +x_661 = l_Lean_Syntax_isNone(x_660); +if (x_661 == 0) { -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); -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); +lean_object* x_662; lean_object* x_663; lean_object* x_664; uint8_t x_665; +x_662 = lean_unsigned_to_nat(0u); +x_663 = l_Lean_Syntax_getArg(x_660, x_662); +x_664 = l_Lean_Syntax_getArg(x_660, x_659); +lean_dec(x_660); +x_665 = l_Lean_Syntax_isNone(x_664); 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); -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_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_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_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_673); -x_676 = !lean_is_exclusive(x_674); -if (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_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_697 = lean_array_push(x_683, x_11); -x_698 = !lean_is_exclusive(x_11); -if (x_698 == 0) -{ -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__5; -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_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_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); -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__5; -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_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__5; -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__5; -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_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; uint8_t x_673; +x_666 = l_Lean_Syntax_getArg(x_664, x_662); +lean_dec(x_664); +lean_inc(x_666); +x_667 = l_Lean_Syntax_getKind(x_666); +x_668 = lean_name_mk_string(x_16, x_30); +x_669 = lean_name_mk_string(x_668, x_186); +x_670 = lean_name_mk_string(x_669, x_343); +x_671 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_672 = lean_name_mk_string(x_670, x_671); +x_673 = lean_name_eq(x_667, x_672); +lean_dec(x_672); lean_dec(x_667); +if (x_673 == 0) +{ +lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; +lean_dec(x_666); +lean_dec(x_663); +x_674 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_675 = lean_ctor_get(x_674, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_674, 1); +lean_inc(x_676); +lean_dec(x_674); +x_677 = lean_nat_add(x_3, x_659); +lean_dec(x_3); +x_678 = l_Lean_mkHole(x_11); +lean_inc(x_675); +x_679 = l_Lean_Elab_Term_mkExplicitBinder(x_675, x_678); +x_680 = lean_array_push(x_4, x_679); +lean_inc(x_5); +x_681 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_677, x_680, x_5, x_676); +if (lean_obj_tag(x_681) == 0) +{ +lean_object* x_682; lean_object* x_683; uint8_t x_684; +x_682 = lean_ctor_get(x_681, 0); +lean_inc(x_682); +x_683 = lean_ctor_get(x_681, 1); +lean_inc(x_683); +lean_dec(x_681); +x_684 = !lean_is_exclusive(x_682); +if (x_684 == 0) +{ +lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; uint8_t x_689; +x_685 = lean_ctor_get(x_682, 1); +x_686 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_683); +lean_dec(x_5); +x_687 = lean_ctor_get(x_686, 1); +lean_inc(x_687); +lean_dec(x_686); +x_688 = l_Lean_Elab_Term_getMainModule___rarg(x_687); +x_689 = !lean_is_exclusive(x_688); +if (x_689 == 0) +{ +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; +x_690 = lean_ctor_get(x_688, 0); +lean_dec(x_690); +x_691 = l_Array_empty___closed__1; +x_692 = lean_array_push(x_691, x_675); +x_693 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_694 = lean_array_push(x_692, x_693); +x_695 = l_Lean_mkTermIdFromIdent___closed__2; +x_696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_696, 0, x_695); +lean_ctor_set(x_696, 1, x_694); +x_697 = lean_array_push(x_691, x_696); +x_698 = l_Lean_nullKind___closed__2; +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_698); +lean_ctor_set(x_699, 1, x_697); +x_700 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_701 = lean_array_push(x_700, x_699); +x_702 = lean_array_push(x_701, x_693); +x_703 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_704 = lean_array_push(x_702, x_703); +x_705 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_706 = lean_array_push(x_704, x_705); +lean_inc(x_11); +x_707 = lean_array_push(x_691, x_11); +x_708 = !lean_is_exclusive(x_11); +if (x_708 == 0) +{ +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; +x_709 = lean_ctor_get(x_11, 1); +lean_dec(x_709); +x_710 = lean_ctor_get(x_11, 0); +lean_dec(x_710); +lean_ctor_set(x_11, 1, x_707); +lean_ctor_set(x_11, 0, x_698); +x_711 = lean_array_push(x_691, x_11); +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_685); +x_715 = l_Lean_Parser_Term_matchAlt___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_691, x_716); +x_718 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_718, 0, x_698); +lean_ctor_set(x_718, 1, x_717); +x_719 = lean_array_push(x_706, 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_682, 1, x_721); +lean_ctor_set(x_688, 0, x_682); +return x_688; +} +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_dec(x_11); +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_698); +lean_ctor_set(x_722, 1, x_707); +x_723 = lean_array_push(x_691, x_722); +x_724 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_725 = lean_array_push(x_723, x_724); +x_726 = lean_array_push(x_725, x_685); +x_727 = l_Lean_Parser_Term_matchAlt___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_691, x_728); +x_730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_730, 0, x_698); +lean_ctor_set(x_730, 1, x_729); +x_731 = lean_array_push(x_706, x_730); +x_732 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_733, 0, x_732); +lean_ctor_set(x_733, 1, x_731); +lean_ctor_set(x_682, 1, x_733); +lean_ctor_set(x_688, 0, x_682); +return x_688; +} +} +else +{ +lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_734 = lean_ctor_get(x_688, 1); +lean_inc(x_734); +lean_dec(x_688); +x_735 = l_Array_empty___closed__1; +x_736 = lean_array_push(x_735, x_675); +x_737 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_738 = lean_array_push(x_736, x_737); +x_739 = l_Lean_mkTermIdFromIdent___closed__2; +x_740 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_738); +x_741 = lean_array_push(x_735, x_740); +x_742 = l_Lean_nullKind___closed__2; +x_743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_743, 0, x_742); +lean_ctor_set(x_743, 1, x_741); +x_744 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_745 = lean_array_push(x_744, x_743); +x_746 = lean_array_push(x_745, x_737); +x_747 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_748 = lean_array_push(x_746, x_747); +x_749 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_750 = lean_array_push(x_748, x_749); +lean_inc(x_11); +x_751 = lean_array_push(x_735, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_752 = x_11; +} else { + lean_dec_ref(x_11); + x_752 = lean_box(0); +} +if (lean_is_scalar(x_752)) { + x_753 = lean_alloc_ctor(1, 2, 0); +} else { + x_753 = x_752; +} +lean_ctor_set(x_753, 0, x_742); +lean_ctor_set(x_753, 1, x_751); +x_754 = lean_array_push(x_735, x_753); +x_755 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_756 = lean_array_push(x_754, x_755); +x_757 = lean_array_push(x_756, x_685); +x_758 = l_Lean_Parser_Term_matchAlt___closed__2; +x_759 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_759, 0, x_758); +lean_ctor_set(x_759, 1, x_757); +x_760 = lean_array_push(x_735, x_759); +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_742); +lean_ctor_set(x_761, 1, x_760); +x_762 = lean_array_push(x_750, x_761); +x_763 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_764 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_764, 0, x_763); +lean_ctor_set(x_764, 1, x_762); +lean_ctor_set(x_682, 1, x_764); +x_765 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_765, 0, x_682); +lean_ctor_set(x_765, 1, x_734); +return x_765; +} +} +else +{ +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; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; +x_766 = lean_ctor_get(x_682, 0); +x_767 = lean_ctor_get(x_682, 1); +lean_inc(x_767); +lean_inc(x_766); +lean_dec(x_682); +x_768 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_683); +lean_dec(x_5); +x_769 = lean_ctor_get(x_768, 1); +lean_inc(x_769); +lean_dec(x_768); +x_770 = l_Lean_Elab_Term_getMainModule___rarg(x_769); +x_771 = lean_ctor_get(x_770, 1); +lean_inc(x_771); +if (lean_is_exclusive(x_770)) { + lean_ctor_release(x_770, 0); + lean_ctor_release(x_770, 1); + x_772 = x_770; +} else { + lean_dec_ref(x_770); + x_772 = lean_box(0); +} +x_773 = l_Array_empty___closed__1; +x_774 = lean_array_push(x_773, x_675); +x_775 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_776 = lean_array_push(x_774, x_775); +x_777 = l_Lean_mkTermIdFromIdent___closed__2; +x_778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_778, 0, x_777); +lean_ctor_set(x_778, 1, x_776); +x_779 = lean_array_push(x_773, x_778); +x_780 = l_Lean_nullKind___closed__2; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +x_782 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_783 = lean_array_push(x_782, x_781); +x_784 = lean_array_push(x_783, x_775); +x_785 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_786 = lean_array_push(x_784, x_785); +x_787 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_788 = lean_array_push(x_786, x_787); +lean_inc(x_11); +x_789 = lean_array_push(x_773, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_790 = x_11; +} else { + lean_dec_ref(x_11); + x_790 = lean_box(0); +} +if (lean_is_scalar(x_790)) { + x_791 = lean_alloc_ctor(1, 2, 0); +} else { + x_791 = x_790; +} +lean_ctor_set(x_791, 0, x_780); +lean_ctor_set(x_791, 1, x_789); +x_792 = lean_array_push(x_773, x_791); +x_793 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_794 = lean_array_push(x_792, x_793); +x_795 = lean_array_push(x_794, x_767); +x_796 = l_Lean_Parser_Term_matchAlt___closed__2; +x_797 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_797, 0, x_796); +lean_ctor_set(x_797, 1, x_795); +x_798 = lean_array_push(x_773, x_797); +x_799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_799, 0, x_780); +lean_ctor_set(x_799, 1, x_798); +x_800 = lean_array_push(x_788, x_799); +x_801 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_802 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_802, 0, x_801); +lean_ctor_set(x_802, 1, x_800); +x_803 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_803, 0, x_766); +lean_ctor_set(x_803, 1, x_802); +if (lean_is_scalar(x_772)) { + x_804 = lean_alloc_ctor(0, 2, 0); +} else { + x_804 = x_772; +} +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_771); +return x_804; +} +} +else +{ +uint8_t x_805; +lean_dec(x_675); lean_dec(x_11); lean_dec(x_5); -x_795 = !lean_is_exclusive(x_673); -if (x_795 == 0) +x_805 = !lean_is_exclusive(x_681); +if (x_805 == 0) { -return x_673; +return x_681; } else { -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); -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; +lean_object* x_806; lean_object* x_807; lean_object* x_808; +x_806 = lean_ctor_get(x_681, 0); +x_807 = lean_ctor_get(x_681, 1); +lean_inc(x_807); +lean_inc(x_806); +lean_dec(x_681); +x_808 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_808, 0, x_806); +lean_ctor_set(x_808, 1, x_807); +return x_808; } } } else { -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_ctor_get(x_800, 1); -lean_inc(x_802); -lean_dec(x_800); -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) -{ -lean_object* x_811; lean_object* x_812; uint8_t x_813; +lean_object* x_809; lean_object* x_810; lean_object* x_811; +x_809 = l_Lean_Syntax_getArg(x_666, x_659); +lean_dec(x_666); +x_810 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_663, x_5, x_6); x_811 = lean_ctor_get(x_810, 0); lean_inc(x_811); +if (lean_obj_tag(x_811) == 0) +{ +lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; +lean_dec(x_809); 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) +x_813 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_812); +x_814 = lean_ctor_get(x_813, 0); +lean_inc(x_814); +x_815 = lean_ctor_get(x_813, 1); +lean_inc(x_815); +lean_dec(x_813); +x_816 = lean_nat_add(x_3, x_659); +lean_dec(x_3); +x_817 = l_Lean_mkHole(x_11); +lean_inc(x_814); +x_818 = l_Lean_Elab_Term_mkExplicitBinder(x_814, x_817); +x_819 = lean_array_push(x_4, x_818); +lean_inc(x_5); +x_820 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_816, x_819, x_5, x_815); +if (lean_obj_tag(x_820) == 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_object* x_821; lean_object* x_822; uint8_t x_823; +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_820, 1); +lean_inc(x_822); +lean_dec(x_820); +x_823 = !lean_is_exclusive(x_821); +if (x_823 == 0) +{ +lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; uint8_t x_828; +x_824 = lean_ctor_get(x_821, 1); +x_825 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_822); 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) +x_826 = lean_ctor_get(x_825, 1); +lean_inc(x_826); +lean_dec(x_825); +x_827 = l_Lean_Elab_Term_getMainModule___rarg(x_826); +x_828 = !lean_is_exclusive(x_827); +if (x_828 == 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; +lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; uint8_t x_847; +x_829 = lean_ctor_get(x_827, 0); +lean_dec(x_829); +x_830 = l_Array_empty___closed__1; +x_831 = lean_array_push(x_830, x_814); +x_832 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_833 = lean_array_push(x_831, x_832); +x_834 = l_Lean_mkTermIdFromIdent___closed__2; +x_835 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_835, 0, x_834); +lean_ctor_set(x_835, 1, x_833); +x_836 = lean_array_push(x_830, x_835); +x_837 = l_Lean_nullKind___closed__2; +x_838 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_838, 0, x_837); +lean_ctor_set(x_838, 1, x_836); +x_839 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_840 = lean_array_push(x_839, x_838); +x_841 = lean_array_push(x_840, x_832); +x_842 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_843 = lean_array_push(x_841, x_842); +x_844 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_845 = lean_array_push(x_843, x_844); lean_inc(x_11); -x_834 = lean_array_push(x_820, x_11); -x_835 = !lean_is_exclusive(x_11); -if (x_835 == 0) +x_846 = lean_array_push(x_830, x_11); +x_847 = !lean_is_exclusive(x_11); +if (x_847 == 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__5; -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_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__5; -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; +lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; +x_848 = lean_ctor_get(x_11, 1); +lean_dec(x_848); +x_849 = lean_ctor_get(x_11, 0); +lean_dec(x_849); +lean_ctor_set(x_11, 1, x_846); +lean_ctor_set(x_11, 0, x_837); +x_850 = lean_array_push(x_830, x_11); +x_851 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_852 = lean_array_push(x_850, x_851); +x_853 = lean_array_push(x_852, x_824); +x_854 = l_Lean_Parser_Term_matchAlt___closed__2; +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_854); +lean_ctor_set(x_855, 1, x_853); +x_856 = lean_array_push(x_830, x_855); 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; -} +lean_ctor_set(x_857, 0, x_837); +lean_ctor_set(x_857, 1, x_856); +x_858 = lean_array_push(x_845, x_857); +x_859 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_860 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_860, 0, x_859); +lean_ctor_set(x_860, 1, x_858); +lean_ctor_set(x_821, 1, x_860); +lean_ctor_set(x_827, 0, x_821); +return x_827; } 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; +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_dec(x_11); +x_861 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_861, 0, x_837); +lean_ctor_set(x_861, 1, x_846); +x_862 = lean_array_push(x_830, x_861); +x_863 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_864 = lean_array_push(x_862, x_863); +x_865 = lean_array_push(x_864, x_824); +x_866 = l_Lean_Parser_Term_matchAlt___closed__2; +x_867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_867, 0, x_866); +lean_ctor_set(x_867, 1, x_865); +x_868 = lean_array_push(x_830, x_867); 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; +lean_ctor_set(x_869, 0, x_837); +lean_ctor_set(x_869, 1, x_868); +x_870 = lean_array_push(x_845, x_869); +x_871 = l_Lean_Parser_Term_match___elambda__1___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; +lean_ctor_set(x_821, 1, x_872); +lean_ctor_set(x_827, 0, x_821); +return x_827; +} +} +else +{ +lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_873 = lean_ctor_get(x_827, 1); +lean_inc(x_873); +lean_dec(x_827); +x_874 = l_Array_empty___closed__1; +x_875 = lean_array_push(x_874, x_814); +x_876 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_877 = lean_array_push(x_875, x_876); +x_878 = l_Lean_mkTermIdFromIdent___closed__2; +x_879 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_879, 0, x_878); +lean_ctor_set(x_879, 1, x_877); +x_880 = lean_array_push(x_874, x_879); +x_881 = l_Lean_nullKind___closed__2; +x_882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_882, 0, x_881); +lean_ctor_set(x_882, 1, x_880); +x_883 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_884 = lean_array_push(x_883, x_882); +x_885 = lean_array_push(x_884, x_876); +x_886 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_887 = lean_array_push(x_885, x_886); +x_888 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_889 = lean_array_push(x_887, x_888); lean_inc(x_11); -x_878 = lean_array_push(x_864, x_11); +x_890 = lean_array_push(x_874, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_879 = x_11; + x_891 = x_11; } else { lean_dec_ref(x_11); - x_879 = lean_box(0); + x_891 = lean_box(0); } -if (lean_is_scalar(x_879)) { - x_880 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_891)) { + x_892 = lean_alloc_ctor(1, 2, 0); } else { - x_880 = x_879; + x_892 = x_891; } -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__5; -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, 0, x_881); 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; +x_893 = lean_array_push(x_874, x_892); +x_894 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_895 = lean_array_push(x_893, x_894); +x_896 = lean_array_push(x_895, x_824); +x_897 = l_Lean_Parser_Term_matchAlt___closed__2; +x_898 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_898, 0, x_897); +lean_ctor_set(x_898, 1, x_896); +x_899 = lean_array_push(x_874, x_898); +x_900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_900, 0, x_881); +lean_ctor_set(x_900, 1, x_899); +x_901 = lean_array_push(x_889, x_900); +x_902 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_903, 0, x_902); +lean_ctor_set(x_903, 1, x_901); +lean_ctor_set(x_821, 1, x_903); +x_904 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_904, 0, x_821); +lean_ctor_set(x_904, 1, x_873); +return x_904; } } 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_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; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; +x_905 = lean_ctor_get(x_821, 0); +x_906 = lean_ctor_get(x_821, 1); +lean_inc(x_906); +lean_inc(x_905); +lean_dec(x_821); +x_907 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_822); 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; +x_908 = lean_ctor_get(x_907, 1); +lean_inc(x_908); +lean_dec(x_907); +x_909 = l_Lean_Elab_Term_getMainModule___rarg(x_908); +x_910 = lean_ctor_get(x_909, 1); +lean_inc(x_910); +if (lean_is_exclusive(x_909)) { + lean_ctor_release(x_909, 0); + lean_ctor_release(x_909, 1); + x_911 = x_909; } else { - lean_dec_ref(x_898); - x_900 = lean_box(0); + lean_dec_ref(x_909); + x_911 = 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); +x_912 = l_Array_empty___closed__1; +x_913 = lean_array_push(x_912, x_814); +x_914 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_915 = lean_array_push(x_913, x_914); +x_916 = l_Lean_mkTermIdFromIdent___closed__2; +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_915); +x_918 = lean_array_push(x_912, x_917); +x_919 = l_Lean_nullKind___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 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_922 = lean_array_push(x_921, x_920); +x_923 = lean_array_push(x_922, x_914); +x_924 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_925 = lean_array_push(x_923, x_924); +x_926 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_927 = lean_array_push(x_925, x_926); lean_inc(x_11); -x_915 = lean_array_push(x_901, x_11); +x_928 = lean_array_push(x_912, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_916 = x_11; + x_929 = x_11; } else { lean_dec_ref(x_11); - x_916 = lean_box(0); + x_929 = lean_box(0); } -if (lean_is_scalar(x_916)) { - x_917 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_929)) { + x_930 = lean_alloc_ctor(1, 2, 0); } else { - x_917 = x_916; + x_930 = x_929; } -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__5; -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); +lean_ctor_set(x_930, 0, x_919); +lean_ctor_set(x_930, 1, x_928); +x_931 = lean_array_push(x_912, x_930); +x_932 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_933 = lean_array_push(x_931, x_932); +x_934 = lean_array_push(x_933, x_906); +x_935 = l_Lean_Parser_Term_matchAlt___closed__2; +x_936 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_936, 0, x_935); +lean_ctor_set(x_936, 1, x_934); +x_937 = lean_array_push(x_912, x_936); +x_938 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_938, 0, x_919); +lean_ctor_set(x_938, 1, x_937); +x_939 = lean_array_push(x_927, x_938); +x_940 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_941 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_941, 0, x_940); +lean_ctor_set(x_941, 1, x_939); +x_942 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_942, 0, x_905); +lean_ctor_set(x_942, 1, x_941); +if (lean_is_scalar(x_911)) { + x_943 = lean_alloc_ctor(0, 2, 0); } else { - x_931 = x_900; + x_943 = x_911; } -lean_ctor_set(x_931, 0, x_930); -lean_ctor_set(x_931, 1, x_899); -return x_931; +lean_ctor_set(x_943, 0, x_942); +lean_ctor_set(x_943, 1, x_910); +return x_943; } } else { -uint8_t x_932; -lean_dec(x_804); +uint8_t x_944; +lean_dec(x_814); lean_dec(x_11); lean_dec(x_5); -x_932 = !lean_is_exclusive(x_810); -if (x_932 == 0) +x_944 = !lean_is_exclusive(x_820); +if (x_944 == 0) { -return x_810; +return x_820; } else { -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_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; +lean_object* x_945; lean_object* x_946; lean_object* x_947; +x_945 = lean_ctor_get(x_820, 0); +x_946 = lean_ctor_get(x_820, 1); +lean_inc(x_946); +lean_inc(x_945); +lean_dec(x_820); +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_945); +lean_ctor_set(x_947, 1, x_946); +return x_947; } } } else { -lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; +lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; 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); +x_948 = lean_ctor_get(x_810, 1); +lean_inc(x_948); +lean_dec(x_810); +x_949 = lean_ctor_get(x_811, 0); +lean_inc(x_949); +lean_dec(x_811); +x_950 = lean_nat_add(x_3, x_659); lean_dec(x_3); -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; +x_951 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_809, x_662, x_949); +x_952 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_951, x_951, x_662, x_4); +lean_dec(x_951); +x_3 = x_950; +x_4 = x_952; +x_6 = x_948; goto _start; } } } else { -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_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_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_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_949); -x_952 = !lean_is_exclusive(x_950); -if (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_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_dec(x_664); +lean_dec(x_663); +x_954 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_955 = lean_ctor_get(x_954, 0); lean_inc(x_955); +x_956 = lean_ctor_get(x_954, 1); +lean_inc(x_956); lean_dec(x_954); -x_956 = l_Lean_Elab_Term_getMainModule___rarg(x_955); -x_957 = !lean_is_exclusive(x_956); -if (x_957 == 0) +x_957 = lean_nat_add(x_3, x_659); +lean_dec(x_3); +x_958 = l_Lean_mkHole(x_11); +lean_inc(x_955); +x_959 = l_Lean_Elab_Term_mkExplicitBinder(x_955, x_958); +x_960 = lean_array_push(x_4, x_959); +lean_inc(x_5); +x_961 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_957, x_960, x_5, x_956); +if (lean_obj_tag(x_961) == 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_object* x_962; lean_object* x_963; uint8_t x_964; +x_962 = lean_ctor_get(x_961, 0); +lean_inc(x_962); +x_963 = lean_ctor_get(x_961, 1); +lean_inc(x_963); +lean_dec(x_961); +x_964 = !lean_is_exclusive(x_962); +if (x_964 == 0) +{ +lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; uint8_t x_969; +x_965 = lean_ctor_get(x_962, 1); +x_966 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_963); +lean_dec(x_5); +x_967 = lean_ctor_get(x_966, 1); +lean_inc(x_967); +lean_dec(x_966); +x_968 = l_Lean_Elab_Term_getMainModule___rarg(x_967); +x_969 = !lean_is_exclusive(x_968); +if (x_969 == 0) +{ +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; uint8_t x_988; +x_970 = lean_ctor_get(x_968, 0); +lean_dec(x_970); +x_971 = l_Array_empty___closed__1; +x_972 = lean_array_push(x_971, x_955); +x_973 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_974 = lean_array_push(x_972, x_973); +x_975 = l_Lean_mkTermIdFromIdent___closed__2; +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_974); +x_977 = lean_array_push(x_971, x_976); +x_978 = l_Lean_nullKind___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 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_981 = lean_array_push(x_980, x_979); +x_982 = lean_array_push(x_981, x_973); +x_983 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_984 = lean_array_push(x_982, x_983); +x_985 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_986 = lean_array_push(x_984, x_985); lean_inc(x_11); -x_973 = lean_array_push(x_959, x_11); -x_974 = !lean_is_exclusive(x_11); -if (x_974 == 0) -{ -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__5; -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_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 +x_987 = lean_array_push(x_971, x_11); +x_988 = !lean_is_exclusive(x_11); +if (x_988 == 0) { 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); -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__5; -x_991 = lean_array_push(x_990, x_989); +x_989 = lean_ctor_get(x_11, 1); +lean_dec(x_989); +x_990 = lean_ctor_get(x_11, 0); +lean_dec(x_990); +lean_ctor_set(x_11, 1, x_987); +lean_ctor_set(x_11, 0, x_978); +x_991 = lean_array_push(x_971, x_11); 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_994 = lean_array_push(x_993, x_965); +x_995 = l_Lean_Parser_Term_matchAlt___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_997 = lean_array_push(x_971, x_996); x_998 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_998, 0, x_966); +lean_ctor_set(x_998, 0, x_978); lean_ctor_set(x_998, 1, x_997); -x_999 = lean_array_push(x_972, x_998); +x_999 = lean_array_push(x_986, 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; -} +lean_ctor_set(x_962, 1, x_1001); +lean_ctor_set(x_968, 0, x_962); +return x_968; } else { -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; +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_dec(x_11); +x_1002 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1002, 0, x_978); +lean_ctor_set(x_1002, 1, x_987); +x_1003 = lean_array_push(x_971, x_1002); +x_1004 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1005 = lean_array_push(x_1003, x_1004); +x_1006 = lean_array_push(x_1005, x_965); +x_1007 = l_Lean_Parser_Term_matchAlt___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__5; -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; +x_1009 = lean_array_push(x_971, x_1008); +x_1010 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1010, 0, x_978); +lean_ctor_set(x_1010, 1, x_1009); +x_1011 = lean_array_push(x_986, x_1010); +x_1012 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1013 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1013, 0, x_1012); +lean_ctor_set(x_1013, 1, x_1011); +lean_ctor_set(x_962, 1, x_1013); +lean_ctor_set(x_968, 0, x_962); +return x_968; } } 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_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; 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; +x_1014 = lean_ctor_get(x_968, 1); +lean_inc(x_1014); +lean_dec(x_968); +x_1015 = l_Array_empty___closed__1; +x_1016 = lean_array_push(x_1015, x_955); +x_1017 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1018 = lean_array_push(x_1016, x_1017); +x_1019 = l_Lean_mkTermIdFromIdent___closed__2; +x_1020 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1020, 0, x_1019); +lean_ctor_set(x_1020, 1, x_1018); +x_1021 = lean_array_push(x_1015, x_1020); +x_1022 = l_Lean_nullKind___closed__2; +x_1023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1023, 0, x_1022); +lean_ctor_set(x_1023, 1, x_1021); +x_1024 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1025 = lean_array_push(x_1024, x_1023); +x_1026 = lean_array_push(x_1025, x_1017); +x_1027 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1028 = lean_array_push(x_1026, x_1027); +x_1029 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1030 = lean_array_push(x_1028, x_1029); +lean_inc(x_11); +x_1031 = lean_array_push(x_1015, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1032 = x_11; +} else { + lean_dec_ref(x_11); + x_1032 = lean_box(0); +} +if (lean_is_scalar(x_1032)) { + x_1033 = lean_alloc_ctor(1, 2, 0); +} else { + x_1033 = x_1032; +} +lean_ctor_set(x_1033, 0, x_1022); +lean_ctor_set(x_1033, 1, x_1031); +x_1034 = lean_array_push(x_1015, x_1033); +x_1035 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1036 = lean_array_push(x_1034, x_1035); +x_1037 = lean_array_push(x_1036, x_965); +x_1038 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1039 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1039, 0, x_1038); +lean_ctor_set(x_1039, 1, x_1037); +x_1040 = lean_array_push(x_1015, x_1039); +x_1041 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1041, 0, x_1022); +lean_ctor_set(x_1041, 1, x_1040); +x_1042 = lean_array_push(x_1030, x_1041); +x_1043 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_962, 1, x_1044); +x_1045 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1045, 0, x_962); +lean_ctor_set(x_1045, 1, x_1014); +return x_1045; +} +} +else +{ +lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; +x_1046 = lean_ctor_get(x_962, 0); +x_1047 = lean_ctor_get(x_962, 1); +lean_inc(x_1047); +lean_inc(x_1046); +lean_dec(x_962); +x_1048 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_963); 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; +x_1049 = lean_ctor_get(x_1048, 1); +lean_inc(x_1049); +lean_dec(x_1048); +x_1050 = l_Lean_Elab_Term_getMainModule___rarg(x_1049); +x_1051 = lean_ctor_get(x_1050, 1); +lean_inc(x_1051); +if (lean_is_exclusive(x_1050)) { + lean_ctor_release(x_1050, 0); + lean_ctor_release(x_1050, 1); + x_1052 = x_1050; } else { - lean_dec_ref(x_1037); - x_1039 = lean_box(0); + lean_dec_ref(x_1050); + x_1052 = 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); +x_1053 = l_Array_empty___closed__1; +x_1054 = lean_array_push(x_1053, x_955); +x_1055 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1056 = lean_array_push(x_1054, x_1055); +x_1057 = l_Lean_mkTermIdFromIdent___closed__2; +x_1058 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1058, 0, x_1057); +lean_ctor_set(x_1058, 1, x_1056); +x_1059 = lean_array_push(x_1053, x_1058); +x_1060 = l_Lean_nullKind___closed__2; +x_1061 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1061, 0, x_1060); +lean_ctor_set(x_1061, 1, x_1059); +x_1062 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1063 = lean_array_push(x_1062, x_1061); +x_1064 = lean_array_push(x_1063, x_1055); +x_1065 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1066 = lean_array_push(x_1064, x_1065); +x_1067 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1068 = lean_array_push(x_1066, x_1067); lean_inc(x_11); -x_1054 = lean_array_push(x_1040, x_11); +x_1069 = lean_array_push(x_1053, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1055 = x_11; + x_1070 = x_11; } else { lean_dec_ref(x_11); - x_1055 = lean_box(0); + x_1070 = lean_box(0); } -if (lean_is_scalar(x_1055)) { - x_1056 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1070)) { + x_1071 = lean_alloc_ctor(1, 2, 0); } else { - x_1056 = x_1055; + x_1071 = x_1070; } -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__5; -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); +lean_ctor_set(x_1071, 0, x_1060); +lean_ctor_set(x_1071, 1, x_1069); +x_1072 = lean_array_push(x_1053, x_1071); +x_1073 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1074 = lean_array_push(x_1072, x_1073); +x_1075 = lean_array_push(x_1074, x_1047); +x_1076 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1077 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1077, 0, x_1076); +lean_ctor_set(x_1077, 1, x_1075); +x_1078 = lean_array_push(x_1053, x_1077); +x_1079 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1079, 0, x_1060); +lean_ctor_set(x_1079, 1, x_1078); +x_1080 = lean_array_push(x_1068, x_1079); +x_1081 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1082 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1082, 0, x_1081); +lean_ctor_set(x_1082, 1, x_1080); +x_1083 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1083, 0, x_1046); +lean_ctor_set(x_1083, 1, x_1082); +if (lean_is_scalar(x_1052)) { + x_1084 = lean_alloc_ctor(0, 2, 0); } else { - x_1070 = x_1039; + x_1084 = x_1052; } -lean_ctor_set(x_1070, 0, x_1069); -lean_ctor_set(x_1070, 1, x_1038); -return x_1070; +lean_ctor_set(x_1084, 0, x_1083); +lean_ctor_set(x_1084, 1, x_1051); +return x_1084; } } else { -uint8_t x_1071; -lean_dec(x_943); +uint8_t x_1085; +lean_dec(x_955); 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_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_inc(x_1072); -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_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_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_1082); -x_1085 = !lean_is_exclusive(x_1083); +x_1085 = !lean_is_exclusive(x_961); if (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_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_1106 = lean_array_push(x_1092, x_11); -x_1107 = !lean_is_exclusive(x_11); -if (x_1107 == 0) -{ -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__5; -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_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; +return x_961; } else { -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); -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__5; -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; +lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; +x_1086 = lean_ctor_get(x_961, 0); +x_1087 = lean_ctor_get(x_961, 1); +lean_inc(x_1087); +lean_inc(x_1086); +lean_dec(x_961); +x_1088 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1088, 0, x_1086); +lean_ctor_set(x_1088, 1, x_1087); +return x_1088; +} +} } } else { -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_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_dec(x_660); +x_1089 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1090 = lean_ctor_get(x_1089, 0); +lean_inc(x_1090); +x_1091 = lean_ctor_get(x_1089, 1); +lean_inc(x_1091); 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); +x_1092 = lean_nat_add(x_3, x_659); +lean_dec(x_3); +x_1093 = l_Lean_mkHole(x_11); +lean_inc(x_1090); +x_1094 = l_Lean_Elab_Term_mkExplicitBinder(x_1090, x_1093); +x_1095 = lean_array_push(x_4, x_1094); +lean_inc(x_5); +x_1096 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1092, x_1095, x_5, x_1091); +if (lean_obj_tag(x_1096) == 0) +{ +lean_object* x_1097; lean_object* x_1098; uint8_t x_1099; +x_1097 = lean_ctor_get(x_1096, 0); +lean_inc(x_1097); +x_1098 = lean_ctor_get(x_1096, 1); +lean_inc(x_1098); +lean_dec(x_1096); +x_1099 = !lean_is_exclusive(x_1097); +if (x_1099 == 0) +{ +lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; uint8_t x_1104; +x_1100 = lean_ctor_get(x_1097, 1); +x_1101 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1098); +lean_dec(x_5); +x_1102 = lean_ctor_get(x_1101, 1); +lean_inc(x_1102); +lean_dec(x_1101); +x_1103 = l_Lean_Elab_Term_getMainModule___rarg(x_1102); +x_1104 = !lean_is_exclusive(x_1103); +if (x_1104 == 0) +{ +lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; uint8_t x_1123; +x_1105 = lean_ctor_get(x_1103, 0); +lean_dec(x_1105); +x_1106 = l_Array_empty___closed__1; +x_1107 = lean_array_push(x_1106, x_1090); +x_1108 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1109 = lean_array_push(x_1107, x_1108); +x_1110 = l_Lean_mkTermIdFromIdent___closed__2; +x_1111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1111, 0, x_1110); +lean_ctor_set(x_1111, 1, x_1109); +x_1112 = lean_array_push(x_1106, x_1111); +x_1113 = l_Lean_nullKind___closed__2; +x_1114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1114, 0, x_1113); +lean_ctor_set(x_1114, 1, x_1112); +x_1115 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1116 = lean_array_push(x_1115, x_1114); +x_1117 = lean_array_push(x_1116, x_1108); +x_1118 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1119 = lean_array_push(x_1117, x_1118); +x_1120 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1121 = lean_array_push(x_1119, x_1120); 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); +x_1122 = lean_array_push(x_1106, x_11); +x_1123 = !lean_is_exclusive(x_11); +if (x_1123 == 0) +{ +lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +x_1124 = lean_ctor_get(x_11, 1); +lean_dec(x_1124); +x_1125 = lean_ctor_get(x_11, 0); +lean_dec(x_1125); +lean_ctor_set(x_11, 1, x_1122); +lean_ctor_set(x_11, 0, x_1113); +x_1126 = lean_array_push(x_1106, x_11); +x_1127 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1128 = lean_array_push(x_1126, x_1127); +x_1129 = lean_array_push(x_1128, x_1100); +x_1130 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1131, 0, x_1130); +lean_ctor_set(x_1131, 1, x_1129); +x_1132 = lean_array_push(x_1106, x_1131); +x_1133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1133, 0, x_1113); +lean_ctor_set(x_1133, 1, x_1132); +x_1134 = lean_array_push(x_1121, x_1133); +x_1135 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_1134); +lean_ctor_set(x_1097, 1, x_1136); +lean_ctor_set(x_1103, 0, x_1097); +return x_1103; } -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__5; -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_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_dec(x_11); +x_1137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1137, 0, x_1113); +lean_ctor_set(x_1137, 1, x_1122); +x_1138 = lean_array_push(x_1106, x_1137); +x_1139 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1140 = lean_array_push(x_1138, x_1139); +x_1141 = lean_array_push(x_1140, x_1100); +x_1142 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1143, 0, x_1142); +lean_ctor_set(x_1143, 1, x_1141); +x_1144 = lean_array_push(x_1106, x_1143); +x_1145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1145, 0, x_1113); +lean_ctor_set(x_1145, 1, x_1144); +x_1146 = lean_array_push(x_1121, x_1145); +x_1147 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +lean_ctor_set(x_1097, 1, x_1148); +lean_ctor_set(x_1103, 0, x_1097); +return x_1103; } } 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_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; 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; +x_1149 = lean_ctor_get(x_1103, 1); +lean_inc(x_1149); +lean_dec(x_1103); +x_1150 = l_Array_empty___closed__1; +x_1151 = lean_array_push(x_1150, x_1090); +x_1152 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1153 = lean_array_push(x_1151, x_1152); +x_1154 = l_Lean_mkTermIdFromIdent___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_1150, x_1155); +x_1157 = l_Lean_nullKind___closed__2; +x_1158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1158, 0, x_1157); +lean_ctor_set(x_1158, 1, x_1156); +x_1159 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1160 = lean_array_push(x_1159, x_1158); +x_1161 = lean_array_push(x_1160, x_1152); +x_1162 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1163 = lean_array_push(x_1161, x_1162); +x_1164 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1165 = lean_array_push(x_1163, x_1164); lean_inc(x_11); -x_1187 = lean_array_push(x_1173, x_11); +x_1166 = lean_array_push(x_1150, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1188 = x_11; + x_1167 = x_11; } else { lean_dec_ref(x_11); - x_1188 = lean_box(0); + x_1167 = lean_box(0); } -if (lean_is_scalar(x_1188)) { - x_1189 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1167)) { + x_1168 = lean_alloc_ctor(1, 2, 0); } else { - x_1189 = x_1188; + x_1168 = x_1167; } -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__5; -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; +lean_ctor_set(x_1168, 0, x_1157); +lean_ctor_set(x_1168, 1, x_1166); +x_1169 = lean_array_push(x_1150, x_1168); +x_1170 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1171 = lean_array_push(x_1169, x_1170); +x_1172 = lean_array_push(x_1171, x_1100); +x_1173 = l_Lean_Parser_Term_matchAlt___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_1150, x_1174); +x_1176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1176, 0, x_1157); +lean_ctor_set(x_1176, 1, x_1175); +x_1177 = lean_array_push(x_1165, x_1176); +x_1178 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1179, 0, x_1178); +lean_ctor_set(x_1179, 1, x_1177); +lean_ctor_set(x_1097, 1, x_1179); +x_1180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1180, 0, x_1097); +lean_ctor_set(x_1180, 1, x_1149); +return x_1180; +} +} +else +{ +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; 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_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; +x_1181 = lean_ctor_get(x_1097, 0); +x_1182 = lean_ctor_get(x_1097, 1); +lean_inc(x_1182); +lean_inc(x_1181); +lean_dec(x_1097); +x_1183 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1098); +lean_dec(x_5); +x_1184 = lean_ctor_get(x_1183, 1); +lean_inc(x_1184); +lean_dec(x_1183); +x_1185 = l_Lean_Elab_Term_getMainModule___rarg(x_1184); +x_1186 = lean_ctor_get(x_1185, 1); +lean_inc(x_1186); +if (lean_is_exclusive(x_1185)) { + lean_ctor_release(x_1185, 0); + lean_ctor_release(x_1185, 1); + x_1187 = x_1185; +} else { + lean_dec_ref(x_1185); + x_1187 = lean_box(0); +} +x_1188 = l_Array_empty___closed__1; +x_1189 = lean_array_push(x_1188, x_1090); +x_1190 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1191 = lean_array_push(x_1189, x_1190); +x_1192 = l_Lean_mkTermIdFromIdent___closed__2; +x_1193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1193, 0, x_1192); +lean_ctor_set(x_1193, 1, x_1191); +x_1194 = lean_array_push(x_1188, x_1193); +x_1195 = l_Lean_nullKind___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); +x_1197 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1198 = lean_array_push(x_1197, x_1196); +x_1199 = lean_array_push(x_1198, x_1190); +x_1200 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1201 = lean_array_push(x_1199, x_1200); +x_1202 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1203 = lean_array_push(x_1201, x_1202); +lean_inc(x_11); +x_1204 = lean_array_push(x_1188, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1205 = x_11; } else { - x_1203 = x_1172; + lean_dec_ref(x_11); + x_1205 = lean_box(0); } -lean_ctor_set(x_1203, 0, x_1202); -lean_ctor_set(x_1203, 1, x_1171); -return x_1203; +if (lean_is_scalar(x_1205)) { + x_1206 = lean_alloc_ctor(1, 2, 0); +} else { + x_1206 = x_1205; +} +lean_ctor_set(x_1206, 0, x_1195); +lean_ctor_set(x_1206, 1, x_1204); +x_1207 = lean_array_push(x_1188, x_1206); +x_1208 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1209 = lean_array_push(x_1207, x_1208); +x_1210 = lean_array_push(x_1209, x_1182); +x_1211 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1212, 0, x_1211); +lean_ctor_set(x_1212, 1, x_1210); +x_1213 = lean_array_push(x_1188, x_1212); +x_1214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1214, 0, x_1195); +lean_ctor_set(x_1214, 1, x_1213); +x_1215 = lean_array_push(x_1203, x_1214); +x_1216 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1217, 0, x_1216); +lean_ctor_set(x_1217, 1, x_1215); +x_1218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1218, 0, x_1181); +lean_ctor_set(x_1218, 1, x_1217); +if (lean_is_scalar(x_1187)) { + x_1219 = lean_alloc_ctor(0, 2, 0); +} else { + x_1219 = x_1187; +} +lean_ctor_set(x_1219, 0, x_1218); +lean_ctor_set(x_1219, 1, x_1186); +return x_1219; } } else { -uint8_t x_1204; -lean_dec(x_1076); +uint8_t x_1220; +lean_dec(x_1090); lean_dec(x_11); lean_dec(x_5); -x_1204 = !lean_is_exclusive(x_1082); -if (x_1204 == 0) +x_1220 = !lean_is_exclusive(x_1096); +if (x_1220 == 0) { -return x_1082; +return x_1096; } 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; +lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; +x_1221 = lean_ctor_get(x_1096, 0); +x_1222 = lean_ctor_get(x_1096, 1); +lean_inc(x_1222); +lean_inc(x_1221); +lean_dec(x_1096); +x_1223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1223, 0, x_1221); +lean_ctor_set(x_1223, 1, x_1222); +return x_1223; } } } @@ -7464,27 +7507,27 @@ return x_1207; } else { -lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; +lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_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_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); +x_1224 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1225 = lean_ctor_get(x_1224, 0); +lean_inc(x_1225); +x_1226 = lean_ctor_get(x_1224, 1); +lean_inc(x_1226); +lean_dec(x_1224); +x_1227 = lean_unsigned_to_nat(1u); +x_1228 = lean_nat_add(x_3, x_1227); lean_dec(x_3); -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; +x_1229 = l_Lean_Elab_Term_mkExplicitBinder(x_1225, x_11); +x_1230 = lean_array_push(x_4, x_1229); +x_3 = x_1228; +x_4 = x_1230; +x_6 = x_1226; goto _start; } } @@ -7493,17 +7536,17 @@ goto _start; } else { -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_object* x_1232; size_t x_1233; lean_object* x_1234; uint8_t x_1235; +x_1232 = lean_ctor_get(x_15, 1); +x_1233 = lean_ctor_get_usize(x_15, 2); +lean_inc(x_1232); lean_dec(x_15); -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) +x_1234 = l_Lean_mkAppStx___closed__1; +x_1235 = lean_string_dec_eq(x_1232, x_1234); +lean_dec(x_1232); +if (x_1235 == 0) { -uint8_t x_1220; lean_object* x_1221; +uint8_t x_1236; lean_object* x_1237; lean_free_object(x_14); lean_dec(x_25); lean_free_object(x_13); @@ -7511,148 +7554,91 @@ lean_dec(x_22); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1220 = 1; +x_1236 = 1; lean_inc(x_11); -x_1221 = l_Lean_Syntax_isTermId_x3f(x_11, x_1220); -if (lean_obj_tag(x_1221) == 0) +x_1237 = l_Lean_Syntax_isTermId_x3f(x_11, x_1236); +if (lean_obj_tag(x_1237) == 0) { -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_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_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_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_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_1231)) { - lean_ctor_release(x_1231, 0); - lean_ctor_release(x_1231, 1); - x_1235 = x_1231; -} else { - lean_dec_ref(x_1231); - x_1235 = lean_box(0); -} -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_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; +x_1238 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1239 = lean_ctor_get(x_1238, 0); 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; +x_1240 = lean_ctor_get(x_1238, 1); +lean_inc(x_1240); +lean_dec(x_1238); +x_1241 = lean_unsigned_to_nat(1u); +x_1242 = lean_nat_add(x_3, x_1241); +lean_dec(x_3); +x_1243 = l_Lean_mkHole(x_11); +lean_inc(x_1239); +x_1244 = l_Lean_Elab_Term_mkExplicitBinder(x_1239, x_1243); +x_1245 = lean_array_push(x_4, x_1244); +lean_inc(x_5); +x_1246 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1242, x_1245, x_5, x_1240); +if (lean_obj_tag(x_1246) == 0) +{ +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; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; +x_1247 = lean_ctor_get(x_1246, 0); +lean_inc(x_1247); +x_1248 = lean_ctor_get(x_1246, 1); +lean_inc(x_1248); +lean_dec(x_1246); +x_1249 = lean_ctor_get(x_1247, 0); +lean_inc(x_1249); +x_1250 = lean_ctor_get(x_1247, 1); +lean_inc(x_1250); +if (lean_is_exclusive(x_1247)) { + lean_ctor_release(x_1247, 0); + lean_ctor_release(x_1247, 1); + x_1251 = x_1247; } else { - lean_dec_ref(x_1238); - x_1240 = lean_box(0); + lean_dec_ref(x_1247); + x_1251 = 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); +x_1252 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1248); +lean_dec(x_5); +x_1253 = lean_ctor_get(x_1252, 1); +lean_inc(x_1253); +lean_dec(x_1252); +x_1254 = l_Lean_Elab_Term_getMainModule___rarg(x_1253); +x_1255 = lean_ctor_get(x_1254, 1); +lean_inc(x_1255); +if (lean_is_exclusive(x_1254)) { + lean_ctor_release(x_1254, 0); + lean_ctor_release(x_1254, 1); + x_1256 = x_1254; +} else { + lean_dec_ref(x_1254); + x_1256 = lean_box(0); +} +x_1257 = l_Array_empty___closed__1; +x_1258 = lean_array_push(x_1257, x_1239); +x_1259 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1260 = lean_array_push(x_1258, x_1259); +x_1261 = l_Lean_mkTermIdFromIdent___closed__2; +x_1262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1262, 0, x_1261); +lean_ctor_set(x_1262, 1, x_1260); +x_1263 = lean_array_push(x_1257, x_1262); +x_1264 = l_Lean_nullKind___closed__2; +x_1265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1265, 0, x_1264); +lean_ctor_set(x_1265, 1, x_1263); +x_1266 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1267 = lean_array_push(x_1266, x_1265); +x_1268 = lean_array_push(x_1267, x_1259); +x_1269 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1270 = lean_array_push(x_1268, x_1269); +x_1271 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1272 = lean_array_push(x_1270, x_1271); lean_inc(x_11); -x_1255 = lean_array_push(x_1241, x_11); +x_1273 = lean_array_push(x_1257, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1256 = x_11; + x_1274 = x_11; } else { lean_dec_ref(x_11); - x_1256 = lean_box(0); -} -if (lean_is_scalar(x_1256)) { - x_1257 = lean_alloc_ctor(1, 2, 0); -} else { - x_1257 = x_1256; -} -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__5; -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); -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_1270 = lean_alloc_ctor(0, 2, 0); -} else { - x_1270 = x_1235; -} -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_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_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_1230); x_1274 = lean_box(0); } if (lean_is_scalar(x_1274)) { @@ -7660,1475 +7646,1540 @@ if (lean_is_scalar(x_1274)) { } else { x_1275 = x_1274; } -lean_ctor_set(x_1275, 0, x_1272); +lean_ctor_set(x_1275, 0, x_1264); lean_ctor_set(x_1275, 1, x_1273); -return x_1275; +x_1276 = lean_array_push(x_1257, x_1275); +x_1277 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1278 = lean_array_push(x_1276, x_1277); +x_1279 = lean_array_push(x_1278, x_1250); +x_1280 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1281, 0, x_1280); +lean_ctor_set(x_1281, 1, x_1279); +x_1282 = lean_array_push(x_1257, x_1281); +x_1283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1283, 0, x_1264); +lean_ctor_set(x_1283, 1, x_1282); +x_1284 = lean_array_push(x_1272, x_1283); +x_1285 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1286, 0, x_1285); +lean_ctor_set(x_1286, 1, x_1284); +if (lean_is_scalar(x_1251)) { + x_1287 = lean_alloc_ctor(0, 2, 0); +} else { + x_1287 = x_1251; +} +lean_ctor_set(x_1287, 0, x_1249); +lean_ctor_set(x_1287, 1, x_1286); +if (lean_is_scalar(x_1256)) { + x_1288 = lean_alloc_ctor(0, 2, 0); +} else { + x_1288 = x_1256; +} +lean_ctor_set(x_1288, 0, x_1287); +lean_ctor_set(x_1288, 1, x_1255); +return x_1288; +} +else +{ +lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; +lean_dec(x_1239); +lean_dec(x_11); +lean_dec(x_5); +x_1289 = lean_ctor_get(x_1246, 0); +lean_inc(x_1289); +x_1290 = lean_ctor_get(x_1246, 1); +lean_inc(x_1290); +if (lean_is_exclusive(x_1246)) { + lean_ctor_release(x_1246, 0); + lean_ctor_release(x_1246, 1); + x_1291 = x_1246; +} else { + lean_dec_ref(x_1246); + x_1291 = lean_box(0); +} +if (lean_is_scalar(x_1291)) { + x_1292 = lean_alloc_ctor(1, 2, 0); +} else { + x_1292 = x_1291; +} +lean_ctor_set(x_1292, 0, x_1289); +lean_ctor_set(x_1292, 1, x_1290); +return x_1292; } } else { -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); -lean_dec(x_1276); -x_1279 = l_Lean_Syntax_isNone(x_1278); -lean_dec(x_1278); -if (x_1279 == 0) +lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; uint8_t x_1296; +x_1293 = lean_ctor_get(x_1237, 0); +lean_inc(x_1293); +lean_dec(x_1237); +x_1294 = lean_ctor_get(x_1293, 0); +lean_inc(x_1294); +x_1295 = lean_ctor_get(x_1293, 1); +lean_inc(x_1295); +lean_dec(x_1293); +x_1296 = l_Lean_Syntax_isNone(x_1295); +lean_dec(x_1295); +if (x_1296 == 0) { -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_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; +lean_dec(x_1294); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1280 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_1281 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1280, x_5, x_6); +x_1297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1298 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1297, 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_1281); - x_1284 = lean_box(0); -} -if (lean_is_scalar(x_1284)) { - x_1285 = lean_alloc_ctor(1, 2, 0); -} else { - x_1285 = x_1284; -} -lean_ctor_set(x_1285, 0, x_1282); -lean_ctor_set(x_1285, 1, x_1283); -return x_1285; -} -else -{ -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_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_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_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_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); +if (lean_is_exclusive(x_1298)) { + lean_ctor_release(x_1298, 0); + lean_ctor_release(x_1298, 1); + x_1301 = x_1298; +} else { + lean_dec_ref(x_1298); + x_1301 = lean_box(0); +} +if (lean_is_scalar(x_1301)) { + x_1302 = lean_alloc_ctor(1, 2, 0); +} else { + x_1302 = x_1301; +} +lean_ctor_set(x_1302, 0, x_1299); +lean_ctor_set(x_1302, 1, x_1300); +return x_1302; +} +else +{ +lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; 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_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_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_1307); - x_1311 = lean_box(0); -} -x_1312 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1308); -lean_dec(x_5); -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__5; -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); +x_1304 = lean_unsigned_to_nat(1u); +x_1305 = lean_nat_add(x_3, x_1304); lean_dec(x_3); -lean_dec(x_2); -x_1356 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_1306 = l_Lean_Elab_Term_mkExplicitBinder(x_1294, x_1303); +x_1307 = lean_array_push(x_4, x_1306); +x_3 = x_1305; +x_4 = x_1307; 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_1309; uint8_t x_1310; +x_1309 = l_Lean_mkAppStx___closed__3; +x_1310 = lean_string_dec_eq(x_25, x_1309); +if (x_1310 == 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_1311; lean_object* x_1312; uint8_t x_1313; lean_object* x_1314; +x_1311 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1311, 0, x_16); +lean_ctor_set(x_1311, 1, x_1234); +lean_ctor_set_usize(x_1311, 2, x_1233); +lean_ctor_set(x_14, 0, x_1311); +x_1312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1312, 0, x_12); +lean_ctor_set(x_1312, 1, x_17); +x_1313 = 1; +lean_inc(x_1312); +x_1314 = l_Lean_Syntax_isTermId_x3f(x_1312, x_1313); +if (lean_obj_tag(x_1314) == 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_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; +lean_dec(x_1312); +x_1315 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1316 = lean_ctor_get(x_1315, 0); +lean_inc(x_1316); +x_1317 = lean_ctor_get(x_1315, 1); +lean_inc(x_1317); +lean_dec(x_1315); +x_1318 = lean_unsigned_to_nat(1u); +x_1319 = lean_nat_add(x_3, x_1318); 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); +x_1320 = l_Lean_mkHole(x_11); +lean_inc(x_1316); +x_1321 = l_Lean_Elab_Term_mkExplicitBinder(x_1316, x_1320); +x_1322 = lean_array_push(x_4, x_1321); 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) +x_1323 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1319, x_1322, x_5, x_1317); +if (lean_obj_tag(x_1323) == 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_1387 = x_1383; +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; lean_object* x_1348; lean_object* x_1349; 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_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; +x_1324 = lean_ctor_get(x_1323, 0); +lean_inc(x_1324); +x_1325 = lean_ctor_get(x_1323, 1); +lean_inc(x_1325); +lean_dec(x_1323); +x_1326 = lean_ctor_get(x_1324, 0); +lean_inc(x_1326); +x_1327 = lean_ctor_get(x_1324, 1); +lean_inc(x_1327); +if (lean_is_exclusive(x_1324)) { + lean_ctor_release(x_1324, 0); + lean_ctor_release(x_1324, 1); + x_1328 = x_1324; } else { - lean_dec_ref(x_1383); - x_1387 = lean_box(0); + lean_dec_ref(x_1324); + x_1328 = lean_box(0); } -x_1388 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1384); +x_1329 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1325); 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; +x_1330 = lean_ctor_get(x_1329, 1); +lean_inc(x_1330); +lean_dec(x_1329); +x_1331 = l_Lean_Elab_Term_getMainModule___rarg(x_1330); +x_1332 = lean_ctor_get(x_1331, 1); +lean_inc(x_1332); +if (lean_is_exclusive(x_1331)) { + lean_ctor_release(x_1331, 0); + lean_ctor_release(x_1331, 1); + x_1333 = x_1331; } else { - lean_dec_ref(x_1390); - x_1392 = lean_box(0); + lean_dec_ref(x_1331); + x_1333 = 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); +x_1334 = l_Array_empty___closed__1; +x_1335 = lean_array_push(x_1334, x_1316); +x_1336 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1337 = lean_array_push(x_1335, x_1336); +x_1338 = l_Lean_mkTermIdFromIdent___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); +x_1340 = lean_array_push(x_1334, x_1339); +x_1341 = l_Lean_nullKind___closed__2; +x_1342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1342, 0, x_1341); +lean_ctor_set(x_1342, 1, x_1340); +x_1343 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1344 = lean_array_push(x_1343, x_1342); +x_1345 = lean_array_push(x_1344, x_1336); +x_1346 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1347 = lean_array_push(x_1345, x_1346); +x_1348 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1349 = lean_array_push(x_1347, x_1348); lean_inc(x_11); -x_1407 = lean_array_push(x_1393, x_11); +x_1350 = lean_array_push(x_1334, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1408 = x_11; + x_1351 = x_11; } else { lean_dec_ref(x_11); - x_1408 = lean_box(0); + x_1351 = lean_box(0); } -if (lean_is_scalar(x_1408)) { - x_1409 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1351)) { + x_1352 = lean_alloc_ctor(1, 2, 0); } else { - x_1409 = x_1408; + x_1352 = x_1351; } -lean_ctor_set(x_1409, 0, x_1400); -lean_ctor_set(x_1409, 1, x_1407); -x_1410 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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; +lean_ctor_set(x_1352, 0, x_1341); +lean_ctor_set(x_1352, 1, x_1350); +x_1353 = lean_array_push(x_1334, x_1352); +x_1354 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1355 = lean_array_push(x_1353, x_1354); +x_1356 = lean_array_push(x_1355, x_1327); +x_1357 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1358 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1358, 0, x_1357); +lean_ctor_set(x_1358, 1, x_1356); +x_1359 = lean_array_push(x_1334, x_1358); +x_1360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1360, 0, x_1341); +lean_ctor_set(x_1360, 1, x_1359); +x_1361 = lean_array_push(x_1349, x_1360); +x_1362 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1363, 0, x_1362); +lean_ctor_set(x_1363, 1, x_1361); +if (lean_is_scalar(x_1328)) { + x_1364 = lean_alloc_ctor(0, 2, 0); +} else { + x_1364 = x_1328; +} +lean_ctor_set(x_1364, 0, x_1326); +lean_ctor_set(x_1364, 1, x_1363); +if (lean_is_scalar(x_1333)) { + x_1365 = lean_alloc_ctor(0, 2, 0); +} else { + x_1365 = x_1333; +} +lean_ctor_set(x_1365, 0, x_1364); +lean_ctor_set(x_1365, 1, x_1332); +return x_1365; +} +else +{ +lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; +lean_dec(x_1316); +lean_dec(x_11); +lean_dec(x_5); +x_1366 = lean_ctor_get(x_1323, 0); +lean_inc(x_1366); +x_1367 = lean_ctor_get(x_1323, 1); +lean_inc(x_1367); +if (lean_is_exclusive(x_1323)) { + lean_ctor_release(x_1323, 0); + lean_ctor_release(x_1323, 1); + x_1368 = x_1323; +} else { + lean_dec_ref(x_1323); + x_1368 = lean_box(0); +} +if (lean_is_scalar(x_1368)) { + x_1369 = lean_alloc_ctor(1, 2, 0); +} else { + x_1369 = x_1368; +} +lean_ctor_set(x_1369, 0, x_1366); +lean_ctor_set(x_1369, 1, x_1367); +return x_1369; +} +} +else +{ +lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; uint8_t x_1373; +lean_dec(x_11); +x_1370 = lean_ctor_get(x_1314, 0); +lean_inc(x_1370); +lean_dec(x_1314); +x_1371 = lean_ctor_get(x_1370, 0); +lean_inc(x_1371); +x_1372 = lean_ctor_get(x_1370, 1); +lean_inc(x_1372); +lean_dec(x_1370); +x_1373 = l_Lean_Syntax_isNone(x_1372); +lean_dec(x_1372); +if (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_dec(x_1371); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1374 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1375 = l_Lean_Elab_Term_throwError___rarg(x_1312, x_1374, x_5, x_6); +lean_dec(x_1312); +x_1376 = lean_ctor_get(x_1375, 0); +lean_inc(x_1376); +x_1377 = lean_ctor_get(x_1375, 1); +lean_inc(x_1377); +if (lean_is_exclusive(x_1375)) { + lean_ctor_release(x_1375, 0); + lean_ctor_release(x_1375, 1); + x_1378 = x_1375; +} else { + lean_dec_ref(x_1375); + x_1378 = lean_box(0); +} +if (lean_is_scalar(x_1378)) { + x_1379 = lean_alloc_ctor(1, 2, 0); +} else { + x_1379 = x_1378; +} +lean_ctor_set(x_1379, 0, x_1376); +lean_ctor_set(x_1379, 1, x_1377); +return x_1379; +} +else +{ +lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; +x_1380 = l_Lean_mkHole(x_1312); +lean_dec(x_1312); +x_1381 = lean_unsigned_to_nat(1u); +x_1382 = lean_nat_add(x_3, x_1381); +lean_dec(x_3); +x_1383 = l_Lean_Elab_Term_mkExplicitBinder(x_1371, x_1380); +x_1384 = lean_array_push(x_4, x_1383); +x_3 = x_1382; +x_4 = x_1384; +goto _start; +} +} +} +else +{ +lean_object* x_1386; uint8_t x_1387; +lean_dec(x_25); +x_1386 = l_Lean_mkAppStx___closed__5; +x_1387 = lean_string_dec_eq(x_22, x_1386); +if (x_1387 == 0) +{ +lean_object* x_1388; lean_object* x_1389; uint8_t x_1390; lean_object* x_1391; +x_1388 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1388, 0, x_16); +lean_ctor_set(x_1388, 1, x_1234); +lean_ctor_set_usize(x_1388, 2, x_1233); +lean_ctor_set(x_14, 1, x_1309); +lean_ctor_set(x_14, 0, x_1388); +x_1389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1389, 0, x_12); +lean_ctor_set(x_1389, 1, x_17); +x_1390 = 1; +lean_inc(x_1389); +x_1391 = l_Lean_Syntax_isTermId_x3f(x_1389, x_1390); +if (lean_obj_tag(x_1391) == 0) +{ +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_dec(x_1389); +x_1392 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1393 = lean_ctor_get(x_1392, 0); +lean_inc(x_1393); +x_1394 = lean_ctor_get(x_1392, 1); +lean_inc(x_1394); +lean_dec(x_1392); +x_1395 = lean_unsigned_to_nat(1u); +x_1396 = lean_nat_add(x_3, x_1395); +lean_dec(x_3); +x_1397 = l_Lean_mkHole(x_11); +lean_inc(x_1393); +x_1398 = l_Lean_Elab_Term_mkExplicitBinder(x_1393, x_1397); +x_1399 = lean_array_push(x_4, x_1398); +lean_inc(x_5); +x_1400 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1396, x_1399, x_5, x_1394); +if (lean_obj_tag(x_1400) == 0) +{ +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; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; +x_1401 = lean_ctor_get(x_1400, 0); +lean_inc(x_1401); +x_1402 = lean_ctor_get(x_1400, 1); +lean_inc(x_1402); +lean_dec(x_1400); +x_1403 = lean_ctor_get(x_1401, 0); +lean_inc(x_1403); +x_1404 = lean_ctor_get(x_1401, 1); +lean_inc(x_1404); +if (lean_is_exclusive(x_1401)) { + lean_ctor_release(x_1401, 0); + lean_ctor_release(x_1401, 1); + x_1405 = x_1401; +} else { + lean_dec_ref(x_1401); + x_1405 = lean_box(0); +} +x_1406 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1402); +lean_dec(x_5); +x_1407 = lean_ctor_get(x_1406, 1); +lean_inc(x_1407); +lean_dec(x_1406); +x_1408 = l_Lean_Elab_Term_getMainModule___rarg(x_1407); +x_1409 = lean_ctor_get(x_1408, 1); +lean_inc(x_1409); +if (lean_is_exclusive(x_1408)) { + lean_ctor_release(x_1408, 0); + lean_ctor_release(x_1408, 1); + x_1410 = x_1408; +} else { + lean_dec_ref(x_1408); + x_1410 = lean_box(0); +} +x_1411 = l_Array_empty___closed__1; +x_1412 = lean_array_push(x_1411, x_1393); +x_1413 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1414 = lean_array_push(x_1412, x_1413); +x_1415 = l_Lean_mkTermIdFromIdent___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_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); +x_1417 = lean_array_push(x_1411, x_1416); +x_1418 = l_Lean_nullKind___closed__2; +x_1419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1419, 0, x_1418); +lean_ctor_set(x_1419, 1, x_1417); +x_1420 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1421 = lean_array_push(x_1420, x_1419); +x_1422 = lean_array_push(x_1421, x_1413); +x_1423 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1424 = lean_array_push(x_1422, x_1423); +x_1425 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1426 = lean_array_push(x_1424, x_1425); +lean_inc(x_11); +x_1427 = lean_array_push(x_1411, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1428 = x_11; } else { - x_1422 = x_1387; + lean_dec_ref(x_11); + x_1428 = lean_box(0); } -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); +if (lean_is_scalar(x_1428)) { + x_1429 = lean_alloc_ctor(1, 2, 0); } else { - x_1423 = x_1392; + x_1429 = x_1428; } -lean_ctor_set(x_1423, 0, x_1422); -lean_ctor_set(x_1423, 1, x_1391); -return x_1423; +lean_ctor_set(x_1429, 0, x_1418); +lean_ctor_set(x_1429, 1, x_1427); +x_1430 = lean_array_push(x_1411, x_1429); +x_1431 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1432 = lean_array_push(x_1430, x_1431); +x_1433 = lean_array_push(x_1432, x_1404); +x_1434 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1435, 0, x_1434); +lean_ctor_set(x_1435, 1, x_1433); +x_1436 = lean_array_push(x_1411, x_1435); +x_1437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1437, 0, x_1418); +lean_ctor_set(x_1437, 1, x_1436); +x_1438 = lean_array_push(x_1426, x_1437); +x_1439 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1440, 0, x_1439); +lean_ctor_set(x_1440, 1, x_1438); +if (lean_is_scalar(x_1405)) { + x_1441 = lean_alloc_ctor(0, 2, 0); +} else { + x_1441 = x_1405; +} +lean_ctor_set(x_1441, 0, x_1403); +lean_ctor_set(x_1441, 1, x_1440); +if (lean_is_scalar(x_1410)) { + x_1442 = lean_alloc_ctor(0, 2, 0); +} else { + x_1442 = x_1410; +} +lean_ctor_set(x_1442, 0, x_1441); +lean_ctor_set(x_1442, 1, x_1409); +return x_1442; } else { -lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; -lean_dec(x_1375); +lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; +lean_dec(x_1393); lean_dec(x_11); lean_dec(x_5); -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; +x_1443 = lean_ctor_get(x_1400, 0); +lean_inc(x_1443); +x_1444 = lean_ctor_get(x_1400, 1); +lean_inc(x_1444); +if (lean_is_exclusive(x_1400)) { + lean_ctor_release(x_1400, 0); + lean_ctor_release(x_1400, 1); + x_1445 = x_1400; } else { - lean_dec_ref(x_1382); - x_1426 = lean_box(0); + lean_dec_ref(x_1400); + x_1445 = lean_box(0); } -if (lean_is_scalar(x_1426)) { - x_1427 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1445)) { + x_1446 = lean_alloc_ctor(1, 2, 0); } else { - x_1427 = x_1426; + x_1446 = x_1445; } -lean_ctor_set(x_1427, 0, x_1424); -lean_ctor_set(x_1427, 1, x_1425); -return x_1427; +lean_ctor_set(x_1446, 0, x_1443); +lean_ctor_set(x_1446, 1, x_1444); +return x_1446; } } else { -lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; uint8_t x_1431; +lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; uint8_t x_1450; lean_dec(x_11); -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) +x_1447 = lean_ctor_get(x_1391, 0); +lean_inc(x_1447); +lean_dec(x_1391); +x_1448 = lean_ctor_get(x_1447, 0); +lean_inc(x_1448); +x_1449 = lean_ctor_get(x_1447, 1); +lean_inc(x_1449); +lean_dec(x_1447); +x_1450 = l_Lean_Syntax_isNone(x_1449); +lean_dec(x_1449); +if (x_1450 == 0) { -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_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; +lean_dec(x_1448); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1432 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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_1433); - x_1436 = lean_box(0); -} -if (lean_is_scalar(x_1436)) { - x_1437 = lean_alloc_ctor(1, 2, 0); -} else { - x_1437 = x_1436; -} -lean_ctor_set(x_1437, 0, x_1434); -lean_ctor_set(x_1437, 1, x_1435); -return x_1437; -} -else -{ -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_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_1444; uint8_t x_1445; -lean_dec(x_22); -x_1444 = l_Lean_mkHole___closed__1; -x_1445 = lean_string_dec_eq(x_19, x_1444); -if (x_1445 == 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_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_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_1451 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1452 = l_Lean_Elab_Term_throwError___rarg(x_1389, x_1451, x_5, x_6); +lean_dec(x_1389); 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_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) +if (lean_is_exclusive(x_1452)) { + lean_ctor_release(x_1452, 0); + lean_ctor_release(x_1452, 1); + x_1455 = x_1452; +} else { + lean_dec_ref(x_1452); + x_1455 = lean_box(0); +} +if (lean_is_scalar(x_1455)) { + x_1456 = lean_alloc_ctor(1, 2, 0); +} else { + x_1456 = x_1455; +} +lean_ctor_set(x_1456, 0, x_1453); +lean_ctor_set(x_1456, 1, x_1454); +return x_1456; +} +else { -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); +lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; +x_1457 = l_Lean_mkHole(x_1389); +lean_dec(x_1389); +x_1458 = lean_unsigned_to_nat(1u); +x_1459 = lean_nat_add(x_3, x_1458); +lean_dec(x_3); +x_1460 = l_Lean_Elab_Term_mkExplicitBinder(x_1448, x_1457); +x_1461 = lean_array_push(x_4, x_1460); +x_3 = x_1459; +x_4 = x_1461; +goto _start; } -x_1466 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1462); +} +} +else +{ +lean_object* x_1463; uint8_t x_1464; +lean_dec(x_22); +x_1463 = l_Lean_mkHole___closed__1; +x_1464 = lean_string_dec_eq(x_19, x_1463); +if (x_1464 == 0) +{ +lean_object* x_1465; uint8_t x_1466; +x_1465 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1466 = lean_string_dec_eq(x_19, x_1465); +if (x_1466 == 0) +{ +lean_object* x_1467; lean_object* x_1468; uint8_t x_1469; lean_object* x_1470; +x_1467 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1467, 0, x_16); +lean_ctor_set(x_1467, 1, x_1234); +lean_ctor_set_usize(x_1467, 2, x_1233); +lean_ctor_set(x_14, 1, x_1309); +lean_ctor_set(x_14, 0, x_1467); +lean_ctor_set(x_13, 1, x_1386); +x_1468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1468, 0, x_12); +lean_ctor_set(x_1468, 1, x_17); +x_1469 = 1; +lean_inc(x_1468); +x_1470 = l_Lean_Syntax_isTermId_x3f(x_1468, x_1469); +if (lean_obj_tag(x_1470) == 0) +{ +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_dec(x_1468); +x_1471 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1472 = lean_ctor_get(x_1471, 0); +lean_inc(x_1472); +x_1473 = lean_ctor_get(x_1471, 1); +lean_inc(x_1473); +lean_dec(x_1471); +x_1474 = lean_unsigned_to_nat(1u); +x_1475 = lean_nat_add(x_3, x_1474); +lean_dec(x_3); +x_1476 = l_Lean_mkHole(x_11); +lean_inc(x_1472); +x_1477 = l_Lean_Elab_Term_mkExplicitBinder(x_1472, x_1476); +x_1478 = lean_array_push(x_4, x_1477); +lean_inc(x_5); +x_1479 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1475, x_1478, x_5, x_1473); +if (lean_obj_tag(x_1479) == 0) +{ +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; 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_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; +x_1480 = lean_ctor_get(x_1479, 0); +lean_inc(x_1480); +x_1481 = lean_ctor_get(x_1479, 1); +lean_inc(x_1481); +lean_dec(x_1479); +x_1482 = lean_ctor_get(x_1480, 0); +lean_inc(x_1482); +x_1483 = lean_ctor_get(x_1480, 1); +lean_inc(x_1483); +if (lean_is_exclusive(x_1480)) { + lean_ctor_release(x_1480, 0); + lean_ctor_release(x_1480, 1); + x_1484 = x_1480; +} else { + lean_dec_ref(x_1480); + x_1484 = lean_box(0); +} +x_1485 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1481); 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; +x_1486 = lean_ctor_get(x_1485, 1); +lean_inc(x_1486); +lean_dec(x_1485); +x_1487 = l_Lean_Elab_Term_getMainModule___rarg(x_1486); +x_1488 = lean_ctor_get(x_1487, 1); +lean_inc(x_1488); +if (lean_is_exclusive(x_1487)) { + lean_ctor_release(x_1487, 0); + lean_ctor_release(x_1487, 1); + x_1489 = x_1487; } else { - lean_dec_ref(x_1468); - x_1470 = lean_box(0); + lean_dec_ref(x_1487); + x_1489 = 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); +x_1490 = l_Array_empty___closed__1; +x_1491 = lean_array_push(x_1490, x_1472); +x_1492 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1493 = lean_array_push(x_1491, x_1492); +x_1494 = l_Lean_mkTermIdFromIdent___closed__2; +x_1495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1495, 0, x_1494); +lean_ctor_set(x_1495, 1, x_1493); +x_1496 = lean_array_push(x_1490, x_1495); +x_1497 = l_Lean_nullKind___closed__2; +x_1498 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1498, 0, x_1497); +lean_ctor_set(x_1498, 1, x_1496); +x_1499 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1500 = lean_array_push(x_1499, x_1498); +x_1501 = lean_array_push(x_1500, x_1492); +x_1502 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1503 = lean_array_push(x_1501, x_1502); +x_1504 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1505 = lean_array_push(x_1503, x_1504); lean_inc(x_11); -x_1485 = lean_array_push(x_1471, x_11); +x_1506 = lean_array_push(x_1490, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1486 = x_11; + x_1507 = x_11; } else { lean_dec_ref(x_11); - x_1486 = lean_box(0); + x_1507 = lean_box(0); } -if (lean_is_scalar(x_1486)) { - x_1487 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1507)) { + x_1508 = lean_alloc_ctor(1, 2, 0); } else { - x_1487 = x_1486; + x_1508 = x_1507; } -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__5; -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); +lean_ctor_set(x_1508, 0, x_1497); +lean_ctor_set(x_1508, 1, x_1506); +x_1509 = lean_array_push(x_1490, x_1508); +x_1510 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1511 = lean_array_push(x_1509, x_1510); +x_1512 = lean_array_push(x_1511, x_1483); +x_1513 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1514, 0, x_1513); +lean_ctor_set(x_1514, 1, x_1512); +x_1515 = lean_array_push(x_1490, x_1514); +x_1516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1516, 0, x_1497); +lean_ctor_set(x_1516, 1, x_1515); +x_1517 = lean_array_push(x_1505, x_1516); +x_1518 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1519, 0, x_1518); +lean_ctor_set(x_1519, 1, x_1517); +if (lean_is_scalar(x_1484)) { + x_1520 = lean_alloc_ctor(0, 2, 0); } else { - x_1500 = x_1465; + x_1520 = x_1484; } -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); +lean_ctor_set(x_1520, 0, x_1482); +lean_ctor_set(x_1520, 1, x_1519); +if (lean_is_scalar(x_1489)) { + x_1521 = lean_alloc_ctor(0, 2, 0); } else { - x_1501 = x_1470; + x_1521 = x_1489; } -lean_ctor_set(x_1501, 0, x_1500); -lean_ctor_set(x_1501, 1, x_1469); -return x_1501; +lean_ctor_set(x_1521, 0, x_1520); +lean_ctor_set(x_1521, 1, x_1488); +return x_1521; } else { -lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; -lean_dec(x_1453); +lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; +lean_dec(x_1472); 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_1504 = x_1460; +x_1522 = lean_ctor_get(x_1479, 0); +lean_inc(x_1522); +x_1523 = lean_ctor_get(x_1479, 1); +lean_inc(x_1523); +if (lean_is_exclusive(x_1479)) { + lean_ctor_release(x_1479, 0); + lean_ctor_release(x_1479, 1); + x_1524 = x_1479; } else { - lean_dec_ref(x_1460); - x_1504 = lean_box(0); + lean_dec_ref(x_1479); + x_1524 = lean_box(0); } -if (lean_is_scalar(x_1504)) { - x_1505 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1524)) { + x_1525 = lean_alloc_ctor(1, 2, 0); } else { - x_1505 = x_1504; + x_1525 = x_1524; } -lean_ctor_set(x_1505, 0, x_1502); -lean_ctor_set(x_1505, 1, x_1503); -return x_1505; +lean_ctor_set(x_1525, 0, x_1522); +lean_ctor_set(x_1525, 1, x_1523); +return x_1525; } } else { -lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; +lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; uint8_t x_1529; lean_dec(x_11); -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) +x_1526 = lean_ctor_get(x_1470, 0); +lean_inc(x_1526); +lean_dec(x_1470); +x_1527 = lean_ctor_get(x_1526, 0); +lean_inc(x_1527); +x_1528 = lean_ctor_get(x_1526, 1); +lean_inc(x_1528); +lean_dec(x_1526); +x_1529 = l_Lean_Syntax_isNone(x_1528); +lean_dec(x_1528); +if (x_1529 == 0) { -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_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; +lean_dec(x_1527); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1510 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_1530 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1531 = l_Lean_Elab_Term_throwError___rarg(x_1468, x_1530, x_5, x_6); +lean_dec(x_1468); +x_1532 = lean_ctor_get(x_1531, 0); +lean_inc(x_1532); +x_1533 = lean_ctor_get(x_1531, 1); +lean_inc(x_1533); +if (lean_is_exclusive(x_1531)) { + lean_ctor_release(x_1531, 0); + lean_ctor_release(x_1531, 1); + x_1534 = x_1531; } else { - lean_dec_ref(x_1511); - x_1514 = lean_box(0); + lean_dec_ref(x_1531); + x_1534 = lean_box(0); } -if (lean_is_scalar(x_1514)) { - x_1515 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1534)) { + x_1535 = lean_alloc_ctor(1, 2, 0); } else { - x_1515 = x_1514; + x_1535 = x_1534; } -lean_ctor_set(x_1515, 0, x_1512); -lean_ctor_set(x_1515, 1, x_1513); -return x_1515; +lean_ctor_set(x_1535, 0, x_1532); +lean_ctor_set(x_1535, 1, x_1533); +return x_1535; } else { -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_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; +x_1536 = l_Lean_mkHole(x_1468); +lean_dec(x_1468); +x_1537 = lean_unsigned_to_nat(1u); +x_1538 = lean_nat_add(x_3, x_1537); lean_dec(x_3); -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; +x_1539 = l_Lean_Elab_Term_mkExplicitBinder(x_1527, x_1536); +x_1540 = lean_array_push(x_4, x_1539); +x_3 = x_1538; +x_4 = x_1540; goto _start; } } } else { -lean_object* x_1522; lean_object* x_1523; uint8_t x_1524; +lean_object* x_1542; lean_object* x_1543; uint8_t x_1544; lean_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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) +x_1542 = lean_unsigned_to_nat(1u); +x_1543 = l_Lean_Syntax_getArg(x_11, x_1542); +x_1544 = l_Lean_Syntax_isNone(x_1543); +if (x_1544 == 0) { -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_1545; lean_object* x_1546; lean_object* x_1547; uint8_t x_1548; +x_1545 = lean_unsigned_to_nat(0u); +x_1546 = l_Lean_Syntax_getArg(x_1543, x_1545); +x_1547 = l_Lean_Syntax_getArg(x_1543, x_1542); +lean_dec(x_1543); +x_1548 = l_Lean_Syntax_isNone(x_1547); +if (x_1548 == 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_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); -x_1539 = lean_ctor_get(x_1537, 1); -lean_inc(x_1539); -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_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; uint8_t x_1556; +x_1549 = l_Lean_Syntax_getArg(x_1547, x_1545); +lean_dec(x_1547); +lean_inc(x_1549); +x_1550 = l_Lean_Syntax_getKind(x_1549); +x_1551 = lean_name_mk_string(x_16, x_1234); +x_1552 = lean_name_mk_string(x_1551, x_1309); +x_1553 = lean_name_mk_string(x_1552, x_1386); +x_1554 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_1555 = lean_name_mk_string(x_1553, x_1554); +x_1556 = lean_name_eq(x_1550, x_1555); +lean_dec(x_1555); 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; +if (x_1556 == 0) +{ +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_dec(x_1549); +lean_dec(x_1546); +x_1557 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1558 = lean_ctor_get(x_1557, 0); +lean_inc(x_1558); +x_1559 = lean_ctor_get(x_1557, 1); +lean_inc(x_1559); +lean_dec(x_1557); +x_1560 = lean_nat_add(x_3, x_1542); +lean_dec(x_3); +x_1561 = l_Lean_mkHole(x_11); +lean_inc(x_1558); +x_1562 = l_Lean_Elab_Term_mkExplicitBinder(x_1558, x_1561); +x_1563 = lean_array_push(x_4, x_1562); +lean_inc(x_5); +x_1564 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1560, x_1563, x_5, x_1559); +if (lean_obj_tag(x_1564) == 0) +{ +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; 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_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; +x_1565 = lean_ctor_get(x_1564, 0); +lean_inc(x_1565); +x_1566 = lean_ctor_get(x_1564, 1); +lean_inc(x_1566); +lean_dec(x_1564); +x_1567 = lean_ctor_get(x_1565, 0); +lean_inc(x_1567); +x_1568 = lean_ctor_get(x_1565, 1); +lean_inc(x_1568); +if (lean_is_exclusive(x_1565)) { + lean_ctor_release(x_1565, 0); + lean_ctor_release(x_1565, 1); + x_1569 = x_1565; } else { - lean_dec_ref(x_1552); - x_1554 = lean_box(0); + lean_dec_ref(x_1565); + x_1569 = 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; +x_1570 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1566); +lean_dec(x_5); +x_1571 = lean_ctor_get(x_1570, 1); +lean_inc(x_1571); +lean_dec(x_1570); +x_1572 = l_Lean_Elab_Term_getMainModule___rarg(x_1571); +x_1573 = lean_ctor_get(x_1572, 1); +lean_inc(x_1573); +if (lean_is_exclusive(x_1572)) { + lean_ctor_release(x_1572, 0); + lean_ctor_release(x_1572, 1); + x_1574 = x_1572; } else { - lean_dec_ref(x_11); - x_1570 = lean_box(0); + lean_dec_ref(x_1572); + x_1574 = 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__5; -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_1575 = l_Array_empty___closed__1; +x_1576 = lean_array_push(x_1575, x_1558); +x_1577 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1578 = lean_array_push(x_1576, x_1577); +x_1579 = l_Lean_mkTermIdFromIdent___closed__2; 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; +lean_ctor_set(x_1580, 0, x_1579); +lean_ctor_set(x_1580, 1, x_1578); +x_1581 = lean_array_push(x_1575, x_1580); +x_1582 = l_Lean_nullKind___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_1588 = x_1544; -} else { - lean_dec_ref(x_1544); - x_1588 = lean_box(0); -} -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); +x_1584 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1585 = lean_array_push(x_1584, x_1583); +x_1586 = lean_array_push(x_1585, x_1577); +x_1587 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1588 = lean_array_push(x_1586, x_1587); +x_1589 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1590 = lean_array_push(x_1588, x_1589); lean_inc(x_11); -x_1626 = lean_array_push(x_1612, x_11); +x_1591 = lean_array_push(x_1575, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1627 = x_11; + x_1592 = x_11; } else { lean_dec_ref(x_11); - x_1627 = lean_box(0); + x_1592 = lean_box(0); } -if (lean_is_scalar(x_1627)) { - x_1628 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1592)) { + x_1593 = lean_alloc_ctor(1, 2, 0); } else { - x_1628 = x_1627; + x_1593 = x_1592; } -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__5; -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); +lean_ctor_set(x_1593, 0, x_1582); +lean_ctor_set(x_1593, 1, x_1591); +x_1594 = lean_array_push(x_1575, x_1593); +x_1595 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1596 = lean_array_push(x_1594, x_1595); +x_1597 = lean_array_push(x_1596, x_1568); +x_1598 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1599, 0, x_1598); +lean_ctor_set(x_1599, 1, x_1597); +x_1600 = lean_array_push(x_1575, x_1599); +x_1601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1601, 0, x_1582); +lean_ctor_set(x_1601, 1, x_1600); +x_1602 = lean_array_push(x_1590, x_1601); +x_1603 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1604, 0, x_1603); +lean_ctor_set(x_1604, 1, x_1602); +if (lean_is_scalar(x_1569)) { + x_1605 = lean_alloc_ctor(0, 2, 0); } else { - x_1641 = x_1606; + x_1605 = x_1569; } -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); +lean_ctor_set(x_1605, 0, x_1567); +lean_ctor_set(x_1605, 1, x_1604); +if (lean_is_scalar(x_1574)) { + x_1606 = lean_alloc_ctor(0, 2, 0); } else { - x_1642 = x_1611; + x_1606 = x_1574; } -lean_ctor_set(x_1642, 0, x_1641); -lean_ctor_set(x_1642, 1, x_1610); -return x_1642; +lean_ctor_set(x_1606, 0, x_1605); +lean_ctor_set(x_1606, 1, x_1573); +return x_1606; } else { -lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; -lean_dec(x_1595); +lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; +lean_dec(x_1558); lean_dec(x_11); lean_dec(x_5); -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_1645 = x_1601; +x_1607 = lean_ctor_get(x_1564, 0); +lean_inc(x_1607); +x_1608 = lean_ctor_get(x_1564, 1); +lean_inc(x_1608); +if (lean_is_exclusive(x_1564)) { + lean_ctor_release(x_1564, 0); + lean_ctor_release(x_1564, 1); + x_1609 = x_1564; } else { - lean_dec_ref(x_1601); - x_1645 = lean_box(0); + lean_dec_ref(x_1564); + x_1609 = lean_box(0); } -if (lean_is_scalar(x_1645)) { - x_1646 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1609)) { + x_1610 = lean_alloc_ctor(1, 2, 0); } else { - x_1646 = x_1645; + x_1610 = x_1609; } -lean_ctor_set(x_1646, 0, x_1643); -lean_ctor_set(x_1646, 1, x_1644); -return x_1646; +lean_ctor_set(x_1610, 0, x_1607); +lean_ctor_set(x_1610, 1, x_1608); +return x_1610; } } else { -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_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_object* x_1611; lean_object* x_1612; lean_object* x_1613; +x_1611 = l_Lean_Syntax_getArg(x_1549, x_1542); +lean_dec(x_1549); +x_1612 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_1546, x_5, x_6); +x_1613 = lean_ctor_get(x_1612, 0); +lean_inc(x_1613); +if (lean_obj_tag(x_1613) == 0) +{ +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_dec(x_1611); +x_1614 = lean_ctor_get(x_1612, 1); +lean_inc(x_1614); +lean_dec(x_1612); +x_1615 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_1614); +x_1616 = lean_ctor_get(x_1615, 0); +lean_inc(x_1616); +x_1617 = lean_ctor_get(x_1615, 1); +lean_inc(x_1617); +lean_dec(x_1615); +x_1618 = lean_nat_add(x_3, x_1542); lean_dec(x_3); -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; +x_1619 = l_Lean_mkHole(x_11); +lean_inc(x_1616); +x_1620 = l_Lean_Elab_Term_mkExplicitBinder(x_1616, x_1619); +x_1621 = lean_array_push(x_4, x_1620); +lean_inc(x_5); +x_1622 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1618, x_1621, x_5, x_1617); +if (lean_obj_tag(x_1622) == 0) +{ +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; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_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; +x_1623 = lean_ctor_get(x_1622, 0); +lean_inc(x_1623); +x_1624 = lean_ctor_get(x_1622, 1); +lean_inc(x_1624); +lean_dec(x_1622); +x_1625 = lean_ctor_get(x_1623, 0); +lean_inc(x_1625); +x_1626 = lean_ctor_get(x_1623, 1); +lean_inc(x_1626); +if (lean_is_exclusive(x_1623)) { + lean_ctor_release(x_1623, 0); + lean_ctor_release(x_1623, 1); + x_1627 = x_1623; +} else { + lean_dec_ref(x_1623); + x_1627 = lean_box(0); +} +x_1628 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1624); +lean_dec(x_5); +x_1629 = lean_ctor_get(x_1628, 1); +lean_inc(x_1629); +lean_dec(x_1628); +x_1630 = l_Lean_Elab_Term_getMainModule___rarg(x_1629); +x_1631 = lean_ctor_get(x_1630, 1); +lean_inc(x_1631); +if (lean_is_exclusive(x_1630)) { + lean_ctor_release(x_1630, 0); + lean_ctor_release(x_1630, 1); + x_1632 = x_1630; +} else { + lean_dec_ref(x_1630); + x_1632 = lean_box(0); +} +x_1633 = l_Array_empty___closed__1; +x_1634 = lean_array_push(x_1633, x_1616); +x_1635 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1636 = lean_array_push(x_1634, x_1635); +x_1637 = l_Lean_mkTermIdFromIdent___closed__2; +x_1638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1638, 0, x_1637); +lean_ctor_set(x_1638, 1, x_1636); +x_1639 = lean_array_push(x_1633, x_1638); +x_1640 = l_Lean_nullKind___closed__2; +x_1641 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1641, 0, x_1640); +lean_ctor_set(x_1641, 1, x_1639); +x_1642 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1643 = lean_array_push(x_1642, x_1641); +x_1644 = lean_array_push(x_1643, x_1635); +x_1645 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1646 = lean_array_push(x_1644, x_1645); +x_1647 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1648 = lean_array_push(x_1646, x_1647); +lean_inc(x_11); +x_1649 = lean_array_push(x_1633, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1650 = x_11; +} else { + lean_dec_ref(x_11); + x_1650 = lean_box(0); +} +if (lean_is_scalar(x_1650)) { + x_1651 = lean_alloc_ctor(1, 2, 0); +} else { + x_1651 = x_1650; +} +lean_ctor_set(x_1651, 0, x_1640); +lean_ctor_set(x_1651, 1, x_1649); +x_1652 = lean_array_push(x_1633, x_1651); +x_1653 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1654 = lean_array_push(x_1652, x_1653); +x_1655 = lean_array_push(x_1654, x_1626); +x_1656 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1657, 0, x_1656); +lean_ctor_set(x_1657, 1, x_1655); +x_1658 = lean_array_push(x_1633, x_1657); +x_1659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1659, 0, x_1640); +lean_ctor_set(x_1659, 1, x_1658); +x_1660 = lean_array_push(x_1648, x_1659); +x_1661 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1662, 0, x_1661); +lean_ctor_set(x_1662, 1, x_1660); +if (lean_is_scalar(x_1627)) { + x_1663 = lean_alloc_ctor(0, 2, 0); +} else { + x_1663 = x_1627; +} +lean_ctor_set(x_1663, 0, x_1625); +lean_ctor_set(x_1663, 1, x_1662); +if (lean_is_scalar(x_1632)) { + x_1664 = lean_alloc_ctor(0, 2, 0); +} else { + x_1664 = x_1632; +} +lean_ctor_set(x_1664, 0, x_1663); +lean_ctor_set(x_1664, 1, x_1631); +return x_1664; +} +else +{ +lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; +lean_dec(x_1616); +lean_dec(x_11); +lean_dec(x_5); +x_1665 = lean_ctor_get(x_1622, 0); +lean_inc(x_1665); +x_1666 = lean_ctor_get(x_1622, 1); +lean_inc(x_1666); +if (lean_is_exclusive(x_1622)) { + lean_ctor_release(x_1622, 0); + lean_ctor_release(x_1622, 1); + x_1667 = x_1622; +} else { + lean_dec_ref(x_1622); + x_1667 = lean_box(0); +} +if (lean_is_scalar(x_1667)) { + x_1668 = lean_alloc_ctor(1, 2, 0); +} else { + x_1668 = x_1667; +} +lean_ctor_set(x_1668, 0, x_1665); +lean_ctor_set(x_1668, 1, x_1666); +return x_1668; +} +} +else +{ +lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; +lean_dec(x_11); +x_1669 = lean_ctor_get(x_1612, 1); +lean_inc(x_1669); +lean_dec(x_1612); +x_1670 = lean_ctor_get(x_1613, 0); +lean_inc(x_1670); +lean_dec(x_1613); +x_1671 = lean_nat_add(x_3, x_1542); +lean_dec(x_3); +x_1672 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_1611, x_1545, x_1670); +x_1673 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1672, x_1672, x_1545, x_4); +lean_dec(x_1672); +x_3 = x_1671; +x_4 = x_1673; +x_6 = x_1669; goto _start; } } } else { -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); -x_1655 = lean_ctor_get(x_1653, 1); -lean_inc(x_1655); -lean_dec(x_1653); -x_1656 = lean_nat_add(x_3, x_1522); +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_dec(x_1547); +lean_dec(x_1546); +x_1675 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1676 = lean_ctor_get(x_1675, 0); +lean_inc(x_1676); +x_1677 = lean_ctor_get(x_1675, 1); +lean_inc(x_1677); +lean_dec(x_1675); +x_1678 = lean_nat_add(x_3, x_1542); 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); +x_1679 = l_Lean_mkHole(x_11); +lean_inc(x_1676); +x_1680 = l_Lean_Elab_Term_mkExplicitBinder(x_1676, x_1679); +x_1681 = lean_array_push(x_4, x_1680); 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) +x_1682 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1678, x_1681, x_5, x_1677); +if (lean_obj_tag(x_1682) == 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; +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; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; 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; +x_1683 = lean_ctor_get(x_1682, 0); +lean_inc(x_1683); +x_1684 = lean_ctor_get(x_1682, 1); +lean_inc(x_1684); +lean_dec(x_1682); +x_1685 = lean_ctor_get(x_1683, 0); +lean_inc(x_1685); +x_1686 = lean_ctor_get(x_1683, 1); +lean_inc(x_1686); +if (lean_is_exclusive(x_1683)) { + lean_ctor_release(x_1683, 0); + lean_ctor_release(x_1683, 1); + x_1687 = x_1683; } else { - lean_dec_ref(x_1661); - x_1665 = lean_box(0); + lean_dec_ref(x_1683); + x_1687 = lean_box(0); } -x_1666 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1662); +x_1688 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1684); 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; +x_1689 = lean_ctor_get(x_1688, 1); +lean_inc(x_1689); +lean_dec(x_1688); +x_1690 = l_Lean_Elab_Term_getMainModule___rarg(x_1689); +x_1691 = lean_ctor_get(x_1690, 1); +lean_inc(x_1691); +if (lean_is_exclusive(x_1690)) { + lean_ctor_release(x_1690, 0); + lean_ctor_release(x_1690, 1); + x_1692 = x_1690; } else { - lean_dec_ref(x_1668); - x_1670 = lean_box(0); + lean_dec_ref(x_1690); + x_1692 = 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); +x_1693 = l_Array_empty___closed__1; +x_1694 = lean_array_push(x_1693, x_1676); +x_1695 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1696 = lean_array_push(x_1694, x_1695); +x_1697 = l_Lean_mkTermIdFromIdent___closed__2; +x_1698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1698, 0, x_1697); +lean_ctor_set(x_1698, 1, x_1696); +x_1699 = lean_array_push(x_1693, x_1698); +x_1700 = l_Lean_nullKind___closed__2; +x_1701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1701, 0, x_1700); +lean_ctor_set(x_1701, 1, x_1699); +x_1702 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1703 = lean_array_push(x_1702, x_1701); +x_1704 = lean_array_push(x_1703, x_1695); +x_1705 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1706 = lean_array_push(x_1704, x_1705); +x_1707 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1708 = lean_array_push(x_1706, x_1707); lean_inc(x_11); -x_1685 = lean_array_push(x_1671, x_11); +x_1709 = lean_array_push(x_1693, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1686 = x_11; + x_1710 = x_11; } else { lean_dec_ref(x_11); - x_1686 = lean_box(0); + x_1710 = lean_box(0); } -if (lean_is_scalar(x_1686)) { - x_1687 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1710)) { + x_1711 = lean_alloc_ctor(1, 2, 0); } else { - x_1687 = x_1686; + x_1711 = x_1710; } -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__5; -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); +lean_ctor_set(x_1711, 0, x_1700); +lean_ctor_set(x_1711, 1, x_1709); +x_1712 = lean_array_push(x_1693, x_1711); +x_1713 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1714 = lean_array_push(x_1712, x_1713); +x_1715 = lean_array_push(x_1714, x_1686); +x_1716 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1717, 0, x_1716); +lean_ctor_set(x_1717, 1, x_1715); +x_1718 = lean_array_push(x_1693, x_1717); +x_1719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1719, 0, x_1700); +lean_ctor_set(x_1719, 1, x_1718); +x_1720 = lean_array_push(x_1708, x_1719); +x_1721 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1722, 0, x_1721); +lean_ctor_set(x_1722, 1, x_1720); +if (lean_is_scalar(x_1687)) { + x_1723 = lean_alloc_ctor(0, 2, 0); } else { - x_1700 = x_1665; + x_1723 = x_1687; } -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); +lean_ctor_set(x_1723, 0, x_1685); +lean_ctor_set(x_1723, 1, x_1722); +if (lean_is_scalar(x_1692)) { + x_1724 = lean_alloc_ctor(0, 2, 0); } else { - x_1701 = x_1670; + x_1724 = x_1692; } -lean_ctor_set(x_1701, 0, x_1700); -lean_ctor_set(x_1701, 1, x_1669); -return x_1701; +lean_ctor_set(x_1724, 0, x_1723); +lean_ctor_set(x_1724, 1, x_1691); +return x_1724; } else { -lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; -lean_dec(x_1654); +lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; +lean_dec(x_1676); 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_1704 = x_1660; +x_1725 = lean_ctor_get(x_1682, 0); +lean_inc(x_1725); +x_1726 = lean_ctor_get(x_1682, 1); +lean_inc(x_1726); +if (lean_is_exclusive(x_1682)) { + lean_ctor_release(x_1682, 0); + lean_ctor_release(x_1682, 1); + x_1727 = x_1682; } else { - lean_dec_ref(x_1660); - x_1704 = lean_box(0); + lean_dec_ref(x_1682); + x_1727 = lean_box(0); } -if (lean_is_scalar(x_1704)) { - x_1705 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1727)) { + x_1728 = lean_alloc_ctor(1, 2, 0); } else { - x_1705 = x_1704; + x_1728 = x_1727; } -lean_ctor_set(x_1705, 0, x_1702); -lean_ctor_set(x_1705, 1, x_1703); -return x_1705; +lean_ctor_set(x_1728, 0, x_1725); +lean_ctor_set(x_1728, 1, x_1726); +return x_1728; } } } 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_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_dec(x_1543); +x_1729 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1730 = lean_ctor_get(x_1729, 0); +lean_inc(x_1730); +x_1731 = lean_ctor_get(x_1729, 1); +lean_inc(x_1731); +lean_dec(x_1729); +x_1732 = lean_nat_add(x_3, x_1542); 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); +x_1733 = l_Lean_mkHole(x_11); +lean_inc(x_1730); +x_1734 = l_Lean_Elab_Term_mkExplicitBinder(x_1730, x_1733); +x_1735 = lean_array_push(x_4, x_1734); 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) +x_1736 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1732, x_1735, x_5, x_1731); +if (lean_obj_tag(x_1736) == 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; +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; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; +x_1737 = lean_ctor_get(x_1736, 0); +lean_inc(x_1737); +x_1738 = lean_ctor_get(x_1736, 1); +lean_inc(x_1738); +lean_dec(x_1736); +x_1739 = lean_ctor_get(x_1737, 0); +lean_inc(x_1739); +x_1740 = lean_ctor_get(x_1737, 1); +lean_inc(x_1740); +if (lean_is_exclusive(x_1737)) { + lean_ctor_release(x_1737, 0); + lean_ctor_release(x_1737, 1); + x_1741 = x_1737; } else { - lean_dec_ref(x_1714); - x_1718 = lean_box(0); + lean_dec_ref(x_1737); + x_1741 = lean_box(0); } -x_1719 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1715); +x_1742 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1738); 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; +x_1743 = lean_ctor_get(x_1742, 1); +lean_inc(x_1743); +lean_dec(x_1742); +x_1744 = l_Lean_Elab_Term_getMainModule___rarg(x_1743); +x_1745 = lean_ctor_get(x_1744, 1); +lean_inc(x_1745); +if (lean_is_exclusive(x_1744)) { + lean_ctor_release(x_1744, 0); + lean_ctor_release(x_1744, 1); + x_1746 = x_1744; } else { - lean_dec_ref(x_1721); - x_1723 = lean_box(0); + lean_dec_ref(x_1744); + x_1746 = 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_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_1739 = x_11; -} else { - lean_dec_ref(x_11); - x_1739 = lean_box(0); -} -if (lean_is_scalar(x_1739)) { - x_1740 = lean_alloc_ctor(1, 2, 0); -} else { - x_1740 = x_1739; -} -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__5; -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_1747 = l_Array_empty___closed__1; +x_1748 = lean_array_push(x_1747, x_1730); +x_1749 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1750 = lean_array_push(x_1748, x_1749); +x_1751 = l_Lean_mkTermIdFromIdent___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); +x_1753 = lean_array_push(x_1747, x_1752); +x_1754 = l_Lean_nullKind___closed__2; +x_1755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1755, 0, x_1754); +lean_ctor_set(x_1755, 1, x_1753); +x_1756 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1757 = lean_array_push(x_1756, x_1755); +x_1758 = lean_array_push(x_1757, x_1749); +x_1759 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1760 = lean_array_push(x_1758, x_1759); +x_1761 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1762 = lean_array_push(x_1760, x_1761); +lean_inc(x_11); +x_1763 = lean_array_push(x_1747, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1764 = x_11; } else { - x_1753 = x_1718; + lean_dec_ref(x_11); + x_1764 = lean_box(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); +if (lean_is_scalar(x_1764)) { + x_1765 = lean_alloc_ctor(1, 2, 0); } else { - x_1754 = x_1723; + x_1765 = x_1764; } -lean_ctor_set(x_1754, 0, x_1753); -lean_ctor_set(x_1754, 1, x_1722); -return x_1754; +lean_ctor_set(x_1765, 0, x_1754); +lean_ctor_set(x_1765, 1, x_1763); +x_1766 = lean_array_push(x_1747, x_1765); +x_1767 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1768 = lean_array_push(x_1766, x_1767); +x_1769 = lean_array_push(x_1768, x_1740); +x_1770 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1771, 0, x_1770); +lean_ctor_set(x_1771, 1, x_1769); +x_1772 = lean_array_push(x_1747, x_1771); +x_1773 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1773, 0, x_1754); +lean_ctor_set(x_1773, 1, x_1772); +x_1774 = lean_array_push(x_1762, x_1773); +x_1775 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1776 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1776, 0, x_1775); +lean_ctor_set(x_1776, 1, x_1774); +if (lean_is_scalar(x_1741)) { + x_1777 = lean_alloc_ctor(0, 2, 0); +} else { + x_1777 = x_1741; +} +lean_ctor_set(x_1777, 0, x_1739); +lean_ctor_set(x_1777, 1, x_1776); +if (lean_is_scalar(x_1746)) { + x_1778 = lean_alloc_ctor(0, 2, 0); +} else { + x_1778 = x_1746; +} +lean_ctor_set(x_1778, 0, x_1777); +lean_ctor_set(x_1778, 1, x_1745); +return x_1778; } else { -lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; -lean_dec(x_1707); +lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; +lean_dec(x_1730); lean_dec(x_11); lean_dec(x_5); -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_1757 = x_1713; +x_1779 = lean_ctor_get(x_1736, 0); +lean_inc(x_1779); +x_1780 = lean_ctor_get(x_1736, 1); +lean_inc(x_1780); +if (lean_is_exclusive(x_1736)) { + lean_ctor_release(x_1736, 0); + lean_ctor_release(x_1736, 1); + x_1781 = x_1736; } else { - lean_dec_ref(x_1713); - x_1757 = lean_box(0); + lean_dec_ref(x_1736); + x_1781 = lean_box(0); } -if (lean_is_scalar(x_1757)) { - x_1758 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1781)) { + x_1782 = lean_alloc_ctor(1, 2, 0); } else { - x_1758 = x_1757; + x_1782 = x_1781; } -lean_ctor_set(x_1758, 0, x_1755); -lean_ctor_set(x_1758, 1, x_1756); -return x_1758; +lean_ctor_set(x_1782, 0, x_1779); +lean_ctor_set(x_1782, 1, x_1780); +return x_1782; } } } } else { -lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; +lean_object* x_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_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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); +x_1783 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1784 = lean_ctor_get(x_1783, 0); +lean_inc(x_1784); +x_1785 = lean_ctor_get(x_1783, 1); +lean_inc(x_1785); +lean_dec(x_1783); +x_1786 = lean_unsigned_to_nat(1u); +x_1787 = lean_nat_add(x_3, x_1786); lean_dec(x_3); -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; +x_1788 = l_Lean_Elab_Term_mkExplicitBinder(x_1784, x_11); +x_1789 = lean_array_push(x_4, x_1788); +x_3 = x_1787; +x_4 = x_1789; +x_6 = x_1785; goto _start; } } @@ -9138,703 +9189,602 @@ goto _start; } else { -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_object* x_1791; size_t x_1792; lean_object* x_1793; size_t x_1794; lean_object* x_1795; lean_object* x_1796; uint8_t x_1797; +x_1791 = lean_ctor_get(x_14, 1); +x_1792 = lean_ctor_get_usize(x_14, 2); +lean_inc(x_1791); lean_dec(x_14); -x_1769 = lean_ctor_get(x_15, 1); -lean_inc(x_1769); -x_1770 = lean_ctor_get_usize(x_15, 2); +x_1793 = lean_ctor_get(x_15, 1); +lean_inc(x_1793); +x_1794 = 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_1771 = x_15; + x_1795 = x_15; } else { lean_dec_ref(x_15); - x_1771 = lean_box(0); + x_1795 = lean_box(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) +x_1796 = l_Lean_mkAppStx___closed__1; +x_1797 = lean_string_dec_eq(x_1793, x_1796); +lean_dec(x_1793); +if (x_1797 == 0) { -uint8_t x_1774; lean_object* x_1775; -lean_dec(x_1771); -lean_dec(x_1767); +uint8_t x_1798; lean_object* x_1799; +lean_dec(x_1795); +lean_dec(x_1791); lean_free_object(x_13); lean_dec(x_22); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1774 = 1; +x_1798 = 1; lean_inc(x_11); -x_1775 = l_Lean_Syntax_isTermId_x3f(x_11, x_1774); -if (lean_obj_tag(x_1775) == 0) +x_1799 = l_Lean_Syntax_isTermId_x3f(x_11, x_1798); +if (lean_obj_tag(x_1799) == 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; -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); -x_1778 = lean_ctor_get(x_1776, 1); -lean_inc(x_1778); -lean_dec(x_1776); -x_1779 = lean_unsigned_to_nat(1u); -x_1780 = lean_nat_add(x_3, x_1779); +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; +x_1800 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1801 = lean_ctor_get(x_1800, 0); +lean_inc(x_1801); +x_1802 = lean_ctor_get(x_1800, 1); +lean_inc(x_1802); +lean_dec(x_1800); +x_1803 = lean_unsigned_to_nat(1u); +x_1804 = lean_nat_add(x_3, x_1803); 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); +x_1805 = l_Lean_mkHole(x_11); +lean_inc(x_1801); +x_1806 = l_Lean_Elab_Term_mkExplicitBinder(x_1801, x_1805); +x_1807 = lean_array_push(x_4, x_1806); 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) +x_1808 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1804, x_1807, x_5, x_1802); +if (lean_obj_tag(x_1808) == 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; +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; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; 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_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; +x_1809 = lean_ctor_get(x_1808, 0); +lean_inc(x_1809); +x_1810 = lean_ctor_get(x_1808, 1); +lean_inc(x_1810); +lean_dec(x_1808); +x_1811 = lean_ctor_get(x_1809, 0); +lean_inc(x_1811); +x_1812 = lean_ctor_get(x_1809, 1); +lean_inc(x_1812); +if (lean_is_exclusive(x_1809)) { + lean_ctor_release(x_1809, 0); + lean_ctor_release(x_1809, 1); + x_1813 = x_1809; } else { - lean_dec_ref(x_1785); - x_1789 = lean_box(0); + lean_dec_ref(x_1809); + x_1813 = lean_box(0); } -x_1790 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1786); +x_1814 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1810); lean_dec(x_5); -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; +x_1815 = lean_ctor_get(x_1814, 1); +lean_inc(x_1815); +lean_dec(x_1814); +x_1816 = l_Lean_Elab_Term_getMainModule___rarg(x_1815); +x_1817 = lean_ctor_get(x_1816, 1); +lean_inc(x_1817); +if (lean_is_exclusive(x_1816)) { + lean_ctor_release(x_1816, 0); + lean_ctor_release(x_1816, 1); + x_1818 = x_1816; } else { - lean_dec_ref(x_1792); - x_1794 = lean_box(0); + lean_dec_ref(x_1816); + x_1818 = lean_box(0); } -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); +x_1819 = l_Array_empty___closed__1; +x_1820 = lean_array_push(x_1819, x_1801); +x_1821 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1822 = lean_array_push(x_1820, x_1821); +x_1823 = l_Lean_mkTermIdFromIdent___closed__2; +x_1824 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1824, 0, x_1823); +lean_ctor_set(x_1824, 1, x_1822); +x_1825 = lean_array_push(x_1819, x_1824); +x_1826 = l_Lean_nullKind___closed__2; +x_1827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1827, 0, x_1826); +lean_ctor_set(x_1827, 1, x_1825); +x_1828 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1829 = lean_array_push(x_1828, x_1827); +x_1830 = lean_array_push(x_1829, x_1821); +x_1831 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1832 = lean_array_push(x_1830, x_1831); +x_1833 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1834 = lean_array_push(x_1832, x_1833); lean_inc(x_11); -x_1809 = lean_array_push(x_1795, x_11); +x_1835 = lean_array_push(x_1819, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1810 = x_11; + x_1836 = x_11; } else { lean_dec_ref(x_11); - x_1810 = lean_box(0); + x_1836 = lean_box(0); } -if (lean_is_scalar(x_1810)) { - x_1811 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1836)) { + x_1837 = lean_alloc_ctor(1, 2, 0); } else { - x_1811 = x_1810; + x_1837 = x_1836; } -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__5; -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); +lean_ctor_set(x_1837, 0, x_1826); +lean_ctor_set(x_1837, 1, x_1835); +x_1838 = lean_array_push(x_1819, x_1837); +x_1839 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1840 = lean_array_push(x_1838, x_1839); +x_1841 = lean_array_push(x_1840, x_1812); +x_1842 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1843, 0, x_1842); +lean_ctor_set(x_1843, 1, x_1841); +x_1844 = lean_array_push(x_1819, x_1843); +x_1845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1845, 0, x_1826); +lean_ctor_set(x_1845, 1, x_1844); +x_1846 = lean_array_push(x_1834, x_1845); +x_1847 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1848 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1848, 0, x_1847); +lean_ctor_set(x_1848, 1, x_1846); +if (lean_is_scalar(x_1813)) { + x_1849 = lean_alloc_ctor(0, 2, 0); } else { - x_1824 = x_1789; + x_1849 = x_1813; } -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); +lean_ctor_set(x_1849, 0, x_1811); +lean_ctor_set(x_1849, 1, x_1848); +if (lean_is_scalar(x_1818)) { + x_1850 = lean_alloc_ctor(0, 2, 0); } else { - x_1825 = x_1794; + x_1850 = x_1818; } -lean_ctor_set(x_1825, 0, x_1824); -lean_ctor_set(x_1825, 1, x_1793); -return x_1825; +lean_ctor_set(x_1850, 0, x_1849); +lean_ctor_set(x_1850, 1, x_1817); +return x_1850; } else { -lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; -lean_dec(x_1777); +lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; +lean_dec(x_1801); lean_dec(x_11); lean_dec(x_5); -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; +x_1851 = lean_ctor_get(x_1808, 0); +lean_inc(x_1851); +x_1852 = lean_ctor_get(x_1808, 1); +lean_inc(x_1852); +if (lean_is_exclusive(x_1808)) { + lean_ctor_release(x_1808, 0); + lean_ctor_release(x_1808, 1); + x_1853 = x_1808; } else { - lean_dec_ref(x_1784); - x_1828 = lean_box(0); + lean_dec_ref(x_1808); + x_1853 = lean_box(0); } -if (lean_is_scalar(x_1828)) { - x_1829 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1853)) { + x_1854 = lean_alloc_ctor(1, 2, 0); } else { - x_1829 = x_1828; + x_1854 = x_1853; } -lean_ctor_set(x_1829, 0, x_1826); -lean_ctor_set(x_1829, 1, x_1827); -return x_1829; +lean_ctor_set(x_1854, 0, x_1851); +lean_ctor_set(x_1854, 1, x_1852); +return x_1854; } } else { -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_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_1834 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_1835 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1834, x_5, x_6); -lean_dec(x_11); -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_1835); - x_1838 = lean_box(0); -} -if (lean_is_scalar(x_1838)) { - x_1839 = lean_alloc_ctor(1, 2, 0); -} else { - x_1839 = x_1838; -} -lean_ctor_set(x_1839, 0, x_1836); -lean_ctor_set(x_1839, 1, x_1837); -return x_1839; -} -else -{ -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_1841 = lean_unsigned_to_nat(1u); -x_1842 = lean_nat_add(x_3, x_1841); -lean_dec(x_3); -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_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_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_1848 = x_1771; -} -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_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_1853, 1); +lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; uint8_t x_1858; +x_1855 = lean_ctor_get(x_1799, 0); lean_inc(x_1855); -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_dec(x_1799); +x_1856 = lean_ctor_get(x_1855, 0); +lean_inc(x_1856); +x_1857 = lean_ctor_get(x_1855, 1); +lean_inc(x_1857); +lean_dec(x_1855); +x_1858 = l_Lean_Syntax_isNone(x_1857); +lean_dec(x_1857); +if (x_1858 == 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_1862); - x_1866 = lean_box(0); -} -x_1867 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1863); -lean_dec(x_5); -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_1869); - x_1871 = lean_box(0); -} -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_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_1887 = x_11; -} else { - lean_dec_ref(x_11); - x_1887 = lean_box(0); -} -if (lean_is_scalar(x_1887)) { - x_1888 = lean_alloc_ctor(1, 2, 0); -} else { - x_1888 = x_1887; -} -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__5; -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_1901 = x_1866; -} -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_1902 = x_1871; -} -lean_ctor_set(x_1902, 0, x_1901); -lean_ctor_set(x_1902, 1, x_1870); -return x_1902; -} -else -{ -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_1903 = lean_ctor_get(x_1861, 0); -lean_inc(x_1903); -x_1904 = lean_ctor_get(x_1861, 1); -lean_inc(x_1904); -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_1861); - x_1905 = lean_box(0); -} -if (lean_is_scalar(x_1905)) { - x_1906 = lean_alloc_ctor(1, 2, 0); -} else { - x_1906 = x_1905; -} -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; 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_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; +lean_dec(x_1856); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1911 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_1859 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1860 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1859, x_5, x_6); +lean_dec(x_11); +x_1861 = lean_ctor_get(x_1860, 0); +lean_inc(x_1861); +x_1862 = lean_ctor_get(x_1860, 1); +lean_inc(x_1862); +if (lean_is_exclusive(x_1860)) { + lean_ctor_release(x_1860, 0); + lean_ctor_release(x_1860, 1); + x_1863 = x_1860; } else { - lean_dec_ref(x_1912); - x_1915 = lean_box(0); + lean_dec_ref(x_1860); + x_1863 = lean_box(0); } -if (lean_is_scalar(x_1915)) { - x_1916 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1863)) { + x_1864 = lean_alloc_ctor(1, 2, 0); } else { - x_1916 = x_1915; + x_1864 = x_1863; } -lean_ctor_set(x_1916, 0, x_1913); -lean_ctor_set(x_1916, 1, x_1914); -return x_1916; +lean_ctor_set(x_1864, 0, x_1861); +lean_ctor_set(x_1864, 1, x_1862); +return x_1864; } 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_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; +x_1865 = l_Lean_mkHole(x_11); +lean_dec(x_11); +x_1866 = lean_unsigned_to_nat(1u); +x_1867 = lean_nat_add(x_3, x_1866); 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; +x_1868 = l_Lean_Elab_Term_mkExplicitBinder(x_1856, x_1865); +x_1869 = lean_array_push(x_4, x_1868); +x_3 = x_1867; +x_4 = x_1869; goto _start; } } } else { -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_1871; uint8_t x_1872; +x_1871 = l_Lean_mkAppStx___closed__3; +x_1872 = lean_string_dec_eq(x_1791, x_1871); +if (x_1872 == 0) { -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); +lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; uint8_t x_1876; lean_object* x_1877; +if (lean_is_scalar(x_1795)) { + x_1873 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1925 = x_1771; + x_1873 = x_1795; } -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_ctor_set(x_1873, 0, x_16); +lean_ctor_set(x_1873, 1, x_1796); +lean_ctor_set_usize(x_1873, 2, x_1794); +x_1874 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1874, 0, x_1873); +lean_ctor_set(x_1874, 1, x_1791); +lean_ctor_set_usize(x_1874, 2, x_1792); +lean_ctor_set(x_13, 0, x_1874); +x_1875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1875, 0, x_12); +lean_ctor_set(x_1875, 1, x_17); +x_1876 = 1; +lean_inc(x_1875); +x_1877 = l_Lean_Syntax_isTermId_x3f(x_1875, x_1876); +if (lean_obj_tag(x_1877) == 0) { -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 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1931 = lean_ctor_get(x_1930, 0); -lean_inc(x_1931); -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_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_dec(x_1875); +x_1878 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1879 = lean_ctor_get(x_1878, 0); +lean_inc(x_1879); +x_1880 = lean_ctor_get(x_1878, 1); +lean_inc(x_1880); +lean_dec(x_1878); +x_1881 = lean_unsigned_to_nat(1u); +x_1882 = lean_nat_add(x_3, x_1881); lean_dec(x_3); -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); +x_1883 = l_Lean_mkHole(x_11); +lean_inc(x_1879); +x_1884 = l_Lean_Elab_Term_mkExplicitBinder(x_1879, x_1883); +x_1885 = lean_array_push(x_4, x_1884); lean_inc(x_5); -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) +x_1886 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1882, x_1885, x_5, x_1880); +if (lean_obj_tag(x_1886) == 0) { -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; +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; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; 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_object* x_1917; lean_object* x_1918; 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_object* x_1928; +x_1887 = lean_ctor_get(x_1886, 0); +lean_inc(x_1887); +x_1888 = lean_ctor_get(x_1886, 1); +lean_inc(x_1888); +lean_dec(x_1886); +x_1889 = lean_ctor_get(x_1887, 0); +lean_inc(x_1889); +x_1890 = lean_ctor_get(x_1887, 1); +lean_inc(x_1890); +if (lean_is_exclusive(x_1887)) { + lean_ctor_release(x_1887, 0); + lean_ctor_release(x_1887, 1); + x_1891 = x_1887; +} else { + lean_dec_ref(x_1887); + x_1891 = lean_box(0); +} +x_1892 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1888); +lean_dec(x_5); +x_1893 = lean_ctor_get(x_1892, 1); +lean_inc(x_1893); +lean_dec(x_1892); +x_1894 = l_Lean_Elab_Term_getMainModule___rarg(x_1893); +x_1895 = lean_ctor_get(x_1894, 1); +lean_inc(x_1895); +if (lean_is_exclusive(x_1894)) { + lean_ctor_release(x_1894, 0); + lean_ctor_release(x_1894, 1); + x_1896 = x_1894; +} else { + lean_dec_ref(x_1894); + x_1896 = lean_box(0); +} +x_1897 = l_Array_empty___closed__1; +x_1898 = lean_array_push(x_1897, x_1879); +x_1899 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1900 = lean_array_push(x_1898, x_1899); +x_1901 = l_Lean_mkTermIdFromIdent___closed__2; +x_1902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1902, 0, x_1901); +lean_ctor_set(x_1902, 1, x_1900); +x_1903 = lean_array_push(x_1897, x_1902); +x_1904 = l_Lean_nullKind___closed__2; +x_1905 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1905, 0, x_1904); +lean_ctor_set(x_1905, 1, x_1903); +x_1906 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1907 = lean_array_push(x_1906, x_1905); +x_1908 = lean_array_push(x_1907, x_1899); +x_1909 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1910 = lean_array_push(x_1908, x_1909); +x_1911 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1912 = lean_array_push(x_1910, x_1911); +lean_inc(x_11); +x_1913 = lean_array_push(x_1897, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1914 = x_11; +} else { + lean_dec_ref(x_11); + x_1914 = lean_box(0); +} +if (lean_is_scalar(x_1914)) { + x_1915 = lean_alloc_ctor(1, 2, 0); +} else { + x_1915 = x_1914; +} +lean_ctor_set(x_1915, 0, x_1904); +lean_ctor_set(x_1915, 1, x_1913); +x_1916 = lean_array_push(x_1897, x_1915); +x_1917 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1918 = lean_array_push(x_1916, x_1917); +x_1919 = lean_array_push(x_1918, x_1890); +x_1920 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1921 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1921, 0, x_1920); +lean_ctor_set(x_1921, 1, x_1919); +x_1922 = lean_array_push(x_1897, x_1921); +x_1923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1923, 0, x_1904); +lean_ctor_set(x_1923, 1, x_1922); +x_1924 = lean_array_push(x_1912, x_1923); +x_1925 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1926 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1926, 0, x_1925); +lean_ctor_set(x_1926, 1, x_1924); +if (lean_is_scalar(x_1891)) { + x_1927 = lean_alloc_ctor(0, 2, 0); +} else { + x_1927 = x_1891; +} +lean_ctor_set(x_1927, 0, x_1889); +lean_ctor_set(x_1927, 1, x_1926); +if (lean_is_scalar(x_1896)) { + x_1928 = lean_alloc_ctor(0, 2, 0); +} else { + x_1928 = x_1896; +} +lean_ctor_set(x_1928, 0, x_1927); +lean_ctor_set(x_1928, 1, x_1895); +return x_1928; +} +else +{ +lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; +lean_dec(x_1879); +lean_dec(x_11); +lean_dec(x_5); +x_1929 = lean_ctor_get(x_1886, 0); +lean_inc(x_1929); +x_1930 = lean_ctor_get(x_1886, 1); +lean_inc(x_1930); +if (lean_is_exclusive(x_1886)) { + lean_ctor_release(x_1886, 0); + lean_ctor_release(x_1886, 1); + x_1931 = x_1886; +} else { + lean_dec_ref(x_1886); + x_1931 = lean_box(0); +} +if (lean_is_scalar(x_1931)) { + x_1932 = lean_alloc_ctor(1, 2, 0); +} else { + x_1932 = x_1931; +} +lean_ctor_set(x_1932, 0, x_1929); +lean_ctor_set(x_1932, 1, x_1930); +return x_1932; +} +} +else +{ +lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; uint8_t x_1936; +lean_dec(x_11); +x_1933 = lean_ctor_get(x_1877, 0); +lean_inc(x_1933); +lean_dec(x_1877); +x_1934 = lean_ctor_get(x_1933, 0); +lean_inc(x_1934); +x_1935 = lean_ctor_get(x_1933, 1); +lean_inc(x_1935); +lean_dec(x_1933); +x_1936 = l_Lean_Syntax_isNone(x_1935); +lean_dec(x_1935); +if (x_1936 == 0) +{ +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_dec(x_1934); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1937 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1938 = l_Lean_Elab_Term_throwError___rarg(x_1875, x_1937, x_5, x_6); +lean_dec(x_1875); 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_1939); - x_1943 = lean_box(0); -} -x_1944 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1940); -lean_dec(x_5); -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_1946); - x_1948 = lean_box(0); -} -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_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_1964 = x_11; -} else { - lean_dec_ref(x_11); - x_1964 = lean_box(0); -} -if (lean_is_scalar(x_1964)) { - x_1965 = lean_alloc_ctor(1, 2, 0); -} else { - x_1965 = x_1964; -} -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__5; -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_1978 = x_1943; -} -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_1979 = x_1948; -} -lean_ctor_set(x_1979, 0, x_1978); -lean_ctor_set(x_1979, 1, x_1947); -return x_1979; -} -else -{ -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_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; + x_1941 = x_1938; } else { lean_dec_ref(x_1938); - x_1982 = lean_box(0); + x_1941 = lean_box(0); } -if (lean_is_scalar(x_1982)) { - x_1983 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1941)) { + x_1942 = lean_alloc_ctor(1, 2, 0); } else { - x_1983 = x_1982; + x_1942 = x_1941; +} +lean_ctor_set(x_1942, 0, x_1939); +lean_ctor_set(x_1942, 1, x_1940); +return x_1942; +} +else +{ +lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; +x_1943 = l_Lean_mkHole(x_1875); +lean_dec(x_1875); +x_1944 = lean_unsigned_to_nat(1u); +x_1945 = lean_nat_add(x_3, x_1944); +lean_dec(x_3); +x_1946 = l_Lean_Elab_Term_mkExplicitBinder(x_1934, x_1943); +x_1947 = lean_array_push(x_4, x_1946); +x_3 = x_1945; +x_4 = x_1947; +goto _start; } -lean_ctor_set(x_1983, 0, x_1980); -lean_ctor_set(x_1983, 1, x_1981); -return x_1983; } } else { -lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; uint8_t x_1987; -lean_dec(x_11); -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_1949; uint8_t x_1950; +lean_dec(x_1791); +x_1949 = l_Lean_mkAppStx___closed__5; +x_1950 = lean_string_dec_eq(x_22, x_1949); +if (x_1950 == 0) { -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_1988 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; uint8_t x_1954; lean_object* x_1955; +if (lean_is_scalar(x_1795)) { + x_1951 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_1989); + x_1951 = x_1795; +} +lean_ctor_set(x_1951, 0, x_16); +lean_ctor_set(x_1951, 1, x_1796); +lean_ctor_set_usize(x_1951, 2, x_1794); +x_1952 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1952, 0, x_1951); +lean_ctor_set(x_1952, 1, x_1871); +lean_ctor_set_usize(x_1952, 2, x_1792); +lean_ctor_set(x_13, 0, x_1952); +x_1953 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1953, 0, x_12); +lean_ctor_set(x_1953, 1, x_17); +x_1954 = 1; +lean_inc(x_1953); +x_1955 = l_Lean_Syntax_isTermId_x3f(x_1953, x_1954); +if (lean_obj_tag(x_1955) == 0) +{ +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_dec(x_1953); +x_1956 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1957 = lean_ctor_get(x_1956, 0); +lean_inc(x_1957); +x_1958 = lean_ctor_get(x_1956, 1); +lean_inc(x_1958); +lean_dec(x_1956); +x_1959 = lean_unsigned_to_nat(1u); +x_1960 = lean_nat_add(x_3, x_1959); +lean_dec(x_3); +x_1961 = l_Lean_mkHole(x_11); +lean_inc(x_1957); +x_1962 = l_Lean_Elab_Term_mkExplicitBinder(x_1957, x_1961); +x_1963 = lean_array_push(x_4, x_1962); +lean_inc(x_5); +x_1964 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1960, x_1963, x_5, x_1958); +if (lean_obj_tag(x_1964) == 0) +{ +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; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; 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_object* x_1994; lean_object* x_1995; lean_object* x_1996; 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_object* x_2006; +x_1965 = lean_ctor_get(x_1964, 0); +lean_inc(x_1965); +x_1966 = lean_ctor_get(x_1964, 1); +lean_inc(x_1966); +lean_dec(x_1964); +x_1967 = lean_ctor_get(x_1965, 0); +lean_inc(x_1967); +x_1968 = lean_ctor_get(x_1965, 1); +lean_inc(x_1968); +if (lean_is_exclusive(x_1965)) { + lean_ctor_release(x_1965, 0); + lean_ctor_release(x_1965, 1); + x_1969 = x_1965; +} else { + lean_dec_ref(x_1965); + x_1969 = lean_box(0); +} +x_1970 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1966); +lean_dec(x_5); +x_1971 = lean_ctor_get(x_1970, 1); +lean_inc(x_1971); +lean_dec(x_1970); +x_1972 = l_Lean_Elab_Term_getMainModule___rarg(x_1971); +x_1973 = lean_ctor_get(x_1972, 1); +lean_inc(x_1973); +if (lean_is_exclusive(x_1972)) { + lean_ctor_release(x_1972, 0); + lean_ctor_release(x_1972, 1); + x_1974 = x_1972; +} else { + lean_dec_ref(x_1972); + x_1974 = lean_box(0); +} +x_1975 = l_Array_empty___closed__1; +x_1976 = lean_array_push(x_1975, x_1957); +x_1977 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1978 = lean_array_push(x_1976, x_1977); +x_1979 = l_Lean_mkTermIdFromIdent___closed__2; +x_1980 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1980, 0, x_1979); +lean_ctor_set(x_1980, 1, x_1978); +x_1981 = lean_array_push(x_1975, x_1980); +x_1982 = l_Lean_nullKind___closed__2; +x_1983 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1983, 0, x_1982); +lean_ctor_set(x_1983, 1, x_1981); +x_1984 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1985 = lean_array_push(x_1984, x_1983); +x_1986 = lean_array_push(x_1985, x_1977); +x_1987 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1988 = lean_array_push(x_1986, x_1987); +x_1989 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1990 = lean_array_push(x_1988, x_1989); +lean_inc(x_11); +x_1991 = lean_array_push(x_1975, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1992 = x_11; +} else { + lean_dec_ref(x_11); x_1992 = lean_box(0); } if (lean_is_scalar(x_1992)) { @@ -9842,971 +9792,1080 @@ if (lean_is_scalar(x_1992)) { } else { x_1993 = x_1992; } -lean_ctor_set(x_1993, 0, x_1990); +lean_ctor_set(x_1993, 0, x_1982); lean_ctor_set(x_1993, 1, x_1991); -return x_1993; -} -else -{ -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_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_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); +x_1994 = lean_array_push(x_1975, x_1993); +x_1995 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1996 = lean_array_push(x_1994, x_1995); +x_1997 = lean_array_push(x_1996, x_1968); +x_1998 = l_Lean_Parser_Term_matchAlt___closed__2; +x_1999 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1999, 0, x_1998); +lean_ctor_set(x_1999, 1, x_1997); +x_2000 = lean_array_push(x_1975, x_1999); +x_2001 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2001, 0, x_1982); +lean_ctor_set(x_2001, 1, x_2000); +x_2002 = lean_array_push(x_1990, x_2001); +x_2003 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2004, 0, x_2003); +lean_ctor_set(x_2004, 1, x_2002); +if (lean_is_scalar(x_1969)) { + x_2005 = lean_alloc_ctor(0, 2, 0); } else { - x_2004 = x_1771; + x_2005 = x_1969; } -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_ctor_set(x_2005, 0, x_1967); +lean_ctor_set(x_2005, 1, x_2004); +if (lean_is_scalar(x_1974)) { + x_2006 = lean_alloc_ctor(0, 2, 0); +} else { + x_2006 = x_1974; +} +lean_ctor_set(x_2006, 0, x_2005); +lean_ctor_set(x_2006, 1, x_1973); +return x_2006; +} +else { -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_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; +lean_dec(x_1957); +lean_dec(x_11); +lean_dec(x_5); +x_2007 = lean_ctor_get(x_1964, 0); +lean_inc(x_2007); +x_2008 = lean_ctor_get(x_1964, 1); +lean_inc(x_2008); +if (lean_is_exclusive(x_1964)) { + lean_ctor_release(x_1964, 0); + lean_ctor_release(x_1964, 1); + x_2009 = x_1964; +} else { + lean_dec_ref(x_1964); + x_2009 = lean_box(0); +} +if (lean_is_scalar(x_2009)) { + x_2010 = lean_alloc_ctor(1, 2, 0); +} else { + x_2010 = x_2009; +} +lean_ctor_set(x_2010, 0, x_2007); +lean_ctor_set(x_2010, 1, x_2008); +return x_2010; +} +} +else +{ +lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; uint8_t x_2014; +lean_dec(x_11); +x_2011 = lean_ctor_get(x_1955, 0); 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_dec(x_1955); +x_2012 = lean_ctor_get(x_2011, 0); +lean_inc(x_2012); +x_2013 = lean_ctor_get(x_2011, 1); +lean_inc(x_2013); +lean_dec(x_2011); +x_2014 = l_Lean_Syntax_isNone(x_2013); +lean_dec(x_2013); +if (x_2014 == 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__5; -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_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; +lean_dec(x_2012); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2067 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_2015 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2016 = l_Lean_Elab_Term_throwError___rarg(x_1953, x_2015, x_5, x_6); +lean_dec(x_1953); +x_2017 = lean_ctor_get(x_2016, 0); +lean_inc(x_2017); +x_2018 = lean_ctor_get(x_2016, 1); +lean_inc(x_2018); +if (lean_is_exclusive(x_2016)) { + lean_ctor_release(x_2016, 0); + lean_ctor_release(x_2016, 1); + x_2019 = x_2016; } else { - lean_dec_ref(x_2068); - x_2071 = lean_box(0); + lean_dec_ref(x_2016); + x_2019 = lean_box(0); } -if (lean_is_scalar(x_2071)) { - x_2072 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2019)) { + x_2020 = lean_alloc_ctor(1, 2, 0); } else { - x_2072 = x_2071; + x_2020 = x_2019; } -lean_ctor_set(x_2072, 0, x_2069); -lean_ctor_set(x_2072, 1, x_2070); -return x_2072; +lean_ctor_set(x_2020, 0, x_2017); +lean_ctor_set(x_2020, 1, x_2018); +return x_2020; } 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_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; +x_2021 = l_Lean_mkHole(x_1953); +lean_dec(x_1953); +x_2022 = lean_unsigned_to_nat(1u); +x_2023 = lean_nat_add(x_3, x_2022); 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; +x_2024 = l_Lean_Elab_Term_mkExplicitBinder(x_2012, x_2021); +x_2025 = lean_array_push(x_4, x_2024); +x_3 = x_2023; +x_4 = x_2025; goto _start; } } } else { -lean_object* x_2079; lean_object* x_2080; uint8_t x_2081; -lean_dec(x_1771); +lean_object* x_2027; uint8_t x_2028; +lean_dec(x_22); +x_2027 = l_Lean_mkHole___closed__1; +x_2028 = lean_string_dec_eq(x_19, x_2027); +if (x_2028 == 0) +{ +lean_object* x_2029; uint8_t x_2030; +x_2029 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2030 = lean_string_dec_eq(x_19, x_2029); +if (x_2030 == 0) +{ +lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; uint8_t x_2034; lean_object* x_2035; +if (lean_is_scalar(x_1795)) { + x_2031 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2031 = x_1795; +} +lean_ctor_set(x_2031, 0, x_16); +lean_ctor_set(x_2031, 1, x_1796); +lean_ctor_set_usize(x_2031, 2, x_1794); +x_2032 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2032, 0, x_2031); +lean_ctor_set(x_2032, 1, x_1871); +lean_ctor_set_usize(x_2032, 2, x_1792); +lean_ctor_set(x_13, 1, x_1949); +lean_ctor_set(x_13, 0, x_2032); +x_2033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2033, 0, x_12); +lean_ctor_set(x_2033, 1, x_17); +x_2034 = 1; +lean_inc(x_2033); +x_2035 = l_Lean_Syntax_isTermId_x3f(x_2033, x_2034); +if (lean_obj_tag(x_2035) == 0) +{ +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_dec(x_2033); +x_2036 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2037 = lean_ctor_get(x_2036, 0); +lean_inc(x_2037); +x_2038 = lean_ctor_get(x_2036, 1); +lean_inc(x_2038); +lean_dec(x_2036); +x_2039 = lean_unsigned_to_nat(1u); +x_2040 = lean_nat_add(x_3, x_2039); +lean_dec(x_3); +x_2041 = l_Lean_mkHole(x_11); +lean_inc(x_2037); +x_2042 = l_Lean_Elab_Term_mkExplicitBinder(x_2037, x_2041); +x_2043 = lean_array_push(x_4, x_2042); +lean_inc(x_5); +x_2044 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2040, x_2043, x_5, x_2038); +if (lean_obj_tag(x_2044) == 0) +{ +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; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; 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_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; +x_2045 = lean_ctor_get(x_2044, 0); +lean_inc(x_2045); +x_2046 = lean_ctor_get(x_2044, 1); +lean_inc(x_2046); +lean_dec(x_2044); +x_2047 = lean_ctor_get(x_2045, 0); +lean_inc(x_2047); +x_2048 = lean_ctor_get(x_2045, 1); +lean_inc(x_2048); +if (lean_is_exclusive(x_2045)) { + lean_ctor_release(x_2045, 0); + lean_ctor_release(x_2045, 1); + x_2049 = x_2045; +} else { + lean_dec_ref(x_2045); + x_2049 = lean_box(0); +} +x_2050 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2046); +lean_dec(x_5); +x_2051 = lean_ctor_get(x_2050, 1); +lean_inc(x_2051); +lean_dec(x_2050); +x_2052 = l_Lean_Elab_Term_getMainModule___rarg(x_2051); +x_2053 = lean_ctor_get(x_2052, 1); +lean_inc(x_2053); +if (lean_is_exclusive(x_2052)) { + lean_ctor_release(x_2052, 0); + lean_ctor_release(x_2052, 1); + x_2054 = x_2052; +} else { + lean_dec_ref(x_2052); + x_2054 = lean_box(0); +} +x_2055 = l_Array_empty___closed__1; +x_2056 = lean_array_push(x_2055, x_2037); +x_2057 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2058 = lean_array_push(x_2056, x_2057); +x_2059 = l_Lean_mkTermIdFromIdent___closed__2; +x_2060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2060, 0, x_2059); +lean_ctor_set(x_2060, 1, x_2058); +x_2061 = lean_array_push(x_2055, x_2060); +x_2062 = l_Lean_nullKind___closed__2; +x_2063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2063, 0, x_2062); +lean_ctor_set(x_2063, 1, x_2061); +x_2064 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2065 = lean_array_push(x_2064, x_2063); +x_2066 = lean_array_push(x_2065, x_2057); +x_2067 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2068 = lean_array_push(x_2066, x_2067); +x_2069 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2070 = lean_array_push(x_2068, x_2069); +lean_inc(x_11); +x_2071 = lean_array_push(x_2055, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2072 = x_11; +} else { + lean_dec_ref(x_11); + x_2072 = lean_box(0); +} +if (lean_is_scalar(x_2072)) { + x_2073 = lean_alloc_ctor(1, 2, 0); +} else { + x_2073 = x_2072; +} +lean_ctor_set(x_2073, 0, x_2062); +lean_ctor_set(x_2073, 1, x_2071); +x_2074 = lean_array_push(x_2055, x_2073); +x_2075 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2076 = lean_array_push(x_2074, x_2075); +x_2077 = lean_array_push(x_2076, x_2048); +x_2078 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2079 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2079, 0, x_2078); +lean_ctor_set(x_2079, 1, x_2077); +x_2080 = lean_array_push(x_2055, x_2079); +x_2081 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2081, 0, x_2062); +lean_ctor_set(x_2081, 1, x_2080); +x_2082 = lean_array_push(x_2070, x_2081); +x_2083 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2084, 0, x_2083); +lean_ctor_set(x_2084, 1, x_2082); +if (lean_is_scalar(x_2049)) { + x_2085 = lean_alloc_ctor(0, 2, 0); +} else { + x_2085 = x_2049; +} +lean_ctor_set(x_2085, 0, x_2047); +lean_ctor_set(x_2085, 1, x_2084); +if (lean_is_scalar(x_2054)) { + x_2086 = lean_alloc_ctor(0, 2, 0); +} else { + x_2086 = x_2054; +} +lean_ctor_set(x_2086, 0, x_2085); +lean_ctor_set(x_2086, 1, x_2053); +return x_2086; +} +else +{ +lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; +lean_dec(x_2037); +lean_dec(x_11); +lean_dec(x_5); +x_2087 = lean_ctor_get(x_2044, 0); +lean_inc(x_2087); +x_2088 = lean_ctor_get(x_2044, 1); +lean_inc(x_2088); +if (lean_is_exclusive(x_2044)) { + lean_ctor_release(x_2044, 0); + lean_ctor_release(x_2044, 1); + x_2089 = x_2044; +} else { + lean_dec_ref(x_2044); + x_2089 = lean_box(0); +} +if (lean_is_scalar(x_2089)) { + x_2090 = lean_alloc_ctor(1, 2, 0); +} else { + x_2090 = x_2089; +} +lean_ctor_set(x_2090, 0, x_2087); +lean_ctor_set(x_2090, 1, x_2088); +return x_2090; +} +} +else +{ +lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; uint8_t x_2094; +lean_dec(x_11); +x_2091 = lean_ctor_get(x_2035, 0); +lean_inc(x_2091); +lean_dec(x_2035); +x_2092 = lean_ctor_get(x_2091, 0); +lean_inc(x_2092); +x_2093 = lean_ctor_get(x_2091, 1); +lean_inc(x_2093); +lean_dec(x_2091); +x_2094 = l_Lean_Syntax_isNone(x_2093); +lean_dec(x_2093); +if (x_2094 == 0) +{ +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_dec(x_2092); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2095 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2096 = l_Lean_Elab_Term_throwError___rarg(x_2033, x_2095, x_5, x_6); +lean_dec(x_2033); +x_2097 = lean_ctor_get(x_2096, 0); +lean_inc(x_2097); +x_2098 = lean_ctor_get(x_2096, 1); +lean_inc(x_2098); +if (lean_is_exclusive(x_2096)) { + lean_ctor_release(x_2096, 0); + lean_ctor_release(x_2096, 1); + x_2099 = x_2096; +} else { + lean_dec_ref(x_2096); + x_2099 = lean_box(0); +} +if (lean_is_scalar(x_2099)) { + x_2100 = lean_alloc_ctor(1, 2, 0); +} else { + x_2100 = x_2099; +} +lean_ctor_set(x_2100, 0, x_2097); +lean_ctor_set(x_2100, 1, x_2098); +return x_2100; +} +else +{ +lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; +x_2101 = l_Lean_mkHole(x_2033); +lean_dec(x_2033); +x_2102 = lean_unsigned_to_nat(1u); +x_2103 = lean_nat_add(x_3, x_2102); +lean_dec(x_3); +x_2104 = l_Lean_Elab_Term_mkExplicitBinder(x_2092, x_2101); +x_2105 = lean_array_push(x_4, x_2104); +x_3 = x_2103; +x_4 = x_2105; +goto _start; +} +} +} +else +{ +lean_object* x_2107; lean_object* x_2108; uint8_t x_2109; +lean_dec(x_1795); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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) +x_2107 = lean_unsigned_to_nat(1u); +x_2108 = l_Lean_Syntax_getArg(x_11, x_2107); +x_2109 = l_Lean_Syntax_isNone(x_2108); +if (x_2109 == 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_2110; lean_object* x_2111; lean_object* x_2112; uint8_t x_2113; +x_2110 = lean_unsigned_to_nat(0u); +x_2111 = l_Lean_Syntax_getArg(x_2108, x_2110); +x_2112 = l_Lean_Syntax_getArg(x_2108, x_2107); +lean_dec(x_2108); +x_2113 = l_Lean_Syntax_isNone(x_2112); +if (x_2113 == 0) { -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_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; uint8_t x_2121; +x_2114 = l_Lean_Syntax_getArg(x_2112, x_2110); +lean_dec(x_2112); +lean_inc(x_2114); +x_2115 = l_Lean_Syntax_getKind(x_2114); +x_2116 = lean_name_mk_string(x_16, x_1796); +x_2117 = lean_name_mk_string(x_2116, x_1871); +x_2118 = lean_name_mk_string(x_2117, x_1949); +x_2119 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_2120 = lean_name_mk_string(x_2118, x_2119); +x_2121 = lean_name_eq(x_2115, x_2120); +lean_dec(x_2120); +lean_dec(x_2115); +if (x_2121 == 0) { -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); -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_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_dec(x_2114); +lean_dec(x_2111); +x_2122 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2123 = lean_ctor_get(x_2122, 0); +lean_inc(x_2123); +x_2124 = lean_ctor_get(x_2122, 1); +lean_inc(x_2124); +lean_dec(x_2122); +x_2125 = lean_nat_add(x_3, x_2107); lean_dec(x_3); -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); +x_2126 = l_Lean_mkHole(x_11); +lean_inc(x_2123); +x_2127 = l_Lean_Elab_Term_mkExplicitBinder(x_2123, x_2126); +x_2128 = lean_array_push(x_4, x_2127); lean_inc(x_5); -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) +x_2129 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2125, x_2128, x_5, x_2124); +if (lean_obj_tag(x_2129) == 0) { -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; +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; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; 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; +x_2130 = lean_ctor_get(x_2129, 0); +lean_inc(x_2130); +x_2131 = lean_ctor_get(x_2129, 1); +lean_inc(x_2131); +lean_dec(x_2129); +x_2132 = lean_ctor_get(x_2130, 0); +lean_inc(x_2132); +x_2133 = lean_ctor_get(x_2130, 1); +lean_inc(x_2133); +if (lean_is_exclusive(x_2130)) { + lean_ctor_release(x_2130, 0); + lean_ctor_release(x_2130, 1); + x_2134 = x_2130; } else { - lean_dec_ref(x_2102); - x_2106 = lean_box(0); + lean_dec_ref(x_2130); + x_2134 = lean_box(0); } -x_2107 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2103); +x_2135 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2131); lean_dec(x_5); -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; +x_2136 = lean_ctor_get(x_2135, 1); +lean_inc(x_2136); +lean_dec(x_2135); +x_2137 = l_Lean_Elab_Term_getMainModule___rarg(x_2136); +x_2138 = lean_ctor_get(x_2137, 1); +lean_inc(x_2138); +if (lean_is_exclusive(x_2137)) { + lean_ctor_release(x_2137, 0); + lean_ctor_release(x_2137, 1); + x_2139 = x_2137; } else { - lean_dec_ref(x_2109); - x_2111 = lean_box(0); + lean_dec_ref(x_2137); + x_2139 = lean_box(0); } -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); +x_2140 = l_Array_empty___closed__1; +x_2141 = lean_array_push(x_2140, x_2123); +x_2142 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2143 = lean_array_push(x_2141, x_2142); +x_2144 = l_Lean_mkTermIdFromIdent___closed__2; +x_2145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2145, 0, x_2144); +lean_ctor_set(x_2145, 1, x_2143); +x_2146 = lean_array_push(x_2140, x_2145); +x_2147 = l_Lean_nullKind___closed__2; +x_2148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2148, 0, x_2147); +lean_ctor_set(x_2148, 1, x_2146); +x_2149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2150 = lean_array_push(x_2149, x_2148); +x_2151 = lean_array_push(x_2150, x_2142); +x_2152 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2153 = lean_array_push(x_2151, x_2152); +x_2154 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2155 = lean_array_push(x_2153, x_2154); lean_inc(x_11); -x_2126 = lean_array_push(x_2112, x_11); +x_2156 = lean_array_push(x_2140, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2127 = x_11; + x_2157 = x_11; } else { lean_dec_ref(x_11); - x_2127 = lean_box(0); + x_2157 = lean_box(0); } -if (lean_is_scalar(x_2127)) { - x_2128 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2157)) { + x_2158 = lean_alloc_ctor(1, 2, 0); } else { - x_2128 = x_2127; + x_2158 = x_2157; } -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__5; -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); +lean_ctor_set(x_2158, 0, x_2147); +lean_ctor_set(x_2158, 1, x_2156); +x_2159 = lean_array_push(x_2140, x_2158); +x_2160 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2161 = lean_array_push(x_2159, x_2160); +x_2162 = lean_array_push(x_2161, x_2133); +x_2163 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2164, 0, x_2163); +lean_ctor_set(x_2164, 1, x_2162); +x_2165 = lean_array_push(x_2140, x_2164); +x_2166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2166, 0, x_2147); +lean_ctor_set(x_2166, 1, x_2165); +x_2167 = lean_array_push(x_2155, x_2166); +x_2168 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2169, 0, x_2168); +lean_ctor_set(x_2169, 1, x_2167); +if (lean_is_scalar(x_2134)) { + x_2170 = lean_alloc_ctor(0, 2, 0); } else { - x_2141 = x_2106; + x_2170 = x_2134; } -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); +lean_ctor_set(x_2170, 0, x_2132); +lean_ctor_set(x_2170, 1, x_2169); +if (lean_is_scalar(x_2139)) { + x_2171 = lean_alloc_ctor(0, 2, 0); } else { - x_2142 = x_2111; + x_2171 = x_2139; } -lean_ctor_set(x_2142, 0, x_2141); -lean_ctor_set(x_2142, 1, x_2110); -return x_2142; +lean_ctor_set(x_2171, 0, x_2170); +lean_ctor_set(x_2171, 1, x_2138); +return x_2171; } else { -lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; -lean_dec(x_2095); +lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; +lean_dec(x_2123); lean_dec(x_11); lean_dec(x_5); -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; +x_2172 = lean_ctor_get(x_2129, 0); +lean_inc(x_2172); +x_2173 = lean_ctor_get(x_2129, 1); +lean_inc(x_2173); +if (lean_is_exclusive(x_2129)) { + lean_ctor_release(x_2129, 0); + lean_ctor_release(x_2129, 1); + x_2174 = x_2129; } else { - lean_dec_ref(x_2101); - x_2145 = lean_box(0); + lean_dec_ref(x_2129); + x_2174 = lean_box(0); } -if (lean_is_scalar(x_2145)) { - x_2146 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2174)) { + x_2175 = lean_alloc_ctor(1, 2, 0); } else { - x_2146 = x_2145; + x_2175 = x_2174; } -lean_ctor_set(x_2146, 0, x_2143); -lean_ctor_set(x_2146, 1, x_2144); -return x_2146; +lean_ctor_set(x_2175, 0, x_2172); +lean_ctor_set(x_2175, 1, x_2173); +return x_2175; } } else { -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_2176; lean_object* x_2177; lean_object* x_2178; +x_2176 = l_Lean_Syntax_getArg(x_2114, x_2107); +lean_dec(x_2114); +x_2177 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2111, x_5, x_6); +x_2178 = lean_ctor_get(x_2177, 0); +lean_inc(x_2178); +if (lean_obj_tag(x_2178) == 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_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_dec(x_2176); +x_2179 = lean_ctor_get(x_2177, 1); +lean_inc(x_2179); +lean_dec(x_2177); +x_2180 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2179); +x_2181 = lean_ctor_get(x_2180, 0); +lean_inc(x_2181); +x_2182 = lean_ctor_get(x_2180, 1); +lean_inc(x_2182); +lean_dec(x_2180); +x_2183 = lean_nat_add(x_3, x_2107); lean_dec(x_3); -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); +x_2184 = l_Lean_mkHole(x_11); +lean_inc(x_2181); +x_2185 = l_Lean_Elab_Term_mkExplicitBinder(x_2181, x_2184); +x_2186 = lean_array_push(x_4, x_2185); 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) +x_2187 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2183, x_2186, x_5, x_2182); +if (lean_obj_tag(x_2187) == 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; +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; 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_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; +x_2188 = lean_ctor_get(x_2187, 0); +lean_inc(x_2188); +x_2189 = lean_ctor_get(x_2187, 1); +lean_inc(x_2189); +lean_dec(x_2187); +x_2190 = lean_ctor_get(x_2188, 0); +lean_inc(x_2190); +x_2191 = lean_ctor_get(x_2188, 1); +lean_inc(x_2191); +if (lean_is_exclusive(x_2188)) { + lean_ctor_release(x_2188, 0); + lean_ctor_release(x_2188, 1); + x_2192 = x_2188; } else { - lean_dec_ref(x_2159); - x_2163 = lean_box(0); + lean_dec_ref(x_2188); + x_2192 = lean_box(0); } -x_2164 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2160); +x_2193 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2189); 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; +x_2194 = lean_ctor_get(x_2193, 1); +lean_inc(x_2194); +lean_dec(x_2193); +x_2195 = l_Lean_Elab_Term_getMainModule___rarg(x_2194); +x_2196 = lean_ctor_get(x_2195, 1); +lean_inc(x_2196); +if (lean_is_exclusive(x_2195)) { + lean_ctor_release(x_2195, 0); + lean_ctor_release(x_2195, 1); + x_2197 = x_2195; } else { - lean_dec_ref(x_2166); - x_2168 = lean_box(0); + lean_dec_ref(x_2195); + x_2197 = 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__5; -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); +x_2198 = l_Array_empty___closed__1; +x_2199 = lean_array_push(x_2198, x_2181); +x_2200 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2201 = lean_array_push(x_2199, x_2200); +x_2202 = l_Lean_mkTermIdFromIdent___closed__2; +x_2203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2203, 0, x_2202); lean_ctor_set(x_2203, 1, x_2201); -return x_2203; +x_2204 = lean_array_push(x_2198, x_2203); +x_2205 = l_Lean_nullKind___closed__2; +x_2206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2206, 0, x_2205); +lean_ctor_set(x_2206, 1, x_2204); +x_2207 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2208 = lean_array_push(x_2207, x_2206); +x_2209 = lean_array_push(x_2208, x_2200); +x_2210 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2211 = lean_array_push(x_2209, x_2210); +x_2212 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2213 = lean_array_push(x_2211, x_2212); +lean_inc(x_11); +x_2214 = lean_array_push(x_2198, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2215 = x_11; +} else { + lean_dec_ref(x_11); + x_2215 = lean_box(0); +} +if (lean_is_scalar(x_2215)) { + x_2216 = lean_alloc_ctor(1, 2, 0); +} else { + x_2216 = x_2215; +} +lean_ctor_set(x_2216, 0, x_2205); +lean_ctor_set(x_2216, 1, x_2214); +x_2217 = lean_array_push(x_2198, x_2216); +x_2218 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2219 = lean_array_push(x_2217, x_2218); +x_2220 = lean_array_push(x_2219, x_2191); +x_2221 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2222, 0, x_2221); +lean_ctor_set(x_2222, 1, x_2220); +x_2223 = lean_array_push(x_2198, x_2222); +x_2224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2224, 0, x_2205); +lean_ctor_set(x_2224, 1, x_2223); +x_2225 = lean_array_push(x_2213, x_2224); +x_2226 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2227, 0, x_2226); +lean_ctor_set(x_2227, 1, x_2225); +if (lean_is_scalar(x_2192)) { + x_2228 = lean_alloc_ctor(0, 2, 0); +} else { + x_2228 = x_2192; +} +lean_ctor_set(x_2228, 0, x_2190); +lean_ctor_set(x_2228, 1, x_2227); +if (lean_is_scalar(x_2197)) { + x_2229 = lean_alloc_ctor(0, 2, 0); +} else { + x_2229 = x_2197; +} +lean_ctor_set(x_2229, 0, x_2228); +lean_ctor_set(x_2229, 1, x_2196); +return x_2229; +} +else +{ +lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; +lean_dec(x_2181); +lean_dec(x_11); +lean_dec(x_5); +x_2230 = lean_ctor_get(x_2187, 0); +lean_inc(x_2230); +x_2231 = lean_ctor_get(x_2187, 1); +lean_inc(x_2231); +if (lean_is_exclusive(x_2187)) { + lean_ctor_release(x_2187, 0); + lean_ctor_release(x_2187, 1); + x_2232 = x_2187; +} else { + lean_dec_ref(x_2187); + x_2232 = lean_box(0); +} +if (lean_is_scalar(x_2232)) { + x_2233 = lean_alloc_ctor(1, 2, 0); +} else { + x_2233 = x_2232; +} +lean_ctor_set(x_2233, 0, x_2230); +lean_ctor_set(x_2233, 1, x_2231); +return x_2233; } } else { -lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; +lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; 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); +x_2234 = lean_ctor_get(x_2177, 1); +lean_inc(x_2234); +lean_dec(x_2177); +x_2235 = lean_ctor_get(x_2178, 0); +lean_inc(x_2235); +lean_dec(x_2178); +x_2236 = lean_nat_add(x_3, x_2107); 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; +x_2237 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2176, x_2110, x_2235); +x_2238 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2237, x_2237, x_2110, x_4); +lean_dec(x_2237); +x_3 = x_2236; +x_4 = x_2238; +x_6 = x_2234; goto _start; } } } else { -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_2210); -x_2213 = lean_nat_add(x_3, x_2079); +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_dec(x_2112); +lean_dec(x_2111); +x_2240 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2241 = lean_ctor_get(x_2240, 0); +lean_inc(x_2241); +x_2242 = lean_ctor_get(x_2240, 1); +lean_inc(x_2242); +lean_dec(x_2240); +x_2243 = lean_nat_add(x_3, x_2107); lean_dec(x_3); -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); +x_2244 = l_Lean_mkHole(x_11); +lean_inc(x_2241); +x_2245 = l_Lean_Elab_Term_mkExplicitBinder(x_2241, x_2244); +x_2246 = lean_array_push(x_4, x_2245); lean_inc(x_5); -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) +x_2247 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2243, x_2246, x_5, x_2242); +if (lean_obj_tag(x_2247) == 0) { -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; +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; 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; +x_2248 = lean_ctor_get(x_2247, 0); +lean_inc(x_2248); +x_2249 = lean_ctor_get(x_2247, 1); +lean_inc(x_2249); +lean_dec(x_2247); +x_2250 = lean_ctor_get(x_2248, 0); +lean_inc(x_2250); +x_2251 = lean_ctor_get(x_2248, 1); +lean_inc(x_2251); +if (lean_is_exclusive(x_2248)) { + lean_ctor_release(x_2248, 0); + lean_ctor_release(x_2248, 1); + x_2252 = x_2248; } else { - lean_dec_ref(x_2218); - x_2222 = lean_box(0); + lean_dec_ref(x_2248); + x_2252 = lean_box(0); } -x_2223 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2219); +x_2253 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2249); lean_dec(x_5); -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; +x_2254 = lean_ctor_get(x_2253, 1); +lean_inc(x_2254); +lean_dec(x_2253); +x_2255 = l_Lean_Elab_Term_getMainModule___rarg(x_2254); +x_2256 = lean_ctor_get(x_2255, 1); +lean_inc(x_2256); +if (lean_is_exclusive(x_2255)) { + lean_ctor_release(x_2255, 0); + lean_ctor_release(x_2255, 1); + x_2257 = x_2255; } else { - lean_dec_ref(x_2225); - x_2227 = lean_box(0); + lean_dec_ref(x_2255); + x_2257 = lean_box(0); } -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); +x_2258 = l_Array_empty___closed__1; +x_2259 = lean_array_push(x_2258, x_2241); +x_2260 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2261 = lean_array_push(x_2259, x_2260); +x_2262 = l_Lean_mkTermIdFromIdent___closed__2; +x_2263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2263, 0, x_2262); +lean_ctor_set(x_2263, 1, x_2261); +x_2264 = lean_array_push(x_2258, x_2263); +x_2265 = l_Lean_nullKind___closed__2; +x_2266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2266, 0, x_2265); +lean_ctor_set(x_2266, 1, x_2264); +x_2267 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2268 = lean_array_push(x_2267, x_2266); +x_2269 = lean_array_push(x_2268, x_2260); +x_2270 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2271 = lean_array_push(x_2269, x_2270); +x_2272 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2273 = lean_array_push(x_2271, x_2272); lean_inc(x_11); -x_2242 = lean_array_push(x_2228, x_11); +x_2274 = lean_array_push(x_2258, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2243 = x_11; + x_2275 = x_11; } else { lean_dec_ref(x_11); - x_2243 = lean_box(0); -} -if (lean_is_scalar(x_2243)) { - x_2244 = lean_alloc_ctor(1, 2, 0); -} else { - x_2244 = x_2243; -} -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__5; -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_2257 = x_2222; -} -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_2258 = x_2227; -} -lean_ctor_set(x_2258, 0, x_2257); -lean_ctor_set(x_2258, 1, x_2226); -return x_2258; -} -else -{ -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_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_2217); - x_2261 = lean_box(0); -} -if (lean_is_scalar(x_2261)) { - x_2262 = lean_alloc_ctor(1, 2, 0); -} else { - x_2262 = x_2261; -} -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; +if (lean_is_scalar(x_2275)) { + x_2276 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_2278); - x_2280 = lean_box(0); + x_2276 = x_2275; +} +lean_ctor_set(x_2276, 0, x_2265); +lean_ctor_set(x_2276, 1, x_2274); +x_2277 = lean_array_push(x_2258, x_2276); +x_2278 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2279 = lean_array_push(x_2277, x_2278); +x_2280 = lean_array_push(x_2279, x_2251); +x_2281 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2282, 0, x_2281); +lean_ctor_set(x_2282, 1, x_2280); +x_2283 = lean_array_push(x_2258, x_2282); +x_2284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2284, 0, x_2265); +lean_ctor_set(x_2284, 1, x_2283); +x_2285 = lean_array_push(x_2273, x_2284); +x_2286 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2287, 0, x_2286); +lean_ctor_set(x_2287, 1, x_2285); +if (lean_is_scalar(x_2252)) { + x_2288 = lean_alloc_ctor(0, 2, 0); +} else { + x_2288 = x_2252; +} +lean_ctor_set(x_2288, 0, x_2250); +lean_ctor_set(x_2288, 1, x_2287); +if (lean_is_scalar(x_2257)) { + x_2289 = lean_alloc_ctor(0, 2, 0); +} else { + x_2289 = x_2257; } -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_ctor_set(x_2289, 1, x_2256); +return x_2289; +} +else +{ +lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; +lean_dec(x_2241); +lean_dec(x_11); +lean_dec(x_5); +x_2290 = lean_ctor_get(x_2247, 0); +lean_inc(x_2290); +x_2291 = lean_ctor_get(x_2247, 1); +lean_inc(x_2291); +if (lean_is_exclusive(x_2247)) { + lean_ctor_release(x_2247, 0); + lean_ctor_release(x_2247, 1); + x_2292 = x_2247; +} else { + lean_dec_ref(x_2247); + x_2292 = lean_box(0); +} +if (lean_is_scalar(x_2292)) { + x_2293 = lean_alloc_ctor(1, 2, 0); +} else { + x_2293 = x_2292; +} +lean_ctor_set(x_2293, 0, x_2290); +lean_ctor_set(x_2293, 1, x_2291); +return x_2293; +} +} +} +else +{ +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_dec(x_2108); +x_2294 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2295 = lean_ctor_get(x_2294, 0); +lean_inc(x_2295); +x_2296 = lean_ctor_get(x_2294, 1); +lean_inc(x_2296); +lean_dec(x_2294); +x_2297 = lean_nat_add(x_3, x_2107); +lean_dec(x_3); +x_2298 = l_Lean_mkHole(x_11); +lean_inc(x_2295); +x_2299 = l_Lean_Elab_Term_mkExplicitBinder(x_2295, x_2298); +x_2300 = lean_array_push(x_4, x_2299); +lean_inc(x_5); +x_2301 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2297, x_2300, x_5, x_2296); +if (lean_obj_tag(x_2301) == 0) +{ +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; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_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; +x_2302 = lean_ctor_get(x_2301, 0); +lean_inc(x_2302); +x_2303 = lean_ctor_get(x_2301, 1); +lean_inc(x_2303); +lean_dec(x_2301); +x_2304 = lean_ctor_get(x_2302, 0); +lean_inc(x_2304); +x_2305 = lean_ctor_get(x_2302, 1); +lean_inc(x_2305); +if (lean_is_exclusive(x_2302)) { + lean_ctor_release(x_2302, 0); + lean_ctor_release(x_2302, 1); + x_2306 = x_2302; +} else { + lean_dec_ref(x_2302); + x_2306 = lean_box(0); +} +x_2307 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2303); +lean_dec(x_5); +x_2308 = lean_ctor_get(x_2307, 1); +lean_inc(x_2308); +lean_dec(x_2307); +x_2309 = l_Lean_Elab_Term_getMainModule___rarg(x_2308); +x_2310 = lean_ctor_get(x_2309, 1); +lean_inc(x_2310); +if (lean_is_exclusive(x_2309)) { + lean_ctor_release(x_2309, 0); + lean_ctor_release(x_2309, 1); + x_2311 = x_2309; +} else { + lean_dec_ref(x_2309); + x_2311 = lean_box(0); +} +x_2312 = l_Array_empty___closed__1; +x_2313 = lean_array_push(x_2312, x_2295); +x_2314 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2315 = lean_array_push(x_2313, x_2314); +x_2316 = l_Lean_mkTermIdFromIdent___closed__2; +x_2317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2317, 0, x_2316); +lean_ctor_set(x_2317, 1, x_2315); +x_2318 = lean_array_push(x_2312, x_2317); +x_2319 = l_Lean_nullKind___closed__2; +x_2320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2320, 0, x_2319); +lean_ctor_set(x_2320, 1, x_2318); +x_2321 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2322 = lean_array_push(x_2321, x_2320); +x_2323 = lean_array_push(x_2322, x_2314); +x_2324 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2325 = lean_array_push(x_2323, x_2324); +x_2326 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2327 = lean_array_push(x_2325, x_2326); lean_inc(x_11); -x_2295 = lean_array_push(x_2281, x_11); +x_2328 = lean_array_push(x_2312, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2296 = x_11; + x_2329 = x_11; } else { lean_dec_ref(x_11); - x_2296 = lean_box(0); + x_2329 = lean_box(0); } -if (lean_is_scalar(x_2296)) { - x_2297 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2329)) { + x_2330 = lean_alloc_ctor(1, 2, 0); } else { - x_2297 = x_2296; + x_2330 = x_2329; } -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__5; -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); +lean_ctor_set(x_2330, 0, x_2319); +lean_ctor_set(x_2330, 1, x_2328); +x_2331 = lean_array_push(x_2312, x_2330); +x_2332 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2333 = lean_array_push(x_2331, x_2332); +x_2334 = lean_array_push(x_2333, x_2305); +x_2335 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2336, 0, x_2335); +lean_ctor_set(x_2336, 1, x_2334); +x_2337 = lean_array_push(x_2312, x_2336); +x_2338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2338, 0, x_2319); +lean_ctor_set(x_2338, 1, x_2337); +x_2339 = lean_array_push(x_2327, x_2338); +x_2340 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2341, 0, x_2340); +lean_ctor_set(x_2341, 1, x_2339); +if (lean_is_scalar(x_2306)) { + x_2342 = lean_alloc_ctor(0, 2, 0); } else { - x_2310 = x_2275; + x_2342 = x_2306; } -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); +lean_ctor_set(x_2342, 0, x_2304); +lean_ctor_set(x_2342, 1, x_2341); +if (lean_is_scalar(x_2311)) { + x_2343 = lean_alloc_ctor(0, 2, 0); } else { - x_2311 = x_2280; + x_2343 = x_2311; } -lean_ctor_set(x_2311, 0, x_2310); -lean_ctor_set(x_2311, 1, x_2279); -return x_2311; +lean_ctor_set(x_2343, 0, x_2342); +lean_ctor_set(x_2343, 1, x_2310); +return x_2343; } else { -lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; -lean_dec(x_2264); +lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; +lean_dec(x_2295); 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; +x_2344 = lean_ctor_get(x_2301, 0); +lean_inc(x_2344); +x_2345 = lean_ctor_get(x_2301, 1); +lean_inc(x_2345); +if (lean_is_exclusive(x_2301)) { + lean_ctor_release(x_2301, 0); + lean_ctor_release(x_2301, 1); + x_2346 = x_2301; } else { - lean_dec_ref(x_2270); - x_2314 = lean_box(0); + lean_dec_ref(x_2301); + x_2346 = lean_box(0); } -if (lean_is_scalar(x_2314)) { - x_2315 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2346)) { + x_2347 = lean_alloc_ctor(1, 2, 0); } else { - x_2315 = x_2314; + x_2347 = x_2346; } -lean_ctor_set(x_2315, 0, x_2312); -lean_ctor_set(x_2315, 1, x_2313); -return x_2315; +lean_ctor_set(x_2347, 0, x_2344); +lean_ctor_set(x_2347, 1, x_2345); +return x_2347; } } } } else { -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_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_dec(x_1795); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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); +x_2348 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2349 = lean_ctor_get(x_2348, 0); +lean_inc(x_2349); +x_2350 = lean_ctor_get(x_2348, 1); +lean_inc(x_2350); +lean_dec(x_2348); +x_2351 = lean_unsigned_to_nat(1u); +x_2352 = lean_nat_add(x_3, x_2351); lean_dec(x_3); -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; +x_2353 = l_Lean_Elab_Term_mkExplicitBinder(x_2349, x_11); +x_2354 = lean_array_push(x_4, x_2353); +x_3 = x_2352; +x_4 = x_2354; +x_6 = x_2350; goto _start; } } @@ -10816,1709 +10875,1717 @@ goto _start; } else { -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_object* x_2356; size_t x_2357; lean_object* x_2358; size_t x_2359; lean_object* x_2360; lean_object* x_2361; size_t x_2362; lean_object* x_2363; lean_object* x_2364; uint8_t x_2365; +x_2356 = lean_ctor_get(x_13, 1); +x_2357 = lean_ctor_get_usize(x_13, 2); +lean_inc(x_2356); lean_dec(x_13); -x_2326 = lean_ctor_get(x_14, 1); -lean_inc(x_2326); -x_2327 = lean_ctor_get_usize(x_14, 2); +x_2358 = lean_ctor_get(x_14, 1); +lean_inc(x_2358); +x_2359 = 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_2328 = x_14; + x_2360 = x_14; } else { lean_dec_ref(x_14); - x_2328 = lean_box(0); + x_2360 = lean_box(0); } -x_2329 = lean_ctor_get(x_15, 1); -lean_inc(x_2329); -x_2330 = lean_ctor_get_usize(x_15, 2); +x_2361 = lean_ctor_get(x_15, 1); +lean_inc(x_2361); +x_2362 = 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_2331 = x_15; + x_2363 = x_15; } else { lean_dec_ref(x_15); - x_2331 = lean_box(0); + x_2363 = lean_box(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) +x_2364 = l_Lean_mkAppStx___closed__1; +x_2365 = lean_string_dec_eq(x_2361, x_2364); +lean_dec(x_2361); +if (x_2365 == 0) { -uint8_t x_2334; lean_object* x_2335; -lean_dec(x_2331); -lean_dec(x_2328); -lean_dec(x_2326); -lean_dec(x_2324); +uint8_t x_2366; lean_object* x_2367; +lean_dec(x_2363); +lean_dec(x_2360); +lean_dec(x_2358); +lean_dec(x_2356); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2334 = 1; +x_2366 = 1; lean_inc(x_11); -x_2335 = l_Lean_Syntax_isTermId_x3f(x_11, x_2334); -if (lean_obj_tag(x_2335) == 0) +x_2367 = l_Lean_Syntax_isTermId_x3f(x_11, x_2366); +if (lean_obj_tag(x_2367) == 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_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; +x_2368 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2369 = lean_ctor_get(x_2368, 0); +lean_inc(x_2369); +x_2370 = lean_ctor_get(x_2368, 1); +lean_inc(x_2370); +lean_dec(x_2368); +x_2371 = lean_unsigned_to_nat(1u); +x_2372 = lean_nat_add(x_3, x_2371); 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); +x_2373 = l_Lean_mkHole(x_11); +lean_inc(x_2369); +x_2374 = l_Lean_Elab_Term_mkExplicitBinder(x_2369, x_2373); +x_2375 = lean_array_push(x_4, x_2374); 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) +x_2376 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2372, x_2375, x_5, x_2370); +if (lean_obj_tag(x_2376) == 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; +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; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; +x_2377 = lean_ctor_get(x_2376, 0); +lean_inc(x_2377); +x_2378 = lean_ctor_get(x_2376, 1); +lean_inc(x_2378); +lean_dec(x_2376); +x_2379 = lean_ctor_get(x_2377, 0); +lean_inc(x_2379); +x_2380 = lean_ctor_get(x_2377, 1); +lean_inc(x_2380); +if (lean_is_exclusive(x_2377)) { + lean_ctor_release(x_2377, 0); + lean_ctor_release(x_2377, 1); + x_2381 = x_2377; } else { - lean_dec_ref(x_2345); - x_2349 = lean_box(0); + lean_dec_ref(x_2377); + x_2381 = lean_box(0); } -x_2350 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2346); +x_2382 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2378); 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; +x_2383 = lean_ctor_get(x_2382, 1); +lean_inc(x_2383); +lean_dec(x_2382); +x_2384 = l_Lean_Elab_Term_getMainModule___rarg(x_2383); +x_2385 = lean_ctor_get(x_2384, 1); +lean_inc(x_2385); +if (lean_is_exclusive(x_2384)) { + lean_ctor_release(x_2384, 0); + lean_ctor_release(x_2384, 1); + x_2386 = x_2384; } else { - lean_dec_ref(x_2352); - x_2354 = lean_box(0); + lean_dec_ref(x_2384); + x_2386 = 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); +x_2387 = l_Array_empty___closed__1; +x_2388 = lean_array_push(x_2387, x_2369); +x_2389 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2390 = lean_array_push(x_2388, x_2389); +x_2391 = l_Lean_mkTermIdFromIdent___closed__2; +x_2392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2392, 0, x_2391); +lean_ctor_set(x_2392, 1, x_2390); +x_2393 = lean_array_push(x_2387, x_2392); +x_2394 = l_Lean_nullKind___closed__2; +x_2395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2395, 0, x_2394); +lean_ctor_set(x_2395, 1, x_2393); +x_2396 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2397 = lean_array_push(x_2396, x_2395); +x_2398 = lean_array_push(x_2397, x_2389); +x_2399 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2400 = lean_array_push(x_2398, x_2399); +x_2401 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2402 = lean_array_push(x_2400, x_2401); lean_inc(x_11); -x_2369 = lean_array_push(x_2355, x_11); +x_2403 = lean_array_push(x_2387, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2370 = x_11; + x_2404 = x_11; } else { lean_dec_ref(x_11); - x_2370 = lean_box(0); + x_2404 = lean_box(0); } -if (lean_is_scalar(x_2370)) { - x_2371 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2404)) { + x_2405 = lean_alloc_ctor(1, 2, 0); } else { - x_2371 = x_2370; + x_2405 = x_2404; } -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__5; -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_2384 = x_2349; -} -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_2385 = x_2354; -} -lean_ctor_set(x_2385, 0, x_2384); -lean_ctor_set(x_2385, 1, x_2353); -return x_2385; -} -else -{ -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_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_2344); - x_2388 = lean_box(0); -} -if (lean_is_scalar(x_2388)) { - x_2389 = lean_alloc_ctor(1, 2, 0); -} else { - x_2389 = x_2388; -} -lean_ctor_set(x_2389, 0, x_2386); -lean_ctor_set(x_2389, 1, x_2387); -return x_2389; -} -} -else -{ -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_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_2394 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_2395 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2394, x_5, x_6); -lean_dec(x_11); -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_2395); - x_2398 = lean_box(0); -} -if (lean_is_scalar(x_2398)) { - x_2399 = lean_alloc_ctor(1, 2, 0); -} else { - x_2399 = x_2398; -} -lean_ctor_set(x_2399, 0, x_2396); -lean_ctor_set(x_2399, 1, x_2397); -return x_2399; -} -else -{ -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_2401 = lean_unsigned_to_nat(1u); -x_2402 = lean_nat_add(x_3, x_2401); -lean_dec(x_3); -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_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_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_2408 = x_2331; -} -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_2409 = x_2328; -} -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); +lean_ctor_set(x_2405, 0, x_2394); +lean_ctor_set(x_2405, 1, x_2403); +x_2406 = lean_array_push(x_2387, x_2405); +x_2407 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2408 = lean_array_push(x_2406, x_2407); +x_2409 = lean_array_push(x_2408, x_2380); +x_2410 = l_Lean_Parser_Term_matchAlt___closed__2; 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_2413 = l_Lean_Syntax_isTermId_x3f(x_2411, x_2412); -if (lean_obj_tag(x_2413) == 0) +lean_ctor_set(x_2411, 0, x_2410); +lean_ctor_set(x_2411, 1, x_2409); +x_2412 = lean_array_push(x_2387, x_2411); +x_2413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2413, 0, x_2394); +lean_ctor_set(x_2413, 1, x_2412); +x_2414 = lean_array_push(x_2402, x_2413); +x_2415 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2416, 0, x_2415); +lean_ctor_set(x_2416, 1, x_2414); +if (lean_is_scalar(x_2381)) { + x_2417 = lean_alloc_ctor(0, 2, 0); +} else { + x_2417 = x_2381; +} +lean_ctor_set(x_2417, 0, x_2379); +lean_ctor_set(x_2417, 1, x_2416); +if (lean_is_scalar(x_2386)) { + x_2418 = lean_alloc_ctor(0, 2, 0); +} else { + x_2418 = x_2386; +} +lean_ctor_set(x_2418, 0, x_2417); +lean_ctor_set(x_2418, 1, x_2385); +return x_2418; +} +else { -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_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_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; +lean_dec(x_2369); +lean_dec(x_11); +lean_dec(x_5); +x_2419 = lean_ctor_get(x_2376, 0); +lean_inc(x_2419); +x_2420 = lean_ctor_get(x_2376, 1); +lean_inc(x_2420); +if (lean_is_exclusive(x_2376)) { + lean_ctor_release(x_2376, 0); + lean_ctor_release(x_2376, 1); + x_2421 = x_2376; +} else { + lean_dec_ref(x_2376); + x_2421 = lean_box(0); +} +if (lean_is_scalar(x_2421)) { + x_2422 = lean_alloc_ctor(1, 2, 0); +} else { + x_2422 = x_2421; +} +lean_ctor_set(x_2422, 0, x_2419); +lean_ctor_set(x_2422, 1, x_2420); +return x_2422; +} +} +else { -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_object* x_2423; lean_object* x_2424; lean_object* x_2425; uint8_t x_2426; +x_2423 = lean_ctor_get(x_2367, 0); lean_inc(x_2423); -x_2424 = lean_ctor_get(x_2422, 1); +lean_dec(x_2367); +x_2424 = lean_ctor_get(x_2423, 0); lean_inc(x_2424); -lean_dec(x_2422); -x_2425 = lean_ctor_get(x_2423, 0); +x_2425 = lean_ctor_get(x_2423, 1); 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_2423); - x_2427 = lean_box(0); -} -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_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_2448 = x_11; -} else { - lean_dec_ref(x_11); - x_2448 = lean_box(0); -} -if (lean_is_scalar(x_2448)) { - x_2449 = lean_alloc_ctor(1, 2, 0); -} else { - x_2449 = x_2448; -} -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__5; -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_2462 = x_2427; -} -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_2463 = x_2432; -} -lean_ctor_set(x_2463, 0, x_2462); -lean_ctor_set(x_2463, 1, x_2431); -return x_2463; -} -else +lean_dec(x_2423); +x_2426 = l_Lean_Syntax_isNone(x_2425); +lean_dec(x_2425); +if (x_2426 == 0) { -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_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; +lean_dec(x_2424); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2472 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_2427 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2428 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2427, x_5, x_6); +lean_dec(x_11); +x_2429 = lean_ctor_get(x_2428, 0); +lean_inc(x_2429); +x_2430 = lean_ctor_get(x_2428, 1); +lean_inc(x_2430); +if (lean_is_exclusive(x_2428)) { + lean_ctor_release(x_2428, 0); + lean_ctor_release(x_2428, 1); + x_2431 = x_2428; } else { - lean_dec_ref(x_2473); - x_2476 = lean_box(0); + lean_dec_ref(x_2428); + x_2431 = lean_box(0); } -if (lean_is_scalar(x_2476)) { - x_2477 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2431)) { + x_2432 = lean_alloc_ctor(1, 2, 0); } else { - x_2477 = x_2476; + x_2432 = x_2431; } -lean_ctor_set(x_2477, 0, x_2474); -lean_ctor_set(x_2477, 1, x_2475); -return x_2477; +lean_ctor_set(x_2432, 0, x_2429); +lean_ctor_set(x_2432, 1, x_2430); +return x_2432; } 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_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; +x_2433 = l_Lean_mkHole(x_11); +lean_dec(x_11); +x_2434 = lean_unsigned_to_nat(1u); +x_2435 = lean_nat_add(x_3, x_2434); 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; +x_2436 = l_Lean_Elab_Term_mkExplicitBinder(x_2424, x_2433); +x_2437 = lean_array_push(x_4, x_2436); +x_3 = x_2435; +x_4 = x_2437; goto _start; } } } else { -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_2439; uint8_t x_2440; +x_2439 = l_Lean_mkAppStx___closed__3; +x_2440 = lean_string_dec_eq(x_2358, x_2439); +if (x_2440 == 0) { -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); +lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; uint8_t x_2445; lean_object* x_2446; +if (lean_is_scalar(x_2363)) { + x_2441 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2486 = x_2331; + x_2441 = x_2363; } -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); +lean_ctor_set(x_2441, 0, x_16); +lean_ctor_set(x_2441, 1, x_2364); +lean_ctor_set_usize(x_2441, 2, x_2362); +if (lean_is_scalar(x_2360)) { + x_2442 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2487 = x_2328; + x_2442 = x_2360; } -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); -x_2491 = l_Lean_Syntax_isTermId_x3f(x_2489, x_2490); -if (lean_obj_tag(x_2491) == 0) +lean_ctor_set(x_2442, 0, x_2441); +lean_ctor_set(x_2442, 1, x_2358); +lean_ctor_set_usize(x_2442, 2, x_2359); +x_2443 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2443, 0, x_2442); +lean_ctor_set(x_2443, 1, x_2356); +lean_ctor_set_usize(x_2443, 2, x_2357); +lean_ctor_set(x_12, 0, x_2443); +x_2444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2444, 0, x_12); +lean_ctor_set(x_2444, 1, x_17); +x_2445 = 1; +lean_inc(x_2444); +x_2446 = l_Lean_Syntax_isTermId_x3f(x_2444, x_2445); +if (lean_obj_tag(x_2446) == 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); -lean_dec(x_2492); -x_2495 = lean_unsigned_to_nat(1u); -x_2496 = lean_nat_add(x_3, x_2495); +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_dec(x_2444); +x_2447 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2448 = lean_ctor_get(x_2447, 0); +lean_inc(x_2448); +x_2449 = lean_ctor_get(x_2447, 1); +lean_inc(x_2449); +lean_dec(x_2447); +x_2450 = lean_unsigned_to_nat(1u); +x_2451 = lean_nat_add(x_3, x_2450); 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); +x_2452 = l_Lean_mkHole(x_11); +lean_inc(x_2448); +x_2453 = l_Lean_Elab_Term_mkExplicitBinder(x_2448, x_2452); +x_2454 = lean_array_push(x_4, x_2453); 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) +x_2455 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2451, x_2454, x_5, x_2449); +if (lean_obj_tag(x_2455) == 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; +lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; 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_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_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; +x_2456 = lean_ctor_get(x_2455, 0); +lean_inc(x_2456); +x_2457 = lean_ctor_get(x_2455, 1); +lean_inc(x_2457); +lean_dec(x_2455); +x_2458 = lean_ctor_get(x_2456, 0); +lean_inc(x_2458); +x_2459 = lean_ctor_get(x_2456, 1); +lean_inc(x_2459); +if (lean_is_exclusive(x_2456)) { + lean_ctor_release(x_2456, 0); + lean_ctor_release(x_2456, 1); + x_2460 = x_2456; } else { - lean_dec_ref(x_2501); - x_2505 = lean_box(0); + lean_dec_ref(x_2456); + x_2460 = lean_box(0); } -x_2506 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2502); +x_2461 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2457); 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; +x_2462 = lean_ctor_get(x_2461, 1); +lean_inc(x_2462); +lean_dec(x_2461); +x_2463 = l_Lean_Elab_Term_getMainModule___rarg(x_2462); +x_2464 = lean_ctor_get(x_2463, 1); +lean_inc(x_2464); +if (lean_is_exclusive(x_2463)) { + lean_ctor_release(x_2463, 0); + lean_ctor_release(x_2463, 1); + x_2465 = x_2463; } else { - lean_dec_ref(x_2508); + lean_dec_ref(x_2463); + x_2465 = lean_box(0); +} +x_2466 = l_Array_empty___closed__1; +x_2467 = lean_array_push(x_2466, x_2448); +x_2468 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2469 = lean_array_push(x_2467, x_2468); +x_2470 = l_Lean_mkTermIdFromIdent___closed__2; +x_2471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2471, 0, x_2470); +lean_ctor_set(x_2471, 1, x_2469); +x_2472 = lean_array_push(x_2466, x_2471); +x_2473 = l_Lean_nullKind___closed__2; +x_2474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2474, 0, x_2473); +lean_ctor_set(x_2474, 1, x_2472); +x_2475 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2476 = lean_array_push(x_2475, x_2474); +x_2477 = lean_array_push(x_2476, x_2468); +x_2478 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2479 = lean_array_push(x_2477, x_2478); +x_2480 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2481 = lean_array_push(x_2479, x_2480); +lean_inc(x_11); +x_2482 = lean_array_push(x_2466, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2483 = x_11; +} else { + lean_dec_ref(x_11); + x_2483 = lean_box(0); +} +if (lean_is_scalar(x_2483)) { + x_2484 = lean_alloc_ctor(1, 2, 0); +} else { + x_2484 = x_2483; +} +lean_ctor_set(x_2484, 0, x_2473); +lean_ctor_set(x_2484, 1, x_2482); +x_2485 = lean_array_push(x_2466, x_2484); +x_2486 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2487 = lean_array_push(x_2485, x_2486); +x_2488 = lean_array_push(x_2487, x_2459); +x_2489 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2490, 0, x_2489); +lean_ctor_set(x_2490, 1, x_2488); +x_2491 = lean_array_push(x_2466, x_2490); +x_2492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2492, 0, x_2473); +lean_ctor_set(x_2492, 1, x_2491); +x_2493 = lean_array_push(x_2481, x_2492); +x_2494 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2495, 0, x_2494); +lean_ctor_set(x_2495, 1, x_2493); +if (lean_is_scalar(x_2460)) { + x_2496 = lean_alloc_ctor(0, 2, 0); +} else { + x_2496 = x_2460; +} +lean_ctor_set(x_2496, 0, x_2458); +lean_ctor_set(x_2496, 1, x_2495); +if (lean_is_scalar(x_2465)) { + x_2497 = lean_alloc_ctor(0, 2, 0); +} else { + x_2497 = x_2465; +} +lean_ctor_set(x_2497, 0, x_2496); +lean_ctor_set(x_2497, 1, x_2464); +return x_2497; +} +else +{ +lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; +lean_dec(x_2448); +lean_dec(x_11); +lean_dec(x_5); +x_2498 = lean_ctor_get(x_2455, 0); +lean_inc(x_2498); +x_2499 = lean_ctor_get(x_2455, 1); +lean_inc(x_2499); +if (lean_is_exclusive(x_2455)) { + lean_ctor_release(x_2455, 0); + lean_ctor_release(x_2455, 1); + x_2500 = x_2455; +} else { + lean_dec_ref(x_2455); + x_2500 = lean_box(0); +} +if (lean_is_scalar(x_2500)) { + x_2501 = lean_alloc_ctor(1, 2, 0); +} else { + x_2501 = x_2500; +} +lean_ctor_set(x_2501, 0, x_2498); +lean_ctor_set(x_2501, 1, x_2499); +return x_2501; +} +} +else +{ +lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; uint8_t x_2505; +lean_dec(x_11); +x_2502 = lean_ctor_get(x_2446, 0); +lean_inc(x_2502); +lean_dec(x_2446); +x_2503 = lean_ctor_get(x_2502, 0); +lean_inc(x_2503); +x_2504 = lean_ctor_get(x_2502, 1); +lean_inc(x_2504); +lean_dec(x_2502); +x_2505 = l_Lean_Syntax_isNone(x_2504); +lean_dec(x_2504); +if (x_2505 == 0) +{ +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_dec(x_2503); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2506 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2507 = l_Lean_Elab_Term_throwError___rarg(x_2444, x_2506, x_5, x_6); +lean_dec(x_2444); +x_2508 = lean_ctor_get(x_2507, 0); +lean_inc(x_2508); +x_2509 = lean_ctor_get(x_2507, 1); +lean_inc(x_2509); +if (lean_is_exclusive(x_2507)) { + lean_ctor_release(x_2507, 0); + lean_ctor_release(x_2507, 1); + x_2510 = x_2507; +} else { + lean_dec_ref(x_2507); x_2510 = lean_box(0); } -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 = 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 { - lean_dec_ref(x_11); - x_2526 = lean_box(0); -} -if (lean_is_scalar(x_2526)) { - x_2527 = lean_alloc_ctor(1, 2, 0); -} else { - x_2527 = 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__5; -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); + x_2511 = lean_alloc_ctor(1, 2, 0); } else { - x_2541 = x_2510; + x_2511 = x_2510; } -lean_ctor_set(x_2541, 0, x_2540); -lean_ctor_set(x_2541, 1, x_2509); -return x_2541; +lean_ctor_set(x_2511, 0, x_2508); +lean_ctor_set(x_2511, 1, x_2509); +return x_2511; } else { -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_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; +lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; +x_2512 = l_Lean_mkHole(x_2444); +lean_dec(x_2444); +x_2513 = lean_unsigned_to_nat(1u); +x_2514 = lean_nat_add(x_3, x_2513); +lean_dec(x_3); +x_2515 = l_Lean_Elab_Term_mkExplicitBinder(x_2503, x_2512); +x_2516 = lean_array_push(x_4, x_2515); +x_3 = x_2514; +x_4 = x_2516; +goto _start; +} +} +} +else +{ +lean_object* x_2518; uint8_t x_2519; +lean_dec(x_2358); +x_2518 = l_Lean_mkAppStx___closed__5; +x_2519 = lean_string_dec_eq(x_2356, x_2518); +if (x_2519 == 0) +{ +lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; uint8_t x_2524; lean_object* x_2525; +if (lean_is_scalar(x_2363)) { + x_2520 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_2500); + x_2520 = x_2363; +} +lean_ctor_set(x_2520, 0, x_16); +lean_ctor_set(x_2520, 1, x_2364); +lean_ctor_set_usize(x_2520, 2, x_2362); +if (lean_is_scalar(x_2360)) { + x_2521 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2521 = x_2360; +} +lean_ctor_set(x_2521, 0, x_2520); +lean_ctor_set(x_2521, 1, x_2439); +lean_ctor_set_usize(x_2521, 2, x_2359); +x_2522 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2522, 0, x_2521); +lean_ctor_set(x_2522, 1, x_2356); +lean_ctor_set_usize(x_2522, 2, x_2357); +lean_ctor_set(x_12, 0, x_2522); +x_2523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2523, 0, x_12); +lean_ctor_set(x_2523, 1, x_17); +x_2524 = 1; +lean_inc(x_2523); +x_2525 = l_Lean_Syntax_isTermId_x3f(x_2523, x_2524); +if (lean_obj_tag(x_2525) == 0) +{ +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_dec(x_2523); +x_2526 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2527 = lean_ctor_get(x_2526, 0); +lean_inc(x_2527); +x_2528 = lean_ctor_get(x_2526, 1); +lean_inc(x_2528); +lean_dec(x_2526); +x_2529 = lean_unsigned_to_nat(1u); +x_2530 = lean_nat_add(x_3, x_2529); +lean_dec(x_3); +x_2531 = l_Lean_mkHole(x_11); +lean_inc(x_2527); +x_2532 = l_Lean_Elab_Term_mkExplicitBinder(x_2527, x_2531); +x_2533 = lean_array_push(x_4, x_2532); +lean_inc(x_5); +x_2534 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2530, x_2533, x_5, x_2528); +if (lean_obj_tag(x_2534) == 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_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; 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; +x_2535 = lean_ctor_get(x_2534, 0); +lean_inc(x_2535); +x_2536 = lean_ctor_get(x_2534, 1); +lean_inc(x_2536); +lean_dec(x_2534); +x_2537 = lean_ctor_get(x_2535, 0); +lean_inc(x_2537); +x_2538 = lean_ctor_get(x_2535, 1); +lean_inc(x_2538); +if (lean_is_exclusive(x_2535)) { + lean_ctor_release(x_2535, 0); + lean_ctor_release(x_2535, 1); + x_2539 = x_2535; +} else { + lean_dec_ref(x_2535); + x_2539 = lean_box(0); +} +x_2540 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2536); +lean_dec(x_5); +x_2541 = lean_ctor_get(x_2540, 1); +lean_inc(x_2541); +lean_dec(x_2540); +x_2542 = l_Lean_Elab_Term_getMainModule___rarg(x_2541); +x_2543 = lean_ctor_get(x_2542, 1); +lean_inc(x_2543); +if (lean_is_exclusive(x_2542)) { + lean_ctor_release(x_2542, 0); + lean_ctor_release(x_2542, 1); + x_2544 = x_2542; +} else { + lean_dec_ref(x_2542); x_2544 = lean_box(0); } -if (lean_is_scalar(x_2544)) { - x_2545 = lean_alloc_ctor(1, 2, 0); -} else { - x_2545 = x_2544; -} -lean_ctor_set(x_2545, 0, x_2542); -lean_ctor_set(x_2545, 1, x_2543); -return x_2545; -} -} -else -{ -lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; uint8_t x_2549; -lean_dec(x_11); -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_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_2550 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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_2551); - x_2554 = lean_box(0); -} -if (lean_is_scalar(x_2554)) { - x_2555 = lean_alloc_ctor(1, 2, 0); -} else { - x_2555 = x_2554; -} -lean_ctor_set(x_2555, 0, x_2552); -lean_ctor_set(x_2555, 1, x_2553); -return x_2555; -} -else -{ -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_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_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_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_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_2566 = x_2331; -} -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_2567 = x_2328; -} -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_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); -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_2581); - x_2585 = lean_box(0); -} -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_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); +x_2545 = l_Array_empty___closed__1; +x_2546 = lean_array_push(x_2545, x_2527); +x_2547 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2548 = lean_array_push(x_2546, x_2547); +x_2549 = l_Lean_mkTermIdFromIdent___closed__2; +x_2550 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2550, 0, x_2549); +lean_ctor_set(x_2550, 1, x_2548); +x_2551 = lean_array_push(x_2545, x_2550); +x_2552 = l_Lean_nullKind___closed__2; +x_2553 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2553, 0, x_2552); +lean_ctor_set(x_2553, 1, x_2551); +x_2554 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2555 = lean_array_push(x_2554, x_2553); +x_2556 = lean_array_push(x_2555, x_2547); +x_2557 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2558 = lean_array_push(x_2556, x_2557); +x_2559 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2560 = lean_array_push(x_2558, x_2559); lean_inc(x_11); -x_2605 = lean_array_push(x_2591, x_11); +x_2561 = lean_array_push(x_2545, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2606 = x_11; + x_2562 = x_11; } else { lean_dec_ref(x_11); - x_2606 = lean_box(0); + x_2562 = lean_box(0); } -if (lean_is_scalar(x_2606)) { - x_2607 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2562)) { + x_2563 = lean_alloc_ctor(1, 2, 0); } else { - x_2607 = x_2606; + x_2563 = x_2562; } -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__5; -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); +lean_ctor_set(x_2563, 0, x_2552); +lean_ctor_set(x_2563, 1, x_2561); +x_2564 = lean_array_push(x_2545, x_2563); +x_2565 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2566 = lean_array_push(x_2564, x_2565); +x_2567 = lean_array_push(x_2566, x_2538); +x_2568 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2569, 0, x_2568); +lean_ctor_set(x_2569, 1, x_2567); +x_2570 = lean_array_push(x_2545, x_2569); +x_2571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2571, 0, x_2552); +lean_ctor_set(x_2571, 1, x_2570); +x_2572 = lean_array_push(x_2560, x_2571); +x_2573 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2574, 0, x_2573); +lean_ctor_set(x_2574, 1, x_2572); +if (lean_is_scalar(x_2539)) { + x_2575 = lean_alloc_ctor(0, 2, 0); } else { - x_2620 = x_2585; + x_2575 = x_2539; } -lean_ctor_set(x_2620, 0, x_2583); -lean_ctor_set(x_2620, 1, x_2619); -if (lean_is_scalar(x_2590)) { - x_2621 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2575, 0, x_2537); +lean_ctor_set(x_2575, 1, x_2574); +if (lean_is_scalar(x_2544)) { + x_2576 = lean_alloc_ctor(0, 2, 0); } else { - x_2621 = x_2590; + x_2576 = x_2544; } -lean_ctor_set(x_2621, 0, x_2620); -lean_ctor_set(x_2621, 1, x_2589); -return x_2621; +lean_ctor_set(x_2576, 0, x_2575); +lean_ctor_set(x_2576, 1, x_2543); +return x_2576; } else { -lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; -lean_dec(x_2573); +lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; +lean_dec(x_2527); lean_dec(x_11); lean_dec(x_5); -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; +x_2577 = lean_ctor_get(x_2534, 0); +lean_inc(x_2577); +x_2578 = lean_ctor_get(x_2534, 1); +lean_inc(x_2578); +if (lean_is_exclusive(x_2534)) { + lean_ctor_release(x_2534, 0); + lean_ctor_release(x_2534, 1); + x_2579 = x_2534; } else { - lean_dec_ref(x_2580); - x_2624 = lean_box(0); + lean_dec_ref(x_2534); + x_2579 = lean_box(0); } -if (lean_is_scalar(x_2624)) { - x_2625 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2579)) { + x_2580 = lean_alloc_ctor(1, 2, 0); } else { - x_2625 = x_2624; + x_2580 = x_2579; } -lean_ctor_set(x_2625, 0, x_2622); -lean_ctor_set(x_2625, 1, x_2623); -return x_2625; +lean_ctor_set(x_2580, 0, x_2577); +lean_ctor_set(x_2580, 1, x_2578); +return x_2580; } } else { -lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; uint8_t x_2629; +lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; uint8_t x_2584; lean_dec(x_11); -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) +x_2581 = lean_ctor_get(x_2525, 0); +lean_inc(x_2581); +lean_dec(x_2525); +x_2582 = lean_ctor_get(x_2581, 0); +lean_inc(x_2582); +x_2583 = lean_ctor_get(x_2581, 1); +lean_inc(x_2583); +lean_dec(x_2581); +x_2584 = l_Lean_Syntax_isNone(x_2583); +lean_dec(x_2583); +if (x_2584 == 0) { -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_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; +lean_dec(x_2582); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2630 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_2585 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2586 = l_Lean_Elab_Term_throwError___rarg(x_2523, x_2585, x_5, x_6); +lean_dec(x_2523); +x_2587 = lean_ctor_get(x_2586, 0); +lean_inc(x_2587); +x_2588 = lean_ctor_get(x_2586, 1); +lean_inc(x_2588); +if (lean_is_exclusive(x_2586)) { + lean_ctor_release(x_2586, 0); + lean_ctor_release(x_2586, 1); + x_2589 = x_2586; } else { - lean_dec_ref(x_2631); - x_2634 = lean_box(0); + lean_dec_ref(x_2586); + x_2589 = lean_box(0); } -if (lean_is_scalar(x_2634)) { - x_2635 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2589)) { + x_2590 = lean_alloc_ctor(1, 2, 0); } else { - x_2635 = x_2634; + x_2590 = x_2589; } -lean_ctor_set(x_2635, 0, x_2632); -lean_ctor_set(x_2635, 1, x_2633); -return x_2635; +lean_ctor_set(x_2590, 0, x_2587); +lean_ctor_set(x_2590, 1, x_2588); +return x_2590; } else { -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_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; +x_2591 = l_Lean_mkHole(x_2523); +lean_dec(x_2523); +x_2592 = lean_unsigned_to_nat(1u); +x_2593 = lean_nat_add(x_3, x_2592); lean_dec(x_3); -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; +x_2594 = l_Lean_Elab_Term_mkExplicitBinder(x_2582, x_2591); +x_2595 = lean_array_push(x_4, x_2594); +x_3 = x_2593; +x_4 = x_2595; goto _start; } } } else { -lean_object* x_2642; lean_object* x_2643; uint8_t x_2644; -lean_dec(x_2331); -lean_dec(x_2328); +lean_object* x_2597; uint8_t x_2598; +lean_dec(x_2356); +x_2597 = l_Lean_mkHole___closed__1; +x_2598 = lean_string_dec_eq(x_19, x_2597); +if (x_2598 == 0) +{ +lean_object* x_2599; uint8_t x_2600; +x_2599 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2600 = lean_string_dec_eq(x_19, x_2599); +if (x_2600 == 0) +{ +lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; uint8_t x_2605; lean_object* x_2606; +if (lean_is_scalar(x_2363)) { + x_2601 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2601 = x_2363; +} +lean_ctor_set(x_2601, 0, x_16); +lean_ctor_set(x_2601, 1, x_2364); +lean_ctor_set_usize(x_2601, 2, x_2362); +if (lean_is_scalar(x_2360)) { + x_2602 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2602 = x_2360; +} +lean_ctor_set(x_2602, 0, x_2601); +lean_ctor_set(x_2602, 1, x_2439); +lean_ctor_set_usize(x_2602, 2, x_2359); +x_2603 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2603, 0, x_2602); +lean_ctor_set(x_2603, 1, x_2518); +lean_ctor_set_usize(x_2603, 2, x_2357); +lean_ctor_set(x_12, 0, x_2603); +x_2604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2604, 0, x_12); +lean_ctor_set(x_2604, 1, x_17); +x_2605 = 1; +lean_inc(x_2604); +x_2606 = l_Lean_Syntax_isTermId_x3f(x_2604, x_2605); +if (lean_obj_tag(x_2606) == 0) +{ +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_dec(x_2604); +x_2607 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2608 = lean_ctor_get(x_2607, 0); +lean_inc(x_2608); +x_2609 = lean_ctor_get(x_2607, 1); +lean_inc(x_2609); +lean_dec(x_2607); +x_2610 = lean_unsigned_to_nat(1u); +x_2611 = lean_nat_add(x_3, x_2610); +lean_dec(x_3); +x_2612 = l_Lean_mkHole(x_11); +lean_inc(x_2608); +x_2613 = l_Lean_Elab_Term_mkExplicitBinder(x_2608, x_2612); +x_2614 = lean_array_push(x_4, x_2613); +lean_inc(x_5); +x_2615 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2611, x_2614, x_5, x_2609); +if (lean_obj_tag(x_2615) == 0) +{ +lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_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; +x_2616 = lean_ctor_get(x_2615, 0); +lean_inc(x_2616); +x_2617 = lean_ctor_get(x_2615, 1); +lean_inc(x_2617); +lean_dec(x_2615); +x_2618 = lean_ctor_get(x_2616, 0); +lean_inc(x_2618); +x_2619 = lean_ctor_get(x_2616, 1); +lean_inc(x_2619); +if (lean_is_exclusive(x_2616)) { + lean_ctor_release(x_2616, 0); + lean_ctor_release(x_2616, 1); + x_2620 = x_2616; +} else { + lean_dec_ref(x_2616); + x_2620 = lean_box(0); +} +x_2621 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2617); +lean_dec(x_5); +x_2622 = lean_ctor_get(x_2621, 1); +lean_inc(x_2622); +lean_dec(x_2621); +x_2623 = l_Lean_Elab_Term_getMainModule___rarg(x_2622); +x_2624 = lean_ctor_get(x_2623, 1); +lean_inc(x_2624); +if (lean_is_exclusive(x_2623)) { + lean_ctor_release(x_2623, 0); + lean_ctor_release(x_2623, 1); + x_2625 = x_2623; +} else { + lean_dec_ref(x_2623); + x_2625 = lean_box(0); +} +x_2626 = l_Array_empty___closed__1; +x_2627 = lean_array_push(x_2626, x_2608); +x_2628 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2629 = lean_array_push(x_2627, x_2628); +x_2630 = l_Lean_mkTermIdFromIdent___closed__2; +x_2631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2631, 0, x_2630); +lean_ctor_set(x_2631, 1, x_2629); +x_2632 = lean_array_push(x_2626, x_2631); +x_2633 = l_Lean_nullKind___closed__2; +x_2634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2634, 0, x_2633); +lean_ctor_set(x_2634, 1, x_2632); +x_2635 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2636 = lean_array_push(x_2635, x_2634); +x_2637 = lean_array_push(x_2636, x_2628); +x_2638 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2639 = lean_array_push(x_2637, x_2638); +x_2640 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2641 = lean_array_push(x_2639, x_2640); +lean_inc(x_11); +x_2642 = lean_array_push(x_2626, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2643 = x_11; +} else { + lean_dec_ref(x_11); + x_2643 = lean_box(0); +} +if (lean_is_scalar(x_2643)) { + x_2644 = lean_alloc_ctor(1, 2, 0); +} else { + x_2644 = x_2643; +} +lean_ctor_set(x_2644, 0, x_2633); +lean_ctor_set(x_2644, 1, x_2642); +x_2645 = lean_array_push(x_2626, x_2644); +x_2646 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2647 = lean_array_push(x_2645, x_2646); +x_2648 = lean_array_push(x_2647, x_2619); +x_2649 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2650, 0, x_2649); +lean_ctor_set(x_2650, 1, x_2648); +x_2651 = lean_array_push(x_2626, x_2650); +x_2652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2652, 0, x_2633); +lean_ctor_set(x_2652, 1, x_2651); +x_2653 = lean_array_push(x_2641, x_2652); +x_2654 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2655, 0, x_2654); +lean_ctor_set(x_2655, 1, x_2653); +if (lean_is_scalar(x_2620)) { + x_2656 = lean_alloc_ctor(0, 2, 0); +} else { + x_2656 = x_2620; +} +lean_ctor_set(x_2656, 0, x_2618); +lean_ctor_set(x_2656, 1, x_2655); +if (lean_is_scalar(x_2625)) { + x_2657 = lean_alloc_ctor(0, 2, 0); +} else { + x_2657 = x_2625; +} +lean_ctor_set(x_2657, 0, x_2656); +lean_ctor_set(x_2657, 1, x_2624); +return x_2657; +} +else +{ +lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; +lean_dec(x_2608); +lean_dec(x_11); +lean_dec(x_5); +x_2658 = lean_ctor_get(x_2615, 0); +lean_inc(x_2658); +x_2659 = lean_ctor_get(x_2615, 1); +lean_inc(x_2659); +if (lean_is_exclusive(x_2615)) { + lean_ctor_release(x_2615, 0); + lean_ctor_release(x_2615, 1); + x_2660 = x_2615; +} else { + lean_dec_ref(x_2615); + x_2660 = lean_box(0); +} +if (lean_is_scalar(x_2660)) { + x_2661 = lean_alloc_ctor(1, 2, 0); +} else { + x_2661 = x_2660; +} +lean_ctor_set(x_2661, 0, x_2658); +lean_ctor_set(x_2661, 1, x_2659); +return x_2661; +} +} +else +{ +lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; uint8_t x_2665; +lean_dec(x_11); +x_2662 = lean_ctor_get(x_2606, 0); +lean_inc(x_2662); +lean_dec(x_2606); +x_2663 = lean_ctor_get(x_2662, 0); +lean_inc(x_2663); +x_2664 = lean_ctor_get(x_2662, 1); +lean_inc(x_2664); +lean_dec(x_2662); +x_2665 = l_Lean_Syntax_isNone(x_2664); +lean_dec(x_2664); +if (x_2665 == 0) +{ +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_dec(x_2663); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2666 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2667 = l_Lean_Elab_Term_throwError___rarg(x_2604, x_2666, x_5, x_6); +lean_dec(x_2604); +x_2668 = lean_ctor_get(x_2667, 0); +lean_inc(x_2668); +x_2669 = lean_ctor_get(x_2667, 1); +lean_inc(x_2669); +if (lean_is_exclusive(x_2667)) { + lean_ctor_release(x_2667, 0); + lean_ctor_release(x_2667, 1); + x_2670 = x_2667; +} else { + lean_dec_ref(x_2667); + x_2670 = lean_box(0); +} +if (lean_is_scalar(x_2670)) { + x_2671 = lean_alloc_ctor(1, 2, 0); +} else { + x_2671 = x_2670; +} +lean_ctor_set(x_2671, 0, x_2668); +lean_ctor_set(x_2671, 1, x_2669); +return x_2671; +} +else +{ +lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; +x_2672 = l_Lean_mkHole(x_2604); +lean_dec(x_2604); +x_2673 = lean_unsigned_to_nat(1u); +x_2674 = lean_nat_add(x_3, x_2673); +lean_dec(x_3); +x_2675 = l_Lean_Elab_Term_mkExplicitBinder(x_2663, x_2672); +x_2676 = lean_array_push(x_4, x_2675); +x_3 = x_2674; +x_4 = x_2676; +goto _start; +} +} +} +else +{ +lean_object* x_2678; lean_object* x_2679; uint8_t x_2680; +lean_dec(x_2363); +lean_dec(x_2360); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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) +x_2678 = lean_unsigned_to_nat(1u); +x_2679 = l_Lean_Syntax_getArg(x_11, x_2678); +x_2680 = l_Lean_Syntax_isNone(x_2679); +if (x_2680 == 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_2681; lean_object* x_2682; lean_object* x_2683; uint8_t x_2684; +x_2681 = lean_unsigned_to_nat(0u); +x_2682 = l_Lean_Syntax_getArg(x_2679, x_2681); +x_2683 = l_Lean_Syntax_getArg(x_2679, x_2678); +lean_dec(x_2679); +x_2684 = l_Lean_Syntax_isNone(x_2683); +if (x_2684 == 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 = 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_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; uint8_t x_2692; +x_2685 = l_Lean_Syntax_getArg(x_2683, x_2681); +lean_dec(x_2683); +lean_inc(x_2685); +x_2686 = l_Lean_Syntax_getKind(x_2685); +x_2687 = lean_name_mk_string(x_16, x_2364); +x_2688 = lean_name_mk_string(x_2687, x_2439); +x_2689 = lean_name_mk_string(x_2688, x_2518); +x_2690 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_2691 = lean_name_mk_string(x_2689, x_2690); +x_2692 = lean_name_eq(x_2686, x_2691); +lean_dec(x_2691); +lean_dec(x_2686); +if (x_2692 == 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_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_dec(x_2685); +lean_dec(x_2682); +x_2693 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2694 = lean_ctor_get(x_2693, 0); +lean_inc(x_2694); +x_2695 = lean_ctor_get(x_2693, 1); +lean_inc(x_2695); +lean_dec(x_2693); +x_2696 = lean_nat_add(x_3, x_2678); 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); +x_2697 = l_Lean_mkHole(x_11); +lean_inc(x_2694); +x_2698 = l_Lean_Elab_Term_mkExplicitBinder(x_2694, x_2697); +x_2699 = lean_array_push(x_4, x_2698); 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) +x_2700 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2696, x_2699, x_5, x_2695); +if (lean_obj_tag(x_2700) == 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; +lean_object* x_2701; lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; 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; +x_2701 = lean_ctor_get(x_2700, 0); +lean_inc(x_2701); +x_2702 = lean_ctor_get(x_2700, 1); +lean_inc(x_2702); +lean_dec(x_2700); +x_2703 = lean_ctor_get(x_2701, 0); +lean_inc(x_2703); +x_2704 = lean_ctor_get(x_2701, 1); +lean_inc(x_2704); +if (lean_is_exclusive(x_2701)) { + lean_ctor_release(x_2701, 0); + lean_ctor_release(x_2701, 1); + x_2705 = x_2701; } else { - lean_dec_ref(x_2665); - x_2669 = lean_box(0); + lean_dec_ref(x_2701); + x_2705 = lean_box(0); } -x_2670 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2666); +x_2706 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2702); lean_dec(x_5); -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; +x_2707 = lean_ctor_get(x_2706, 1); +lean_inc(x_2707); +lean_dec(x_2706); +x_2708 = l_Lean_Elab_Term_getMainModule___rarg(x_2707); +x_2709 = lean_ctor_get(x_2708, 1); +lean_inc(x_2709); +if (lean_is_exclusive(x_2708)) { + lean_ctor_release(x_2708, 0); + lean_ctor_release(x_2708, 1); + x_2710 = x_2708; } else { - lean_dec_ref(x_2672); - x_2674 = lean_box(0); + lean_dec_ref(x_2708); + x_2710 = lean_box(0); } -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); +x_2711 = l_Array_empty___closed__1; +x_2712 = lean_array_push(x_2711, x_2694); +x_2713 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2714 = lean_array_push(x_2712, x_2713); +x_2715 = l_Lean_mkTermIdFromIdent___closed__2; +x_2716 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2716, 0, x_2715); +lean_ctor_set(x_2716, 1, x_2714); +x_2717 = lean_array_push(x_2711, x_2716); +x_2718 = l_Lean_nullKind___closed__2; +x_2719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2719, 0, x_2718); +lean_ctor_set(x_2719, 1, x_2717); +x_2720 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2721 = lean_array_push(x_2720, x_2719); +x_2722 = lean_array_push(x_2721, x_2713); +x_2723 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2724 = lean_array_push(x_2722, x_2723); +x_2725 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2726 = lean_array_push(x_2724, x_2725); lean_inc(x_11); -x_2689 = lean_array_push(x_2675, x_11); +x_2727 = lean_array_push(x_2711, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2690 = x_11; + x_2728 = x_11; } else { lean_dec_ref(x_11); - x_2690 = lean_box(0); + x_2728 = lean_box(0); } -if (lean_is_scalar(x_2690)) { - x_2691 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2728)) { + x_2729 = lean_alloc_ctor(1, 2, 0); } else { - x_2691 = x_2690; + x_2729 = x_2728; } -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__5; -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_2704 = x_2669; -} -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_2705 = x_2674; -} -lean_ctor_set(x_2705, 0, x_2704); -lean_ctor_set(x_2705, 1, x_2673); -return x_2705; -} -else -{ -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_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_2664); - x_2708 = lean_box(0); -} -if (lean_is_scalar(x_2708)) { - x_2709 = lean_alloc_ctor(1, 2, 0); -} else { - x_2709 = x_2708; -} -lean_ctor_set(x_2709, 0, x_2706); -lean_ctor_set(x_2709, 1, x_2707); -return x_2709; -} -} -else -{ -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_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; +lean_ctor_set(x_2729, 0, x_2718); +lean_ctor_set(x_2729, 1, x_2727); +x_2730 = lean_array_push(x_2711, x_2729); +x_2731 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2732 = lean_array_push(x_2730, x_2731); +x_2733 = lean_array_push(x_2732, x_2704); +x_2734 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2735 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2735, 0, x_2734); +lean_ctor_set(x_2735, 1, x_2733); +x_2736 = lean_array_push(x_2711, x_2735); 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; +lean_ctor_set(x_2737, 0, x_2718); +lean_ctor_set(x_2737, 1, x_2736); +x_2738 = lean_array_push(x_2726, x_2737); +x_2739 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_2705)) { + x_2741 = lean_alloc_ctor(0, 2, 0); +} else { + x_2741 = x_2705; +} +lean_ctor_set(x_2741, 0, x_2703); +lean_ctor_set(x_2741, 1, x_2740); +if (lean_is_scalar(x_2710)) { + x_2742 = lean_alloc_ctor(0, 2, 0); +} else { + x_2742 = x_2710; +} +lean_ctor_set(x_2742, 0, x_2741); +lean_ctor_set(x_2742, 1, x_2709); +return x_2742; +} +else +{ +lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; +lean_dec(x_2694); +lean_dec(x_11); +lean_dec(x_5); +x_2743 = lean_ctor_get(x_2700, 0); +lean_inc(x_2743); +x_2744 = lean_ctor_get(x_2700, 1); +lean_inc(x_2744); +if (lean_is_exclusive(x_2700)) { + lean_ctor_release(x_2700, 0); + lean_ctor_release(x_2700, 1); + x_2745 = x_2700; +} else { + lean_dec_ref(x_2700); + x_2745 = lean_box(0); +} +if (lean_is_scalar(x_2745)) { + x_2746 = lean_alloc_ctor(1, 2, 0); +} else { + x_2746 = x_2745; +} +lean_ctor_set(x_2746, 0, x_2743); +lean_ctor_set(x_2746, 1, x_2744); +return x_2746; +} +} +else +{ +lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; +x_2747 = l_Lean_Syntax_getArg(x_2685, x_2678); +lean_dec(x_2685); +x_2748 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2682, x_5, x_6); +x_2749 = lean_ctor_get(x_2748, 0); +lean_inc(x_2749); +if (lean_obj_tag(x_2749) == 0) +{ +lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; +lean_dec(x_2747); +x_2750 = lean_ctor_get(x_2748, 1); +lean_inc(x_2750); +lean_dec(x_2748); +x_2751 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2750); +x_2752 = lean_ctor_get(x_2751, 0); +lean_inc(x_2752); +x_2753 = lean_ctor_get(x_2751, 1); +lean_inc(x_2753); +lean_dec(x_2751); +x_2754 = lean_nat_add(x_3, x_2678); +lean_dec(x_3); +x_2755 = l_Lean_mkHole(x_11); +lean_inc(x_2752); +x_2756 = l_Lean_Elab_Term_mkExplicitBinder(x_2752, x_2755); +x_2757 = lean_array_push(x_4, x_2756); +lean_inc(x_5); +x_2758 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2754, x_2757, x_5, x_2753); +if (lean_obj_tag(x_2758) == 0) +{ +lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_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; +x_2759 = lean_ctor_get(x_2758, 0); +lean_inc(x_2759); +x_2760 = lean_ctor_get(x_2758, 1); +lean_inc(x_2760); +lean_dec(x_2758); +x_2761 = lean_ctor_get(x_2759, 0); +lean_inc(x_2761); +x_2762 = lean_ctor_get(x_2759, 1); +lean_inc(x_2762); +if (lean_is_exclusive(x_2759)) { + lean_ctor_release(x_2759, 0); + lean_ctor_release(x_2759, 1); + x_2763 = x_2759; +} else { + lean_dec_ref(x_2759); + x_2763 = lean_box(0); +} +x_2764 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2760); +lean_dec(x_5); +x_2765 = lean_ctor_get(x_2764, 1); +lean_inc(x_2765); +lean_dec(x_2764); +x_2766 = l_Lean_Elab_Term_getMainModule___rarg(x_2765); +x_2767 = lean_ctor_get(x_2766, 1); +lean_inc(x_2767); +if (lean_is_exclusive(x_2766)) { + lean_ctor_release(x_2766, 0); + lean_ctor_release(x_2766, 1); + x_2768 = x_2766; +} else { + lean_dec_ref(x_2766); + x_2768 = lean_box(0); +} +x_2769 = l_Array_empty___closed__1; +x_2770 = lean_array_push(x_2769, x_2752); +x_2771 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2772 = lean_array_push(x_2770, x_2771); +x_2773 = l_Lean_mkTermIdFromIdent___closed__2; +x_2774 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2774, 0, x_2773); +lean_ctor_set(x_2774, 1, x_2772); +x_2775 = lean_array_push(x_2769, x_2774); +x_2776 = l_Lean_nullKind___closed__2; +x_2777 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2777, 0, x_2776); +lean_ctor_set(x_2777, 1, x_2775); +x_2778 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2779 = lean_array_push(x_2778, x_2777); +x_2780 = lean_array_push(x_2779, x_2771); +x_2781 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2782 = lean_array_push(x_2780, x_2781); +x_2783 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2784 = lean_array_push(x_2782, x_2783); lean_inc(x_11); -x_2746 = lean_array_push(x_2732, x_11); +x_2785 = lean_array_push(x_2769, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2747 = x_11; + x_2786 = x_11; } else { lean_dec_ref(x_11); - x_2747 = lean_box(0); + x_2786 = lean_box(0); } -if (lean_is_scalar(x_2747)) { - x_2748 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2786)) { + x_2787 = lean_alloc_ctor(1, 2, 0); } else { - x_2748 = x_2747; + x_2787 = x_2786; } -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__5; -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); +lean_ctor_set(x_2787, 0, x_2776); +lean_ctor_set(x_2787, 1, x_2785); +x_2788 = lean_array_push(x_2769, x_2787); +x_2789 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2790 = lean_array_push(x_2788, x_2789); +x_2791 = lean_array_push(x_2790, x_2762); +x_2792 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2793 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2793, 0, x_2792); +lean_ctor_set(x_2793, 1, x_2791); +x_2794 = lean_array_push(x_2769, x_2793); +x_2795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2795, 0, x_2776); +lean_ctor_set(x_2795, 1, x_2794); +x_2796 = lean_array_push(x_2784, x_2795); +x_2797 = l_Lean_Parser_Term_match___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); +if (lean_is_scalar(x_2763)) { + x_2799 = lean_alloc_ctor(0, 2, 0); } else { - x_2761 = x_2726; + x_2799 = x_2763; } -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); +lean_ctor_set(x_2799, 0, x_2761); +lean_ctor_set(x_2799, 1, x_2798); +if (lean_is_scalar(x_2768)) { + x_2800 = lean_alloc_ctor(0, 2, 0); } else { - x_2762 = x_2731; + x_2800 = x_2768; } -lean_ctor_set(x_2762, 0, x_2761); -lean_ctor_set(x_2762, 1, x_2730); -return x_2762; +lean_ctor_set(x_2800, 0, x_2799); +lean_ctor_set(x_2800, 1, x_2767); +return x_2800; } else { -lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; -lean_dec(x_2715); +lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; +lean_dec(x_2752); 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; +x_2801 = lean_ctor_get(x_2758, 0); +lean_inc(x_2801); +x_2802 = lean_ctor_get(x_2758, 1); +lean_inc(x_2802); +if (lean_is_exclusive(x_2758)) { + lean_ctor_release(x_2758, 0); + lean_ctor_release(x_2758, 1); + x_2803 = x_2758; } else { - lean_dec_ref(x_2721); - x_2765 = lean_box(0); + lean_dec_ref(x_2758); + x_2803 = lean_box(0); } -if (lean_is_scalar(x_2765)) { - x_2766 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2803)) { + x_2804 = lean_alloc_ctor(1, 2, 0); } else { - x_2766 = x_2765; + x_2804 = x_2803; } -lean_ctor_set(x_2766, 0, x_2763); -lean_ctor_set(x_2766, 1, x_2764); -return x_2766; +lean_ctor_set(x_2804, 0, x_2801); +lean_ctor_set(x_2804, 1, x_2802); +return x_2804; } } else { -lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; +lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; 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); +x_2805 = lean_ctor_get(x_2748, 1); +lean_inc(x_2805); +lean_dec(x_2748); +x_2806 = lean_ctor_get(x_2749, 0); +lean_inc(x_2806); +lean_dec(x_2749); +x_2807 = lean_nat_add(x_3, x_2678); 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; +x_2808 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2747, x_2681, x_2806); +x_2809 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2808, x_2808, x_2681, x_4); +lean_dec(x_2808); +x_3 = x_2807; +x_4 = x_2809; +x_6 = x_2805; goto _start; } } } else { -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_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_dec(x_2683); +lean_dec(x_2682); +x_2811 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2812 = lean_ctor_get(x_2811, 0); +lean_inc(x_2812); +x_2813 = lean_ctor_get(x_2811, 1); +lean_inc(x_2813); +lean_dec(x_2811); +x_2814 = lean_nat_add(x_3, x_2678); lean_dec(x_3); -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); +x_2815 = l_Lean_mkHole(x_11); +lean_inc(x_2812); +x_2816 = l_Lean_Elab_Term_mkExplicitBinder(x_2812, x_2815); +x_2817 = lean_array_push(x_4, x_2816); lean_inc(x_5); -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) +x_2818 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2814, x_2817, x_5, x_2813); +if (lean_obj_tag(x_2818) == 0) { -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_2781); - x_2785 = lean_box(0); -} -x_2786 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2782); -lean_dec(x_5); -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_2788); - x_2790 = lean_box(0); -} -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_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_2806 = x_11; -} else { - lean_dec_ref(x_11); - x_2806 = lean_box(0); -} -if (lean_is_scalar(x_2806)) { - x_2807 = lean_alloc_ctor(1, 2, 0); -} else { - x_2807 = x_2806; -} -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__5; -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_2820 = x_2785; -} -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_2821 = x_2790; -} -lean_ctor_set(x_2821, 0, x_2820); -lean_ctor_set(x_2821, 1, x_2789); -return x_2821; -} -else -{ -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_2822 = lean_ctor_get(x_2780, 0); +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; lean_object* x_2859; lean_object* x_2860; +x_2819 = lean_ctor_get(x_2818, 0); +lean_inc(x_2819); +x_2820 = lean_ctor_get(x_2818, 1); +lean_inc(x_2820); +lean_dec(x_2818); +x_2821 = lean_ctor_get(x_2819, 0); +lean_inc(x_2821); +x_2822 = lean_ctor_get(x_2819, 1); 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; +if (lean_is_exclusive(x_2819)) { + lean_ctor_release(x_2819, 0); + lean_ctor_release(x_2819, 1); + x_2823 = x_2819; } else { - lean_dec_ref(x_2780); - x_2824 = lean_box(0); + lean_dec_ref(x_2819); + x_2823 = lean_box(0); } -if (lean_is_scalar(x_2824)) { - x_2825 = lean_alloc_ctor(1, 2, 0); -} else { - x_2825 = x_2824; -} -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); +x_2824 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2820); 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; +x_2825 = lean_ctor_get(x_2824, 1); +lean_inc(x_2825); +lean_dec(x_2824); +x_2826 = l_Lean_Elab_Term_getMainModule___rarg(x_2825); +x_2827 = lean_ctor_get(x_2826, 1); +lean_inc(x_2827); +if (lean_is_exclusive(x_2826)) { + lean_ctor_release(x_2826, 0); + lean_ctor_release(x_2826, 1); + x_2828 = x_2826; } else { - lean_dec_ref(x_2841); - x_2843 = lean_box(0); + lean_dec_ref(x_2826); + x_2828 = 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); +x_2829 = l_Array_empty___closed__1; +x_2830 = lean_array_push(x_2829, x_2812); +x_2831 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2832 = lean_array_push(x_2830, x_2831); +x_2833 = l_Lean_mkTermIdFromIdent___closed__2; +x_2834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2834, 0, x_2833); +lean_ctor_set(x_2834, 1, x_2832); +x_2835 = lean_array_push(x_2829, x_2834); +x_2836 = l_Lean_nullKind___closed__2; +x_2837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2837, 0, x_2836); +lean_ctor_set(x_2837, 1, x_2835); +x_2838 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2839 = lean_array_push(x_2838, x_2837); +x_2840 = lean_array_push(x_2839, x_2831); +x_2841 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2842 = lean_array_push(x_2840, x_2841); +x_2843 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2844 = lean_array_push(x_2842, x_2843); lean_inc(x_11); -x_2858 = lean_array_push(x_2844, x_11); +x_2845 = lean_array_push(x_2829, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2859 = x_11; + x_2846 = x_11; } else { lean_dec_ref(x_11); - x_2859 = lean_box(0); + x_2846 = lean_box(0); } -if (lean_is_scalar(x_2859)) { - x_2860 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2846)) { + x_2847 = lean_alloc_ctor(1, 2, 0); } else { - x_2860 = x_2859; + x_2847 = x_2846; } -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__5; -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); +lean_ctor_set(x_2847, 0, x_2836); +lean_ctor_set(x_2847, 1, x_2845); +x_2848 = lean_array_push(x_2829, x_2847); +x_2849 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2850 = lean_array_push(x_2848, x_2849); +x_2851 = lean_array_push(x_2850, x_2822); +x_2852 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2853, 0, x_2852); +lean_ctor_set(x_2853, 1, x_2851); +x_2854 = lean_array_push(x_2829, x_2853); +x_2855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2855, 0, x_2836); +lean_ctor_set(x_2855, 1, x_2854); +x_2856 = lean_array_push(x_2844, x_2855); +x_2857 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2858 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2858, 0, x_2857); +lean_ctor_set(x_2858, 1, x_2856); +if (lean_is_scalar(x_2823)) { + x_2859 = lean_alloc_ctor(0, 2, 0); } else { - x_2873 = x_2838; + x_2859 = x_2823; } -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); +lean_ctor_set(x_2859, 0, x_2821); +lean_ctor_set(x_2859, 1, x_2858); +if (lean_is_scalar(x_2828)) { + x_2860 = lean_alloc_ctor(0, 2, 0); } else { - x_2874 = x_2843; + x_2860 = x_2828; } -lean_ctor_set(x_2874, 0, x_2873); -lean_ctor_set(x_2874, 1, x_2842); -return x_2874; +lean_ctor_set(x_2860, 0, x_2859); +lean_ctor_set(x_2860, 1, x_2827); +return x_2860; } else { -lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; -lean_dec(x_2827); +lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; +lean_dec(x_2812); 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; +x_2861 = lean_ctor_get(x_2818, 0); +lean_inc(x_2861); +x_2862 = lean_ctor_get(x_2818, 1); +lean_inc(x_2862); +if (lean_is_exclusive(x_2818)) { + lean_ctor_release(x_2818, 0); + lean_ctor_release(x_2818, 1); + x_2863 = x_2818; } else { - lean_dec_ref(x_2833); + lean_dec_ref(x_2818); + x_2863 = lean_box(0); +} +if (lean_is_scalar(x_2863)) { + x_2864 = lean_alloc_ctor(1, 2, 0); +} else { + x_2864 = x_2863; +} +lean_ctor_set(x_2864, 0, x_2861); +lean_ctor_set(x_2864, 1, x_2862); +return x_2864; +} +} +} +else +{ +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_dec(x_2679); +x_2865 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2866 = lean_ctor_get(x_2865, 0); +lean_inc(x_2866); +x_2867 = lean_ctor_get(x_2865, 1); +lean_inc(x_2867); +lean_dec(x_2865); +x_2868 = lean_nat_add(x_3, x_2678); +lean_dec(x_3); +x_2869 = l_Lean_mkHole(x_11); +lean_inc(x_2866); +x_2870 = l_Lean_Elab_Term_mkExplicitBinder(x_2866, x_2869); +x_2871 = lean_array_push(x_4, x_2870); +lean_inc(x_5); +x_2872 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2868, x_2871, x_5, x_2867); +if (lean_obj_tag(x_2872) == 0) +{ +lean_object* x_2873; lean_object* x_2874; lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; 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_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; 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; +x_2873 = lean_ctor_get(x_2872, 0); +lean_inc(x_2873); +x_2874 = lean_ctor_get(x_2872, 1); +lean_inc(x_2874); +lean_dec(x_2872); +x_2875 = lean_ctor_get(x_2873, 0); +lean_inc(x_2875); +x_2876 = lean_ctor_get(x_2873, 1); +lean_inc(x_2876); +if (lean_is_exclusive(x_2873)) { + lean_ctor_release(x_2873, 0); + lean_ctor_release(x_2873, 1); + x_2877 = x_2873; +} else { + lean_dec_ref(x_2873); x_2877 = lean_box(0); } -if (lean_is_scalar(x_2877)) { - x_2878 = lean_alloc_ctor(1, 2, 0); +x_2878 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2874); +lean_dec(x_5); +x_2879 = lean_ctor_get(x_2878, 1); +lean_inc(x_2879); +lean_dec(x_2878); +x_2880 = l_Lean_Elab_Term_getMainModule___rarg(x_2879); +x_2881 = lean_ctor_get(x_2880, 1); +lean_inc(x_2881); +if (lean_is_exclusive(x_2880)) { + lean_ctor_release(x_2880, 0); + lean_ctor_release(x_2880, 1); + x_2882 = x_2880; } else { - x_2878 = x_2877; + lean_dec_ref(x_2880); + x_2882 = lean_box(0); } -lean_ctor_set(x_2878, 0, x_2875); -lean_ctor_set(x_2878, 1, x_2876); -return x_2878; +x_2883 = l_Array_empty___closed__1; +x_2884 = lean_array_push(x_2883, x_2866); +x_2885 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2886 = lean_array_push(x_2884, x_2885); +x_2887 = l_Lean_mkTermIdFromIdent___closed__2; +x_2888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2888, 0, x_2887); +lean_ctor_set(x_2888, 1, x_2886); +x_2889 = lean_array_push(x_2883, x_2888); +x_2890 = l_Lean_nullKind___closed__2; +x_2891 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2891, 0, x_2890); +lean_ctor_set(x_2891, 1, x_2889); +x_2892 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2893 = lean_array_push(x_2892, x_2891); +x_2894 = lean_array_push(x_2893, x_2885); +x_2895 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2896 = lean_array_push(x_2894, x_2895); +x_2897 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2898 = lean_array_push(x_2896, x_2897); +lean_inc(x_11); +x_2899 = lean_array_push(x_2883, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2900 = x_11; +} else { + lean_dec_ref(x_11); + x_2900 = lean_box(0); +} +if (lean_is_scalar(x_2900)) { + x_2901 = lean_alloc_ctor(1, 2, 0); +} else { + x_2901 = x_2900; +} +lean_ctor_set(x_2901, 0, x_2890); +lean_ctor_set(x_2901, 1, x_2899); +x_2902 = lean_array_push(x_2883, x_2901); +x_2903 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2904 = lean_array_push(x_2902, x_2903); +x_2905 = lean_array_push(x_2904, x_2876); +x_2906 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2907, 0, x_2906); +lean_ctor_set(x_2907, 1, x_2905); +x_2908 = lean_array_push(x_2883, x_2907); +x_2909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2909, 0, x_2890); +lean_ctor_set(x_2909, 1, x_2908); +x_2910 = lean_array_push(x_2898, x_2909); +x_2911 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_2877)) { + x_2913 = lean_alloc_ctor(0, 2, 0); +} else { + x_2913 = x_2877; +} +lean_ctor_set(x_2913, 0, x_2875); +lean_ctor_set(x_2913, 1, x_2912); +if (lean_is_scalar(x_2882)) { + x_2914 = lean_alloc_ctor(0, 2, 0); +} else { + x_2914 = x_2882; +} +lean_ctor_set(x_2914, 0, x_2913); +lean_ctor_set(x_2914, 1, x_2881); +return x_2914; +} +else +{ +lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; +lean_dec(x_2866); +lean_dec(x_11); +lean_dec(x_5); +x_2915 = lean_ctor_get(x_2872, 0); +lean_inc(x_2915); +x_2916 = lean_ctor_get(x_2872, 1); +lean_inc(x_2916); +if (lean_is_exclusive(x_2872)) { + lean_ctor_release(x_2872, 0); + lean_ctor_release(x_2872, 1); + x_2917 = x_2872; +} else { + lean_dec_ref(x_2872); + x_2917 = lean_box(0); +} +if (lean_is_scalar(x_2917)) { + x_2918 = lean_alloc_ctor(1, 2, 0); +} else { + x_2918 = x_2917; +} +lean_ctor_set(x_2918, 0, x_2915); +lean_ctor_set(x_2918, 1, x_2916); +return x_2918; } } } } else { -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_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_dec(x_2363); +lean_dec(x_2360); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -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); +x_2919 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2920 = lean_ctor_get(x_2919, 0); +lean_inc(x_2920); +x_2921 = lean_ctor_get(x_2919, 1); +lean_inc(x_2921); +lean_dec(x_2919); +x_2922 = lean_unsigned_to_nat(1u); +x_2923 = lean_nat_add(x_3, x_2922); lean_dec(x_3); -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; +x_2924 = l_Lean_Elab_Term_mkExplicitBinder(x_2920, x_11); +x_2925 = lean_array_push(x_4, x_2924); +x_3 = x_2923; +x_4 = x_2925; +x_6 = x_2921; goto _start; } } @@ -12528,1741 +12595,1749 @@ goto _start; } else { -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_object* x_2927; size_t x_2928; lean_object* x_2929; size_t x_2930; lean_object* x_2931; lean_object* x_2932; size_t x_2933; lean_object* x_2934; lean_object* x_2935; size_t x_2936; lean_object* x_2937; lean_object* x_2938; uint8_t x_2939; +x_2927 = lean_ctor_get(x_12, 1); +x_2928 = lean_ctor_get_usize(x_12, 2); +lean_inc(x_2927); lean_dec(x_12); -x_2889 = lean_ctor_get(x_13, 1); -lean_inc(x_2889); -x_2890 = lean_ctor_get_usize(x_13, 2); +x_2929 = lean_ctor_get(x_13, 1); +lean_inc(x_2929); +x_2930 = 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_2891 = x_13; + x_2931 = x_13; } else { lean_dec_ref(x_13); - x_2891 = lean_box(0); + x_2931 = lean_box(0); } -x_2892 = lean_ctor_get(x_14, 1); -lean_inc(x_2892); -x_2893 = lean_ctor_get_usize(x_14, 2); +x_2932 = lean_ctor_get(x_14, 1); +lean_inc(x_2932); +x_2933 = 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_2894 = x_14; + x_2934 = x_14; } else { lean_dec_ref(x_14); - x_2894 = lean_box(0); + x_2934 = lean_box(0); } -x_2895 = lean_ctor_get(x_15, 1); -lean_inc(x_2895); -x_2896 = lean_ctor_get_usize(x_15, 2); +x_2935 = lean_ctor_get(x_15, 1); +lean_inc(x_2935); +x_2936 = 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_2897 = x_15; + x_2937 = x_15; } else { lean_dec_ref(x_15); - x_2897 = lean_box(0); + x_2937 = lean_box(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) +x_2938 = l_Lean_mkAppStx___closed__1; +x_2939 = lean_string_dec_eq(x_2935, x_2938); +lean_dec(x_2935); +if (x_2939 == 0) { -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); +uint8_t x_2940; lean_object* x_2941; +lean_dec(x_2937); +lean_dec(x_2934); +lean_dec(x_2932); +lean_dec(x_2931); +lean_dec(x_2929); +lean_dec(x_2927); lean_dec(x_17); -x_2900 = 1; +x_2940 = 1; lean_inc(x_11); -x_2901 = l_Lean_Syntax_isTermId_x3f(x_11, x_2900); -if (lean_obj_tag(x_2901) == 0) +x_2941 = l_Lean_Syntax_isTermId_x3f(x_11, x_2940); +if (lean_obj_tag(x_2941) == 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_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; +x_2942 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2943 = lean_ctor_get(x_2942, 0); +lean_inc(x_2943); +x_2944 = lean_ctor_get(x_2942, 1); +lean_inc(x_2944); +lean_dec(x_2942); +x_2945 = lean_unsigned_to_nat(1u); +x_2946 = lean_nat_add(x_3, x_2945); 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); +x_2947 = l_Lean_mkHole(x_11); +lean_inc(x_2943); +x_2948 = l_Lean_Elab_Term_mkExplicitBinder(x_2943, x_2947); +x_2949 = lean_array_push(x_4, x_2948); 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) +x_2950 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2946, x_2949, x_5, x_2944); +if (lean_obj_tag(x_2950) == 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_2936 = x_11; -} else { - lean_dec_ref(x_11); - x_2936 = lean_box(0); -} -if (lean_is_scalar(x_2936)) { - x_2937 = lean_alloc_ctor(1, 2, 0); -} else { - x_2937 = x_2936; -} -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__5; -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_2950 = x_2915; -} -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_2951 = x_2920; -} -lean_ctor_set(x_2951, 0, x_2950); -lean_ctor_set(x_2951, 1, x_2919); -return x_2951; -} -else -{ -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_2952 = lean_ctor_get(x_2910, 0); +lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; lean_object* x_2958; lean_object* x_2959; 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_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; 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; +x_2951 = lean_ctor_get(x_2950, 0); +lean_inc(x_2951); +x_2952 = lean_ctor_get(x_2950, 1); lean_inc(x_2952); -x_2953 = lean_ctor_get(x_2910, 1); +lean_dec(x_2950); +x_2953 = lean_ctor_get(x_2951, 0); 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; +x_2954 = lean_ctor_get(x_2951, 1); +lean_inc(x_2954); +if (lean_is_exclusive(x_2951)) { + lean_ctor_release(x_2951, 0); + lean_ctor_release(x_2951, 1); + x_2955 = x_2951; } else { - lean_dec_ref(x_2910); - x_2954 = lean_box(0); + lean_dec_ref(x_2951); + x_2955 = lean_box(0); } -if (lean_is_scalar(x_2954)) { - x_2955 = lean_alloc_ctor(1, 2, 0); -} else { - x_2955 = x_2954; -} -lean_ctor_set(x_2955, 0, x_2952); -lean_ctor_set(x_2955, 1, x_2953); -return x_2955; -} -} -else -{ -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); +x_2956 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2952); +lean_dec(x_5); +x_2957 = lean_ctor_get(x_2956, 1); 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_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_2960 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_2961 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2960, x_5, x_6); -lean_dec(x_11); -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; +x_2958 = l_Lean_Elab_Term_getMainModule___rarg(x_2957); +x_2959 = lean_ctor_get(x_2958, 1); +lean_inc(x_2959); +if (lean_is_exclusive(x_2958)) { + lean_ctor_release(x_2958, 0); + lean_ctor_release(x_2958, 1); + x_2960 = x_2958; } else { - lean_dec_ref(x_2961); - x_2964 = lean_box(0); + lean_dec_ref(x_2958); + x_2960 = lean_box(0); } -if (lean_is_scalar(x_2964)) { - x_2965 = lean_alloc_ctor(1, 2, 0); +x_2961 = l_Array_empty___closed__1; +x_2962 = lean_array_push(x_2961, x_2943); +x_2963 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2964 = lean_array_push(x_2962, x_2963); +x_2965 = l_Lean_mkTermIdFromIdent___closed__2; +x_2966 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2966, 0, x_2965); +lean_ctor_set(x_2966, 1, x_2964); +x_2967 = lean_array_push(x_2961, x_2966); +x_2968 = l_Lean_nullKind___closed__2; +x_2969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2969, 0, x_2968); +lean_ctor_set(x_2969, 1, x_2967); +x_2970 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2971 = lean_array_push(x_2970, x_2969); +x_2972 = lean_array_push(x_2971, x_2963); +x_2973 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2974 = lean_array_push(x_2972, x_2973); +x_2975 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2976 = lean_array_push(x_2974, x_2975); +lean_inc(x_11); +x_2977 = lean_array_push(x_2961, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2978 = x_11; } else { - x_2965 = x_2964; + lean_dec_ref(x_11); + x_2978 = lean_box(0); } -lean_ctor_set(x_2965, 0, x_2962); -lean_ctor_set(x_2965, 1, x_2963); -return x_2965; +if (lean_is_scalar(x_2978)) { + x_2979 = lean_alloc_ctor(1, 2, 0); +} else { + x_2979 = x_2978; +} +lean_ctor_set(x_2979, 0, x_2968); +lean_ctor_set(x_2979, 1, x_2977); +x_2980 = lean_array_push(x_2961, x_2979); +x_2981 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2982 = lean_array_push(x_2980, x_2981); +x_2983 = lean_array_push(x_2982, x_2954); +x_2984 = l_Lean_Parser_Term_matchAlt___closed__2; +x_2985 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2985, 0, x_2984); +lean_ctor_set(x_2985, 1, x_2983); +x_2986 = lean_array_push(x_2961, x_2985); +x_2987 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2987, 0, x_2968); +lean_ctor_set(x_2987, 1, x_2986); +x_2988 = lean_array_push(x_2976, x_2987); +x_2989 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_2955)) { + x_2991 = lean_alloc_ctor(0, 2, 0); +} else { + x_2991 = x_2955; +} +lean_ctor_set(x_2991, 0, x_2953); +lean_ctor_set(x_2991, 1, x_2990); +if (lean_is_scalar(x_2960)) { + x_2992 = lean_alloc_ctor(0, 2, 0); +} else { + x_2992 = x_2960; +} +lean_ctor_set(x_2992, 0, x_2991); +lean_ctor_set(x_2992, 1, x_2959); +return x_2992; } else { -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_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; +lean_dec(x_2943); lean_dec(x_11); -x_2967 = lean_unsigned_to_nat(1u); -x_2968 = lean_nat_add(x_3, x_2967); -lean_dec(x_3); -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_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_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_2974 = x_2897; -} -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_2975 = x_2894; -} -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_2976 = x_2891; -} -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); -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_dec(x_5); +x_2993 = lean_ctor_get(x_2950, 0); 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; +x_2994 = lean_ctor_get(x_2950, 1); +lean_inc(x_2994); +if (lean_is_exclusive(x_2950)) { + lean_ctor_release(x_2950, 0); + lean_ctor_release(x_2950, 1); + x_2995 = x_2950; } else { - lean_dec_ref(x_2990); - x_2994 = lean_box(0); + lean_dec_ref(x_2950); + x_2995 = lean_box(0); } -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); +if (lean_is_scalar(x_2995)) { + x_2996 = lean_alloc_ctor(1, 2, 0); +} else { + x_2996 = x_2995; +} +lean_ctor_set(x_2996, 0, x_2993); +lean_ctor_set(x_2996, 1, x_2994); +return x_2996; +} +} +else +{ +lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; uint8_t x_3000; +x_2997 = lean_ctor_get(x_2941, 0); +lean_inc(x_2997); +lean_dec(x_2941); +x_2998 = lean_ctor_get(x_2997, 0); 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; +x_2999 = lean_ctor_get(x_2997, 1); +lean_inc(x_2999); +lean_dec(x_2997); +x_3000 = l_Lean_Syntax_isNone(x_2999); +lean_dec(x_2999); +if (x_3000 == 0) +{ +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_dec(x_2998); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_3001 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3002 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3001, x_5, x_6); +lean_dec(x_11); +x_3003 = lean_ctor_get(x_3002, 0); +lean_inc(x_3003); +x_3004 = lean_ctor_get(x_3002, 1); +lean_inc(x_3004); +if (lean_is_exclusive(x_3002)) { + lean_ctor_release(x_3002, 0); + lean_ctor_release(x_3002, 1); + x_3005 = x_3002; } else { - lean_dec_ref(x_2997); - x_2999 = lean_box(0); + lean_dec_ref(x_3002); + x_3005 = lean_box(0); } -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_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; +if (lean_is_scalar(x_3005)) { + x_3006 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_11); - x_3015 = lean_box(0); + x_3006 = x_3005; } -if (lean_is_scalar(x_3015)) { - x_3016 = lean_alloc_ctor(1, 2, 0); -} else { - x_3016 = x_3015; -} -lean_ctor_set(x_3016, 0, x_3007); -lean_ctor_set(x_3016, 1, x_3014); -x_3017 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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; +lean_ctor_set(x_3006, 0, x_3003); +lean_ctor_set(x_3006, 1, x_3004); +return x_3006; } else { -lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; -lean_dec(x_2982); +lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; +x_3007 = l_Lean_mkHole(x_11); lean_dec(x_11); -lean_dec(x_5); -x_3031 = lean_ctor_get(x_2989, 0); +x_3008 = lean_unsigned_to_nat(1u); +x_3009 = lean_nat_add(x_3, x_3008); +lean_dec(x_3); +x_3010 = l_Lean_Elab_Term_mkExplicitBinder(x_2998, x_3007); +x_3011 = lean_array_push(x_4, x_3010); +x_3 = x_3009; +x_4 = x_3011; +goto _start; +} +} +} +else +{ +lean_object* x_3013; uint8_t x_3014; +x_3013 = l_Lean_mkAppStx___closed__3; +x_3014 = lean_string_dec_eq(x_2932, x_3013); +if (x_3014 == 0) +{ +lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; uint8_t x_3020; lean_object* x_3021; +if (lean_is_scalar(x_2937)) { + x_3015 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3015 = x_2937; +} +lean_ctor_set(x_3015, 0, x_16); +lean_ctor_set(x_3015, 1, x_2938); +lean_ctor_set_usize(x_3015, 2, x_2936); +if (lean_is_scalar(x_2934)) { + x_3016 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3016 = x_2934; +} +lean_ctor_set(x_3016, 0, x_3015); +lean_ctor_set(x_3016, 1, x_2932); +lean_ctor_set_usize(x_3016, 2, x_2933); +if (lean_is_scalar(x_2931)) { + x_3017 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3017 = x_2931; +} +lean_ctor_set(x_3017, 0, x_3016); +lean_ctor_set(x_3017, 1, x_2929); +lean_ctor_set_usize(x_3017, 2, x_2930); +x_3018 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3018, 0, x_3017); +lean_ctor_set(x_3018, 1, x_2927); +lean_ctor_set_usize(x_3018, 2, x_2928); +x_3019 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3019, 0, x_3018); +lean_ctor_set(x_3019, 1, x_17); +x_3020 = 1; +lean_inc(x_3019); +x_3021 = l_Lean_Syntax_isTermId_x3f(x_3019, x_3020); +if (lean_obj_tag(x_3021) == 0) +{ +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; +lean_dec(x_3019); +x_3022 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3023 = lean_ctor_get(x_3022, 0); +lean_inc(x_3023); +x_3024 = lean_ctor_get(x_3022, 1); +lean_inc(x_3024); +lean_dec(x_3022); +x_3025 = lean_unsigned_to_nat(1u); +x_3026 = lean_nat_add(x_3, x_3025); +lean_dec(x_3); +x_3027 = l_Lean_mkHole(x_11); +lean_inc(x_3023); +x_3028 = l_Lean_Elab_Term_mkExplicitBinder(x_3023, x_3027); +x_3029 = lean_array_push(x_4, x_3028); +lean_inc(x_5); +x_3030 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3026, x_3029, x_5, x_3024); +if (lean_obj_tag(x_3030) == 0) +{ +lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; 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_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; 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; +x_3031 = lean_ctor_get(x_3030, 0); lean_inc(x_3031); -x_3032 = lean_ctor_get(x_2989, 1); +x_3032 = lean_ctor_get(x_3030, 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; +lean_dec(x_3030); +x_3033 = lean_ctor_get(x_3031, 0); +lean_inc(x_3033); +x_3034 = lean_ctor_get(x_3031, 1); +lean_inc(x_3034); +if (lean_is_exclusive(x_3031)) { + lean_ctor_release(x_3031, 0); + lean_ctor_release(x_3031, 1); + x_3035 = x_3031; } else { - lean_dec_ref(x_2989); - x_3033 = lean_box(0); + lean_dec_ref(x_3031); + x_3035 = 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_3035; lean_object* x_3036; lean_object* x_3037; uint8_t x_3038; -lean_dec(x_11); -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); +x_3036 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3032); +lean_dec(x_5); +x_3037 = lean_ctor_get(x_3036, 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_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_3039 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_3038 = l_Lean_Elab_Term_getMainModule___rarg(x_3037); +x_3039 = lean_ctor_get(x_3038, 1); +lean_inc(x_3039); +if (lean_is_exclusive(x_3038)) { + lean_ctor_release(x_3038, 0); + lean_ctor_release(x_3038, 1); + x_3040 = x_3038; } else { - lean_dec_ref(x_3040); - x_3043 = lean_box(0); + lean_dec_ref(x_3038); + x_3040 = lean_box(0); } -if (lean_is_scalar(x_3043)) { - x_3044 = lean_alloc_ctor(1, 2, 0); +x_3041 = l_Array_empty___closed__1; +x_3042 = lean_array_push(x_3041, x_3023); +x_3043 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3044 = lean_array_push(x_3042, x_3043); +x_3045 = l_Lean_mkTermIdFromIdent___closed__2; +x_3046 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3046, 0, x_3045); +lean_ctor_set(x_3046, 1, x_3044); +x_3047 = lean_array_push(x_3041, x_3046); +x_3048 = l_Lean_nullKind___closed__2; +x_3049 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3049, 0, x_3048); +lean_ctor_set(x_3049, 1, x_3047); +x_3050 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3051 = lean_array_push(x_3050, x_3049); +x_3052 = lean_array_push(x_3051, x_3043); +x_3053 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3054 = lean_array_push(x_3052, x_3053); +x_3055 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3056 = lean_array_push(x_3054, x_3055); +lean_inc(x_11); +x_3057 = lean_array_push(x_3041, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3058 = x_11; } else { - x_3044 = x_3043; + lean_dec_ref(x_11); + x_3058 = lean_box(0); } -lean_ctor_set(x_3044, 0, x_3041); -lean_ctor_set(x_3044, 1, x_3042); -return x_3044; +if (lean_is_scalar(x_3058)) { + x_3059 = lean_alloc_ctor(1, 2, 0); +} else { + x_3059 = x_3058; +} +lean_ctor_set(x_3059, 0, x_3048); +lean_ctor_set(x_3059, 1, x_3057); +x_3060 = lean_array_push(x_3041, x_3059); +x_3061 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3062 = lean_array_push(x_3060, x_3061); +x_3063 = lean_array_push(x_3062, x_3034); +x_3064 = l_Lean_Parser_Term_matchAlt___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_3041, x_3065); +x_3067 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3067, 0, x_3048); +lean_ctor_set(x_3067, 1, x_3066); +x_3068 = lean_array_push(x_3056, x_3067); +x_3069 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3070 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3070, 0, x_3069); +lean_ctor_set(x_3070, 1, x_3068); +if (lean_is_scalar(x_3035)) { + x_3071 = lean_alloc_ctor(0, 2, 0); +} else { + x_3071 = x_3035; +} +lean_ctor_set(x_3071, 0, x_3033); +lean_ctor_set(x_3071, 1, x_3070); +if (lean_is_scalar(x_3040)) { + x_3072 = lean_alloc_ctor(0, 2, 0); +} else { + x_3072 = x_3040; +} +lean_ctor_set(x_3072, 0, x_3071); +lean_ctor_set(x_3072, 1, x_3039); +return x_3072; } else { -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_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_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_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_3053 = x_2897; -} -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_3054 = x_2894; -} -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_3055 = x_2891; -} -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_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_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_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_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_3069); - x_3073 = lean_box(0); -} -x_3074 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3070); +lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; +lean_dec(x_3023); +lean_dec(x_11); lean_dec(x_5); -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); +x_3073 = lean_ctor_get(x_3030, 0); +lean_inc(x_3073); +x_3074 = lean_ctor_get(x_3030, 1); +lean_inc(x_3074); +if (lean_is_exclusive(x_3030)) { + lean_ctor_release(x_3030, 0); + lean_ctor_release(x_3030, 1); + x_3075 = x_3030; +} else { + lean_dec_ref(x_3030); + x_3075 = lean_box(0); +} +if (lean_is_scalar(x_3075)) { + x_3076 = lean_alloc_ctor(1, 2, 0); +} else { + x_3076 = x_3075; +} +lean_ctor_set(x_3076, 0, x_3073); +lean_ctor_set(x_3076, 1, x_3074); +return x_3076; +} +} +else +{ +lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; uint8_t x_3080; +lean_dec(x_11); +x_3077 = lean_ctor_get(x_3021, 0); 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_3076); - x_3078 = lean_box(0); -} -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_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_3094 = x_11; -} else { - lean_dec_ref(x_11); - x_3094 = lean_box(0); -} -if (lean_is_scalar(x_3094)) { - x_3095 = lean_alloc_ctor(1, 2, 0); -} else { - x_3095 = x_3094; -} -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__5; -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_3108 = x_3073; -} -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_3109 = x_3078; -} -lean_ctor_set(x_3109, 0, x_3108); -lean_ctor_set(x_3109, 1, x_3077); -return x_3109; -} -else +lean_dec(x_3021); +x_3078 = lean_ctor_get(x_3077, 0); +lean_inc(x_3078); +x_3079 = lean_ctor_get(x_3077, 1); +lean_inc(x_3079); +lean_dec(x_3077); +x_3080 = l_Lean_Syntax_isNone(x_3079); +lean_dec(x_3079); +if (x_3080 == 0) { -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_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_3068); - x_3112 = lean_box(0); -} -if (lean_is_scalar(x_3112)) { - x_3113 = lean_alloc_ctor(1, 2, 0); -} else { - x_3113 = x_3112; -} -lean_ctor_set(x_3113, 0, x_3110); -lean_ctor_set(x_3113, 1, x_3111); -return x_3113; -} -} -else -{ -lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; uint8_t x_3117; -lean_dec(x_11); -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_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_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; +lean_dec(x_3078); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3118 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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; +x_3081 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3082 = l_Lean_Elab_Term_throwError___rarg(x_3019, x_3081, x_5, x_6); +lean_dec(x_3019); +x_3083 = lean_ctor_get(x_3082, 0); +lean_inc(x_3083); +x_3084 = lean_ctor_get(x_3082, 1); +lean_inc(x_3084); +if (lean_is_exclusive(x_3082)) { + lean_ctor_release(x_3082, 0); + lean_ctor_release(x_3082, 1); + x_3085 = x_3082; } else { - lean_dec_ref(x_3119); - x_3122 = lean_box(0); + lean_dec_ref(x_3082); + x_3085 = lean_box(0); } -if (lean_is_scalar(x_3122)) { - x_3123 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3085)) { + x_3086 = lean_alloc_ctor(1, 2, 0); } else { - x_3123 = x_3122; + x_3086 = x_3085; } -lean_ctor_set(x_3123, 0, x_3120); -lean_ctor_set(x_3123, 1, x_3121); -return x_3123; +lean_ctor_set(x_3086, 0, x_3083); +lean_ctor_set(x_3086, 1, x_3084); +return x_3086; } else { -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_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; lean_object* x_3091; +x_3087 = l_Lean_mkHole(x_3019); +lean_dec(x_3019); +x_3088 = lean_unsigned_to_nat(1u); +x_3089 = lean_nat_add(x_3, x_3088); lean_dec(x_3); -x_3127 = l_Lean_Elab_Term_mkExplicitBinder(x_3115, x_3124); -x_3128 = lean_array_push(x_4, x_3127); -x_3 = x_3126; -x_4 = x_3128; +x_3090 = l_Lean_Elab_Term_mkExplicitBinder(x_3078, x_3087); +x_3091 = lean_array_push(x_4, x_3090); +x_3 = x_3089; +x_4 = x_3091; goto _start; } } } else { -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_3093; uint8_t x_3094; +lean_dec(x_2932); +x_3093 = l_Lean_mkAppStx___closed__5; +x_3094 = lean_string_dec_eq(x_2929, x_3093); +if (x_3094 == 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_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; uint8_t x_3100; lean_object* x_3101; +if (lean_is_scalar(x_2937)) { + x_3095 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3095 = x_2937; +} +lean_ctor_set(x_3095, 0, x_16); +lean_ctor_set(x_3095, 1, x_2938); +lean_ctor_set_usize(x_3095, 2, x_2936); +if (lean_is_scalar(x_2934)) { + x_3096 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3096 = x_2934; +} +lean_ctor_set(x_3096, 0, x_3095); +lean_ctor_set(x_3096, 1, x_3013); +lean_ctor_set_usize(x_3096, 2, x_2933); +if (lean_is_scalar(x_2931)) { + x_3097 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3097 = x_2931; +} +lean_ctor_set(x_3097, 0, x_3096); +lean_ctor_set(x_3097, 1, x_2929); +lean_ctor_set_usize(x_3097, 2, x_2930); +x_3098 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3098, 0, x_3097); +lean_ctor_set(x_3098, 1, x_2927); +lean_ctor_set_usize(x_3098, 2, x_2928); +x_3099 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3099, 0, x_3098); +lean_ctor_set(x_3099, 1, x_17); +x_3100 = 1; +lean_inc(x_3099); +x_3101 = l_Lean_Syntax_isTermId_x3f(x_3099, x_3100); +if (lean_obj_tag(x_3101) == 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 { - x_3134 = x_2897; -} -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); -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_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; lean_object* x_3110; +lean_dec(x_3099); +x_3102 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3103 = lean_ctor_get(x_3102, 0); +lean_inc(x_3103); +x_3104 = lean_ctor_get(x_3102, 1); +lean_inc(x_3104); +lean_dec(x_3102); +x_3105 = lean_unsigned_to_nat(1u); +x_3106 = lean_nat_add(x_3, x_3105); 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); +x_3107 = l_Lean_mkHole(x_11); +lean_inc(x_3103); +x_3108 = l_Lean_Elab_Term_mkExplicitBinder(x_3103, x_3107); +x_3109 = lean_array_push(x_4, x_3108); 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) +x_3110 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3106, x_3109, x_5, x_3104); +if (lean_obj_tag(x_3110) == 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; +lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; 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_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; 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; +x_3111 = lean_ctor_get(x_3110, 0); +lean_inc(x_3111); +x_3112 = lean_ctor_get(x_3110, 1); +lean_inc(x_3112); +lean_dec(x_3110); +x_3113 = lean_ctor_get(x_3111, 0); +lean_inc(x_3113); +x_3114 = lean_ctor_get(x_3111, 1); +lean_inc(x_3114); +if (lean_is_exclusive(x_3111)) { + lean_ctor_release(x_3111, 0); + lean_ctor_release(x_3111, 1); + x_3115 = x_3111; } else { - lean_dec_ref(x_3150); - x_3154 = lean_box(0); + lean_dec_ref(x_3111); + x_3115 = lean_box(0); } -x_3155 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3151); +x_3116 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3112); 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; +x_3117 = lean_ctor_get(x_3116, 1); +lean_inc(x_3117); +lean_dec(x_3116); +x_3118 = l_Lean_Elab_Term_getMainModule___rarg(x_3117); +x_3119 = lean_ctor_get(x_3118, 1); +lean_inc(x_3119); +if (lean_is_exclusive(x_3118)) { + lean_ctor_release(x_3118, 0); + lean_ctor_release(x_3118, 1); + x_3120 = x_3118; } else { - lean_dec_ref(x_3157); - x_3159 = lean_box(0); + lean_dec_ref(x_3118); + x_3120 = lean_box(0); } -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_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); -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); +x_3121 = l_Array_empty___closed__1; +x_3122 = lean_array_push(x_3121, x_3103); +x_3123 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3124 = lean_array_push(x_3122, x_3123); +x_3125 = l_Lean_mkTermIdFromIdent___closed__2; +x_3126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3126, 0, x_3125); +lean_ctor_set(x_3126, 1, x_3124); +x_3127 = lean_array_push(x_3121, x_3126); +x_3128 = l_Lean_nullKind___closed__2; +x_3129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3129, 0, x_3128); +lean_ctor_set(x_3129, 1, x_3127); +x_3130 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3131 = lean_array_push(x_3130, x_3129); +x_3132 = lean_array_push(x_3131, x_3123); +x_3133 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3134 = lean_array_push(x_3132, x_3133); +x_3135 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3136 = lean_array_push(x_3134, x_3135); lean_inc(x_11); -x_3174 = lean_array_push(x_3160, x_11); +x_3137 = lean_array_push(x_3121, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3175 = x_11; + x_3138 = x_11; } else { lean_dec_ref(x_11); - x_3175 = lean_box(0); + x_3138 = lean_box(0); } -if (lean_is_scalar(x_3175)) { - x_3176 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3138)) { + x_3139 = lean_alloc_ctor(1, 2, 0); } else { - x_3176 = x_3175; + x_3139 = x_3138; } -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__5; -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); +lean_ctor_set(x_3139, 0, x_3128); +lean_ctor_set(x_3139, 1, x_3137); +x_3140 = lean_array_push(x_3121, x_3139); +x_3141 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3142 = lean_array_push(x_3140, x_3141); +x_3143 = lean_array_push(x_3142, x_3114); +x_3144 = l_Lean_Parser_Term_matchAlt___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_3121, x_3145); +x_3147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3147, 0, x_3128); +lean_ctor_set(x_3147, 1, x_3146); +x_3148 = lean_array_push(x_3136, x_3147); +x_3149 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3150, 0, x_3149); +lean_ctor_set(x_3150, 1, x_3148); +if (lean_is_scalar(x_3115)) { + x_3151 = lean_alloc_ctor(0, 2, 0); } else { - x_3189 = x_3154; + x_3151 = x_3115; } -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); +lean_ctor_set(x_3151, 0, x_3113); +lean_ctor_set(x_3151, 1, x_3150); +if (lean_is_scalar(x_3120)) { + x_3152 = lean_alloc_ctor(0, 2, 0); } else { - x_3190 = x_3159; + x_3152 = x_3120; } -lean_ctor_set(x_3190, 0, x_3189); -lean_ctor_set(x_3190, 1, x_3158); -return x_3190; +lean_ctor_set(x_3152, 0, x_3151); +lean_ctor_set(x_3152, 1, x_3119); +return x_3152; } else { -lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; -lean_dec(x_3142); +lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; +lean_dec(x_3103); lean_dec(x_11); lean_dec(x_5); -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; +x_3153 = lean_ctor_get(x_3110, 0); +lean_inc(x_3153); +x_3154 = lean_ctor_get(x_3110, 1); +lean_inc(x_3154); +if (lean_is_exclusive(x_3110)) { + lean_ctor_release(x_3110, 0); + lean_ctor_release(x_3110, 1); + x_3155 = x_3110; } else { - lean_dec_ref(x_3149); - x_3193 = lean_box(0); + lean_dec_ref(x_3110); + x_3155 = lean_box(0); } -if (lean_is_scalar(x_3193)) { - x_3194 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3155)) { + x_3156 = lean_alloc_ctor(1, 2, 0); } else { - x_3194 = x_3193; + x_3156 = x_3155; } -lean_ctor_set(x_3194, 0, x_3191); -lean_ctor_set(x_3194, 1, x_3192); -return x_3194; +lean_ctor_set(x_3156, 0, x_3153); +lean_ctor_set(x_3156, 1, x_3154); +return x_3156; } } else { -lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; uint8_t x_3198; +lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; uint8_t x_3160; lean_dec(x_11); -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) +x_3157 = lean_ctor_get(x_3101, 0); +lean_inc(x_3157); +lean_dec(x_3101); +x_3158 = lean_ctor_get(x_3157, 0); +lean_inc(x_3158); +x_3159 = lean_ctor_get(x_3157, 1); +lean_inc(x_3159); +lean_dec(x_3157); +x_3160 = l_Lean_Syntax_isNone(x_3159); +lean_dec(x_3159); +if (x_3160 == 0) { -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_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; +lean_dec(x_3158); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3199 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -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); +x_3161 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3162 = l_Lean_Elab_Term_throwError___rarg(x_3099, x_3161, x_5, x_6); +lean_dec(x_3099); +x_3163 = lean_ctor_get(x_3162, 0); +lean_inc(x_3163); +x_3164 = lean_ctor_get(x_3162, 1); +lean_inc(x_3164); +if (lean_is_exclusive(x_3162)) { + lean_ctor_release(x_3162, 0); + lean_ctor_release(x_3162, 1); + x_3165 = x_3162; +} else { + lean_dec_ref(x_3162); + x_3165 = lean_box(0); +} +if (lean_is_scalar(x_3165)) { + x_3166 = lean_alloc_ctor(1, 2, 0); +} else { + x_3166 = x_3165; +} +lean_ctor_set(x_3166, 0, x_3163); +lean_ctor_set(x_3166, 1, x_3164); +return x_3166; +} +else +{ +lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; +x_3167 = l_Lean_mkHole(x_3099); +lean_dec(x_3099); +x_3168 = lean_unsigned_to_nat(1u); +x_3169 = lean_nat_add(x_3, x_3168); +lean_dec(x_3); +x_3170 = l_Lean_Elab_Term_mkExplicitBinder(x_3158, x_3167); +x_3171 = lean_array_push(x_4, x_3170); +x_3 = x_3169; +x_4 = x_3171; +goto _start; +} +} +} +else +{ +lean_object* x_3173; uint8_t x_3174; +lean_dec(x_2929); +x_3173 = l_Lean_mkHole___closed__1; +x_3174 = lean_string_dec_eq(x_2927, x_3173); +if (x_3174 == 0) +{ +lean_object* x_3175; uint8_t x_3176; +x_3175 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_3176 = lean_string_dec_eq(x_2927, x_3175); +if (x_3176 == 0) +{ +lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; uint8_t x_3182; lean_object* x_3183; +if (lean_is_scalar(x_2937)) { + x_3177 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3177 = x_2937; +} +lean_ctor_set(x_3177, 0, x_16); +lean_ctor_set(x_3177, 1, x_2938); +lean_ctor_set_usize(x_3177, 2, x_2936); +if (lean_is_scalar(x_2934)) { + x_3178 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3178 = x_2934; +} +lean_ctor_set(x_3178, 0, x_3177); +lean_ctor_set(x_3178, 1, x_3013); +lean_ctor_set_usize(x_3178, 2, x_2933); +if (lean_is_scalar(x_2931)) { + x_3179 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3179 = x_2931; +} +lean_ctor_set(x_3179, 0, x_3178); +lean_ctor_set(x_3179, 1, x_3093); +lean_ctor_set_usize(x_3179, 2, x_2930); +x_3180 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3180, 0, x_3179); +lean_ctor_set(x_3180, 1, x_2927); +lean_ctor_set_usize(x_3180, 2, x_2928); +x_3181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3181, 0, x_3180); +lean_ctor_set(x_3181, 1, x_17); +x_3182 = 1; +lean_inc(x_3181); +x_3183 = l_Lean_Syntax_isTermId_x3f(x_3181, x_3182); +if (lean_obj_tag(x_3183) == 0) +{ +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; lean_object* x_3191; lean_object* x_3192; +lean_dec(x_3181); +x_3184 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3185 = lean_ctor_get(x_3184, 0); +lean_inc(x_3185); +x_3186 = lean_ctor_get(x_3184, 1); +lean_inc(x_3186); +lean_dec(x_3184); +x_3187 = lean_unsigned_to_nat(1u); +x_3188 = lean_nat_add(x_3, x_3187); +lean_dec(x_3); +x_3189 = l_Lean_mkHole(x_11); +lean_inc(x_3185); +x_3190 = l_Lean_Elab_Term_mkExplicitBinder(x_3185, x_3189); +x_3191 = lean_array_push(x_4, x_3190); +lean_inc(x_5); +x_3192 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3188, x_3191, x_5, x_3186); +if (lean_obj_tag(x_3192) == 0) +{ +lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; 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; lean_object* x_3205; 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_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; +x_3193 = lean_ctor_get(x_3192, 0); +lean_inc(x_3193); +x_3194 = lean_ctor_get(x_3192, 1); +lean_inc(x_3194); +lean_dec(x_3192); +x_3195 = lean_ctor_get(x_3193, 0); +lean_inc(x_3195); +x_3196 = lean_ctor_get(x_3193, 1); +lean_inc(x_3196); +if (lean_is_exclusive(x_3193)) { + lean_ctor_release(x_3193, 0); + lean_ctor_release(x_3193, 1); + x_3197 = x_3193; +} else { + lean_dec_ref(x_3193); + x_3197 = lean_box(0); +} +x_3198 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3194); +lean_dec(x_5); +x_3199 = lean_ctor_get(x_3198, 1); +lean_inc(x_3199); +lean_dec(x_3198); +x_3200 = l_Lean_Elab_Term_getMainModule___rarg(x_3199); +x_3201 = lean_ctor_get(x_3200, 1); 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; + x_3202 = x_3200; } else { lean_dec_ref(x_3200); - x_3203 = lean_box(0); + x_3202 = lean_box(0); } -if (lean_is_scalar(x_3203)) { - x_3204 = lean_alloc_ctor(1, 2, 0); +x_3203 = l_Array_empty___closed__1; +x_3204 = lean_array_push(x_3203, x_3185); +x_3205 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3206 = lean_array_push(x_3204, x_3205); +x_3207 = l_Lean_mkTermIdFromIdent___closed__2; +x_3208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3208, 0, x_3207); +lean_ctor_set(x_3208, 1, x_3206); +x_3209 = lean_array_push(x_3203, x_3208); +x_3210 = l_Lean_nullKind___closed__2; +x_3211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3211, 0, x_3210); +lean_ctor_set(x_3211, 1, x_3209); +x_3212 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3213 = lean_array_push(x_3212, x_3211); +x_3214 = lean_array_push(x_3213, x_3205); +x_3215 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3216 = lean_array_push(x_3214, x_3215); +x_3217 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3218 = lean_array_push(x_3216, x_3217); +lean_inc(x_11); +x_3219 = lean_array_push(x_3203, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3220 = x_11; } else { - x_3204 = x_3203; + lean_dec_ref(x_11); + x_3220 = lean_box(0); } -lean_ctor_set(x_3204, 0, x_3201); -lean_ctor_set(x_3204, 1, x_3202); -return x_3204; +if (lean_is_scalar(x_3220)) { + x_3221 = lean_alloc_ctor(1, 2, 0); +} else { + x_3221 = x_3220; +} +lean_ctor_set(x_3221, 0, x_3210); +lean_ctor_set(x_3221, 1, x_3219); +x_3222 = lean_array_push(x_3203, x_3221); +x_3223 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3224 = lean_array_push(x_3222, x_3223); +x_3225 = lean_array_push(x_3224, x_3196); +x_3226 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3227, 0, x_3226); +lean_ctor_set(x_3227, 1, x_3225); +x_3228 = lean_array_push(x_3203, x_3227); +x_3229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3229, 0, x_3210); +lean_ctor_set(x_3229, 1, x_3228); +x_3230 = lean_array_push(x_3218, x_3229); +x_3231 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_3197)) { + x_3233 = lean_alloc_ctor(0, 2, 0); +} else { + x_3233 = x_3197; +} +lean_ctor_set(x_3233, 0, x_3195); +lean_ctor_set(x_3233, 1, x_3232); +if (lean_is_scalar(x_3202)) { + x_3234 = lean_alloc_ctor(0, 2, 0); +} else { + x_3234 = x_3202; +} +lean_ctor_set(x_3234, 0, x_3233); +lean_ctor_set(x_3234, 1, x_3201); +return x_3234; } else { -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_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_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_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_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_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); -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_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; +lean_dec(x_3185); +lean_dec(x_11); +lean_dec(x_5); +x_3235 = lean_ctor_get(x_3192, 0); lean_inc(x_3235); -lean_dec(x_3233); -x_3236 = lean_ctor_get(x_3234, 0); +x_3236 = lean_ctor_get(x_3192, 1); 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; +if (lean_is_exclusive(x_3192)) { + lean_ctor_release(x_3192, 0); + lean_ctor_release(x_3192, 1); + x_3237 = x_3192; } else { - lean_dec_ref(x_3234); - x_3238 = lean_box(0); + lean_dec_ref(x_3192); + x_3237 = lean_box(0); } -x_3239 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3235); -lean_dec(x_5); -x_3240 = lean_ctor_get(x_3239, 1); +if (lean_is_scalar(x_3237)) { + x_3238 = lean_alloc_ctor(1, 2, 0); +} else { + x_3238 = x_3237; +} +lean_ctor_set(x_3238, 0, x_3235); +lean_ctor_set(x_3238, 1, x_3236); +return x_3238; +} +} +else +{ +lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; uint8_t x_3242; +lean_dec(x_11); +x_3239 = lean_ctor_get(x_3183, 0); +lean_inc(x_3239); +lean_dec(x_3183); +x_3240 = lean_ctor_get(x_3239, 0); lean_inc(x_3240); +x_3241 = lean_ctor_get(x_3239, 1); +lean_inc(x_3241); 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_3241); - x_3243 = lean_box(0); -} -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_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); -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_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_3259 = x_11; -} else { - lean_dec_ref(x_11); - x_3259 = lean_box(0); -} -if (lean_is_scalar(x_3259)) { - x_3260 = lean_alloc_ctor(1, 2, 0); -} else { - x_3260 = x_3259; -} -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__5; -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 +x_3242 = l_Lean_Syntax_isNone(x_3241); +lean_dec(x_3241); +if (x_3242 == 0) { -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_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; +lean_dec(x_3240); +lean_dec(x_4); 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; +lean_dec(x_2); +x_3243 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3244 = l_Lean_Elab_Term_throwError___rarg(x_3181, x_3243, x_5, x_6); +lean_dec(x_3181); +x_3245 = lean_ctor_get(x_3244, 0); +lean_inc(x_3245); +x_3246 = lean_ctor_get(x_3244, 1); +lean_inc(x_3246); +if (lean_is_exclusive(x_3244)) { + lean_ctor_release(x_3244, 0); + lean_ctor_release(x_3244, 1); + x_3247 = x_3244; } else { - lean_dec_ref(x_3291); - x_3295 = lean_box(0); + lean_dec_ref(x_3244); + x_3247 = 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; +if (lean_is_scalar(x_3247)) { + x_3248 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_3298); - x_3300 = lean_box(0); + x_3248 = x_3247; } -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_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); -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 { - lean_dec_ref(x_11); - x_3316 = lean_box(0); -} -if (lean_is_scalar(x_3316)) { - x_3317 = lean_alloc_ctor(1, 2, 0); -} else { - x_3317 = x_3316; -} -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__5; -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; +lean_ctor_set(x_3248, 0, x_3245); +lean_ctor_set(x_3248, 1, x_3246); +return x_3248; } else { -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_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_3290); - x_3334 = lean_box(0); -} -if (lean_is_scalar(x_3334)) { - x_3335 = lean_alloc_ctor(1, 2, 0); -} else { - x_3335 = x_3334; -} -lean_ctor_set(x_3335, 0, x_3332); -lean_ctor_set(x_3335, 1, x_3333); -return x_3335; -} -} -else -{ -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_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_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; +x_3249 = l_Lean_mkHole(x_3181); +lean_dec(x_3181); +x_3250 = lean_unsigned_to_nat(1u); +x_3251 = lean_nat_add(x_3, x_3250); lean_dec(x_3); -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; +x_3252 = l_Lean_Elab_Term_mkExplicitBinder(x_3240, x_3249); +x_3253 = lean_array_push(x_4, x_3252); +x_3 = x_3251; +x_4 = x_3253; goto _start; } } } else { -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_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_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_3255; lean_object* x_3256; uint8_t x_3257; +lean_dec(x_2937); +lean_dec(x_2934); +lean_dec(x_2931); +lean_dec(x_2927); +lean_dec(x_17); +x_3255 = lean_unsigned_to_nat(1u); +x_3256 = l_Lean_Syntax_getArg(x_11, x_3255); +x_3257 = l_Lean_Syntax_isNone(x_3256); +if (x_3257 == 0) { -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; +lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; uint8_t x_3261; +x_3258 = lean_unsigned_to_nat(0u); +x_3259 = l_Lean_Syntax_getArg(x_3256, x_3258); +x_3260 = l_Lean_Syntax_getArg(x_3256, x_3255); +lean_dec(x_3256); +x_3261 = l_Lean_Syntax_isNone(x_3260); +if (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; uint8_t x_3269; +x_3262 = l_Lean_Syntax_getArg(x_3260, x_3258); +lean_dec(x_3260); +lean_inc(x_3262); +x_3263 = l_Lean_Syntax_getKind(x_3262); +x_3264 = lean_name_mk_string(x_16, x_2938); +x_3265 = lean_name_mk_string(x_3264, x_3013); +x_3266 = lean_name_mk_string(x_3265, x_3093); +x_3267 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_3268 = lean_name_mk_string(x_3266, x_3267); +x_3269 = lean_name_eq(x_3263, x_3268); +lean_dec(x_3268); +lean_dec(x_3263); +if (x_3269 == 0) +{ +lean_object* x_3270; 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_dec(x_3262); +lean_dec(x_3259); +x_3270 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +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_nat_add(x_3, x_3255); +lean_dec(x_3); +x_3274 = l_Lean_mkHole(x_11); +lean_inc(x_3271); +x_3275 = l_Lean_Elab_Term_mkExplicitBinder(x_3271, x_3274); +x_3276 = lean_array_push(x_4, x_3275); +lean_inc(x_5); +x_3277 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3273, x_3276, x_5, x_3272); +if (lean_obj_tag(x_3277) == 0) +{ +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; 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; +x_3278 = lean_ctor_get(x_3277, 0); +lean_inc(x_3278); +x_3279 = lean_ctor_get(x_3277, 1); +lean_inc(x_3279); +lean_dec(x_3277); +x_3280 = lean_ctor_get(x_3278, 0); +lean_inc(x_3280); +x_3281 = lean_ctor_get(x_3278, 1); +lean_inc(x_3281); +if (lean_is_exclusive(x_3278)) { + lean_ctor_release(x_3278, 0); + lean_ctor_release(x_3278, 1); + x_3282 = x_3278; } else { - lean_dec_ref(x_3350); - x_3354 = lean_box(0); + lean_dec_ref(x_3278); + x_3282 = lean_box(0); } -x_3355 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3351); +x_3283 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3279); lean_dec(x_5); -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; +x_3284 = lean_ctor_get(x_3283, 1); +lean_inc(x_3284); +lean_dec(x_3283); +x_3285 = l_Lean_Elab_Term_getMainModule___rarg(x_3284); +x_3286 = lean_ctor_get(x_3285, 1); +lean_inc(x_3286); +if (lean_is_exclusive(x_3285)) { + lean_ctor_release(x_3285, 0); + lean_ctor_release(x_3285, 1); + x_3287 = x_3285; } else { - lean_dec_ref(x_3357); - x_3359 = lean_box(0); + lean_dec_ref(x_3285); + x_3287 = lean_box(0); } -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_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); -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); +x_3288 = l_Array_empty___closed__1; +x_3289 = lean_array_push(x_3288, x_3271); +x_3290 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3291 = lean_array_push(x_3289, x_3290); +x_3292 = l_Lean_mkTermIdFromIdent___closed__2; +x_3293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3293, 0, x_3292); +lean_ctor_set(x_3293, 1, x_3291); +x_3294 = lean_array_push(x_3288, x_3293); +x_3295 = l_Lean_nullKind___closed__2; +x_3296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3296, 0, x_3295); +lean_ctor_set(x_3296, 1, x_3294); +x_3297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3298 = lean_array_push(x_3297, x_3296); +x_3299 = lean_array_push(x_3298, x_3290); +x_3300 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3301 = lean_array_push(x_3299, x_3300); +x_3302 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3303 = lean_array_push(x_3301, x_3302); lean_inc(x_11); -x_3374 = lean_array_push(x_3360, x_11); +x_3304 = lean_array_push(x_3288, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3375 = x_11; + x_3305 = x_11; } else { lean_dec_ref(x_11); - x_3375 = lean_box(0); + x_3305 = lean_box(0); } -if (lean_is_scalar(x_3375)) { - x_3376 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3305)) { + x_3306 = lean_alloc_ctor(1, 2, 0); } else { - x_3376 = x_3375; + x_3306 = x_3305; } -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__5; -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); +lean_ctor_set(x_3306, 0, x_3295); +lean_ctor_set(x_3306, 1, x_3304); +x_3307 = lean_array_push(x_3288, x_3306); +x_3308 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3309 = lean_array_push(x_3307, x_3308); +x_3310 = lean_array_push(x_3309, x_3281); +x_3311 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3312, 0, x_3311); +lean_ctor_set(x_3312, 1, x_3310); +x_3313 = lean_array_push(x_3288, x_3312); +x_3314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3314, 0, x_3295); +lean_ctor_set(x_3314, 1, x_3313); +x_3315 = lean_array_push(x_3303, x_3314); +x_3316 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3317 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3317, 0, x_3316); +lean_ctor_set(x_3317, 1, x_3315); +if (lean_is_scalar(x_3282)) { + x_3318 = lean_alloc_ctor(0, 2, 0); } else { - x_3389 = x_3354; + x_3318 = x_3282; } -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); +lean_ctor_set(x_3318, 0, x_3280); +lean_ctor_set(x_3318, 1, x_3317); +if (lean_is_scalar(x_3287)) { + x_3319 = lean_alloc_ctor(0, 2, 0); } else { - x_3390 = x_3359; + x_3319 = x_3287; } -lean_ctor_set(x_3390, 0, x_3389); -lean_ctor_set(x_3390, 1, x_3358); -return x_3390; +lean_ctor_set(x_3319, 0, x_3318); +lean_ctor_set(x_3319, 1, x_3286); +return x_3319; } else { -lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; -lean_dec(x_3343); +lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; lean_object* x_3323; +lean_dec(x_3271); 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; +x_3320 = lean_ctor_get(x_3277, 0); +lean_inc(x_3320); +x_3321 = lean_ctor_get(x_3277, 1); +lean_inc(x_3321); +if (lean_is_exclusive(x_3277)) { + lean_ctor_release(x_3277, 0); + lean_ctor_release(x_3277, 1); + x_3322 = x_3277; } else { - lean_dec_ref(x_3349); - x_3393 = lean_box(0); + lean_dec_ref(x_3277); + x_3322 = lean_box(0); } -if (lean_is_scalar(x_3393)) { - x_3394 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3322)) { + x_3323 = lean_alloc_ctor(1, 2, 0); } else { - x_3394 = x_3393; + x_3323 = x_3322; } -lean_ctor_set(x_3394, 0, x_3391); -lean_ctor_set(x_3394, 1, x_3392); -return x_3394; +lean_ctor_set(x_3323, 0, x_3320); +lean_ctor_set(x_3323, 1, x_3321); +return x_3323; +} +} +else +{ +lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; +x_3324 = l_Lean_Syntax_getArg(x_3262, x_3255); +lean_dec(x_3262); +x_3325 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_3259, x_5, x_6); +x_3326 = lean_ctor_get(x_3325, 0); +lean_inc(x_3326); +if (lean_obj_tag(x_3326) == 0) +{ +lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; 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_dec(x_3324); +x_3327 = lean_ctor_get(x_3325, 1); +lean_inc(x_3327); +lean_dec(x_3325); +x_3328 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_3327); +x_3329 = lean_ctor_get(x_3328, 0); +lean_inc(x_3329); +x_3330 = lean_ctor_get(x_3328, 1); +lean_inc(x_3330); +lean_dec(x_3328); +x_3331 = lean_nat_add(x_3, x_3255); +lean_dec(x_3); +x_3332 = l_Lean_mkHole(x_11); +lean_inc(x_3329); +x_3333 = l_Lean_Elab_Term_mkExplicitBinder(x_3329, x_3332); +x_3334 = lean_array_push(x_4, x_3333); +lean_inc(x_5); +x_3335 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3331, x_3334, x_5, x_3330); +if (lean_obj_tag(x_3335) == 0) +{ +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; 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; +x_3336 = lean_ctor_get(x_3335, 0); +lean_inc(x_3336); +x_3337 = lean_ctor_get(x_3335, 1); +lean_inc(x_3337); +lean_dec(x_3335); +x_3338 = lean_ctor_get(x_3336, 0); +lean_inc(x_3338); +x_3339 = lean_ctor_get(x_3336, 1); +lean_inc(x_3339); +if (lean_is_exclusive(x_3336)) { + lean_ctor_release(x_3336, 0); + lean_ctor_release(x_3336, 1); + x_3340 = x_3336; +} else { + lean_dec_ref(x_3336); + x_3340 = lean_box(0); +} +x_3341 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3337); +lean_dec(x_5); +x_3342 = lean_ctor_get(x_3341, 1); +lean_inc(x_3342); +lean_dec(x_3341); +x_3343 = l_Lean_Elab_Term_getMainModule___rarg(x_3342); +x_3344 = lean_ctor_get(x_3343, 1); +lean_inc(x_3344); +if (lean_is_exclusive(x_3343)) { + lean_ctor_release(x_3343, 0); + lean_ctor_release(x_3343, 1); + x_3345 = x_3343; +} else { + lean_dec_ref(x_3343); + x_3345 = lean_box(0); +} +x_3346 = l_Array_empty___closed__1; +x_3347 = lean_array_push(x_3346, x_3329); +x_3348 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3349 = lean_array_push(x_3347, x_3348); +x_3350 = l_Lean_mkTermIdFromIdent___closed__2; +x_3351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3351, 0, x_3350); +lean_ctor_set(x_3351, 1, x_3349); +x_3352 = lean_array_push(x_3346, x_3351); +x_3353 = l_Lean_nullKind___closed__2; +x_3354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3354, 0, x_3353); +lean_ctor_set(x_3354, 1, x_3352); +x_3355 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3356 = lean_array_push(x_3355, x_3354); +x_3357 = lean_array_push(x_3356, x_3348); +x_3358 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3359 = lean_array_push(x_3357, x_3358); +x_3360 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3361 = lean_array_push(x_3359, x_3360); +lean_inc(x_11); +x_3362 = lean_array_push(x_3346, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3363 = x_11; +} else { + lean_dec_ref(x_11); + x_3363 = lean_box(0); +} +if (lean_is_scalar(x_3363)) { + x_3364 = lean_alloc_ctor(1, 2, 0); +} else { + x_3364 = x_3363; +} +lean_ctor_set(x_3364, 0, x_3353); +lean_ctor_set(x_3364, 1, x_3362); +x_3365 = lean_array_push(x_3346, x_3364); +x_3366 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3367 = lean_array_push(x_3365, x_3366); +x_3368 = lean_array_push(x_3367, x_3339); +x_3369 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3370, 0, x_3369); +lean_ctor_set(x_3370, 1, x_3368); +x_3371 = lean_array_push(x_3346, x_3370); +x_3372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3372, 0, x_3353); +lean_ctor_set(x_3372, 1, x_3371); +x_3373 = lean_array_push(x_3361, x_3372); +x_3374 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3375, 0, x_3374); +lean_ctor_set(x_3375, 1, x_3373); +if (lean_is_scalar(x_3340)) { + x_3376 = lean_alloc_ctor(0, 2, 0); +} else { + x_3376 = x_3340; +} +lean_ctor_set(x_3376, 0, x_3338); +lean_ctor_set(x_3376, 1, x_3375); +if (lean_is_scalar(x_3345)) { + x_3377 = lean_alloc_ctor(0, 2, 0); +} else { + x_3377 = x_3345; +} +lean_ctor_set(x_3377, 0, x_3376); +lean_ctor_set(x_3377, 1, x_3344); +return x_3377; +} +else +{ +lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; +lean_dec(x_3329); +lean_dec(x_11); +lean_dec(x_5); +x_3378 = lean_ctor_get(x_3335, 0); +lean_inc(x_3378); +x_3379 = lean_ctor_get(x_3335, 1); +lean_inc(x_3379); +if (lean_is_exclusive(x_3335)) { + lean_ctor_release(x_3335, 0); + lean_ctor_release(x_3335, 1); + x_3380 = x_3335; +} else { + lean_dec_ref(x_3335); + x_3380 = lean_box(0); +} +if (lean_is_scalar(x_3380)) { + x_3381 = lean_alloc_ctor(1, 2, 0); +} else { + x_3381 = x_3380; +} +lean_ctor_set(x_3381, 0, x_3378); +lean_ctor_set(x_3381, 1, x_3379); +return x_3381; +} +} +else +{ +lean_object* x_3382; lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; +lean_dec(x_11); +x_3382 = lean_ctor_get(x_3325, 1); +lean_inc(x_3382); +lean_dec(x_3325); +x_3383 = lean_ctor_get(x_3326, 0); +lean_inc(x_3383); +lean_dec(x_3326); +x_3384 = lean_nat_add(x_3, x_3255); +lean_dec(x_3); +x_3385 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_3324, x_3258, x_3383); +x_3386 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_3385, x_3385, x_3258, x_4); +lean_dec(x_3385); +x_3 = x_3384; +x_4 = x_3386; +x_6 = x_3382; +goto _start; } } } 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); +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_dec(x_3260); +lean_dec(x_3259); +x_3388 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3389 = lean_ctor_get(x_3388, 0); +lean_inc(x_3389); +x_3390 = lean_ctor_get(x_3388, 1); +lean_inc(x_3390); +lean_dec(x_3388); +x_3391 = lean_nat_add(x_3, x_3255); +lean_dec(x_3); +x_3392 = l_Lean_mkHole(x_11); +lean_inc(x_3389); +x_3393 = l_Lean_Elab_Term_mkExplicitBinder(x_3389, x_3392); +x_3394 = lean_array_push(x_4, x_3393); +lean_inc(x_5); +x_3395 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3391, x_3394, x_5, x_3390); +if (lean_obj_tag(x_3395) == 0) +{ +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; 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; 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); +x_3398 = lean_ctor_get(x_3396, 0); +lean_inc(x_3398); +x_3399 = lean_ctor_get(x_3396, 1); +lean_inc(x_3399); +if (lean_is_exclusive(x_3396)) { + lean_ctor_release(x_3396, 0); + lean_ctor_release(x_3396, 1); + x_3400 = x_3396; +} else { + lean_dec_ref(x_3396); + x_3400 = lean_box(0); +} +x_3401 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3397); +lean_dec(x_5); +x_3402 = lean_ctor_get(x_3401, 1); +lean_inc(x_3402); +lean_dec(x_3401); +x_3403 = l_Lean_Elab_Term_getMainModule___rarg(x_3402); +x_3404 = lean_ctor_get(x_3403, 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; + x_3405 = x_3403; } else { lean_dec_ref(x_3403); - x_3407 = lean_box(0); + x_3405 = 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_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); -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); +x_3406 = l_Array_empty___closed__1; +x_3407 = lean_array_push(x_3406, x_3389); +x_3408 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3409 = lean_array_push(x_3407, x_3408); +x_3410 = l_Lean_mkTermIdFromIdent___closed__2; +x_3411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3411, 0, x_3410); +lean_ctor_set(x_3411, 1, x_3409); +x_3412 = lean_array_push(x_3406, x_3411); +x_3413 = l_Lean_nullKind___closed__2; +x_3414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3414, 0, x_3413); +lean_ctor_set(x_3414, 1, x_3412); +x_3415 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3416 = lean_array_push(x_3415, x_3414); +x_3417 = lean_array_push(x_3416, x_3408); +x_3418 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3419 = lean_array_push(x_3417, x_3418); +x_3420 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3421 = lean_array_push(x_3419, x_3420); lean_inc(x_11); -x_3427 = lean_array_push(x_3413, x_11); +x_3422 = lean_array_push(x_3406, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3428 = x_11; + x_3423 = x_11; } else { lean_dec_ref(x_11); - x_3428 = lean_box(0); + x_3423 = lean_box(0); } -if (lean_is_scalar(x_3428)) { - x_3429 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3423)) { + x_3424 = lean_alloc_ctor(1, 2, 0); } else { - x_3429 = x_3428; + x_3424 = 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__5; -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); +lean_ctor_set(x_3424, 0, x_3413); +lean_ctor_set(x_3424, 1, x_3422); +x_3425 = lean_array_push(x_3406, x_3424); +x_3426 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3427 = lean_array_push(x_3425, x_3426); +x_3428 = lean_array_push(x_3427, x_3399); +x_3429 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3430 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3430, 0, x_3429); +lean_ctor_set(x_3430, 1, x_3428); +x_3431 = lean_array_push(x_3406, x_3430); +x_3432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3432, 0, x_3413); +lean_ctor_set(x_3432, 1, x_3431); +x_3433 = lean_array_push(x_3421, x_3432); +x_3434 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3435, 0, x_3434); +lean_ctor_set(x_3435, 1, x_3433); +if (lean_is_scalar(x_3400)) { + x_3436 = lean_alloc_ctor(0, 2, 0); } else { - x_3442 = x_3407; + x_3436 = x_3400; } -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); +lean_ctor_set(x_3436, 0, x_3398); +lean_ctor_set(x_3436, 1, x_3435); +if (lean_is_scalar(x_3405)) { + x_3437 = lean_alloc_ctor(0, 2, 0); } else { - x_3443 = x_3412; + x_3437 = x_3405; } -lean_ctor_set(x_3443, 0, x_3442); -lean_ctor_set(x_3443, 1, x_3411); -return x_3443; +lean_ctor_set(x_3437, 0, x_3436); +lean_ctor_set(x_3437, 1, x_3404); +return x_3437; } else { -lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; -lean_dec(x_3396); +lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; +lean_dec(x_3389); lean_dec(x_11); lean_dec(x_5); -x_3444 = lean_ctor_get(x_3402, 0); +x_3438 = lean_ctor_get(x_3395, 0); +lean_inc(x_3438); +x_3439 = lean_ctor_get(x_3395, 1); +lean_inc(x_3439); +if (lean_is_exclusive(x_3395)) { + lean_ctor_release(x_3395, 0); + lean_ctor_release(x_3395, 1); + x_3440 = x_3395; +} else { + lean_dec_ref(x_3395); + x_3440 = lean_box(0); +} +if (lean_is_scalar(x_3440)) { + x_3441 = lean_alloc_ctor(1, 2, 0); +} else { + x_3441 = x_3440; +} +lean_ctor_set(x_3441, 0, x_3438); +lean_ctor_set(x_3441, 1, x_3439); +return x_3441; +} +} +} +else +{ +lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; lean_object* x_3449; +lean_dec(x_3256); +x_3442 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3443 = lean_ctor_get(x_3442, 0); +lean_inc(x_3443); +x_3444 = lean_ctor_get(x_3442, 1); 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; +lean_dec(x_3442); +x_3445 = lean_nat_add(x_3, x_3255); +lean_dec(x_3); +x_3446 = l_Lean_mkHole(x_11); +lean_inc(x_3443); +x_3447 = l_Lean_Elab_Term_mkExplicitBinder(x_3443, x_3446); +x_3448 = lean_array_push(x_4, x_3447); +lean_inc(x_5); +x_3449 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3445, x_3448, x_5, x_3444); +if (lean_obj_tag(x_3449) == 0) +{ +lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; lean_object* x_3453; 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; lean_object* x_3470; 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; 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; +x_3450 = lean_ctor_get(x_3449, 0); +lean_inc(x_3450); +x_3451 = lean_ctor_get(x_3449, 1); +lean_inc(x_3451); +lean_dec(x_3449); +x_3452 = lean_ctor_get(x_3450, 0); +lean_inc(x_3452); +x_3453 = lean_ctor_get(x_3450, 1); +lean_inc(x_3453); +if (lean_is_exclusive(x_3450)) { + lean_ctor_release(x_3450, 0); + lean_ctor_release(x_3450, 1); + x_3454 = x_3450; } else { - lean_dec_ref(x_3402); - x_3446 = lean_box(0); + lean_dec_ref(x_3450); + x_3454 = lean_box(0); } -if (lean_is_scalar(x_3446)) { - x_3447 = lean_alloc_ctor(1, 2, 0); +x_3455 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3451); +lean_dec(x_5); +x_3456 = lean_ctor_get(x_3455, 1); +lean_inc(x_3456); +lean_dec(x_3455); +x_3457 = l_Lean_Elab_Term_getMainModule___rarg(x_3456); +x_3458 = lean_ctor_get(x_3457, 1); +lean_inc(x_3458); +if (lean_is_exclusive(x_3457)) { + lean_ctor_release(x_3457, 0); + lean_ctor_release(x_3457, 1); + x_3459 = x_3457; } else { - x_3447 = x_3446; + lean_dec_ref(x_3457); + x_3459 = lean_box(0); } -lean_ctor_set(x_3447, 0, x_3444); -lean_ctor_set(x_3447, 1, x_3445); -return x_3447; +x_3460 = l_Array_empty___closed__1; +x_3461 = lean_array_push(x_3460, x_3443); +x_3462 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3463 = lean_array_push(x_3461, x_3462); +x_3464 = l_Lean_mkTermIdFromIdent___closed__2; +x_3465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3465, 0, x_3464); +lean_ctor_set(x_3465, 1, x_3463); +x_3466 = lean_array_push(x_3460, x_3465); +x_3467 = l_Lean_nullKind___closed__2; +x_3468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3468, 0, x_3467); +lean_ctor_set(x_3468, 1, x_3466); +x_3469 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3470 = lean_array_push(x_3469, x_3468); +x_3471 = lean_array_push(x_3470, x_3462); +x_3472 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3473 = lean_array_push(x_3471, x_3472); +x_3474 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3475 = lean_array_push(x_3473, x_3474); +lean_inc(x_11); +x_3476 = lean_array_push(x_3460, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3477 = x_11; +} else { + lean_dec_ref(x_11); + x_3477 = lean_box(0); +} +if (lean_is_scalar(x_3477)) { + x_3478 = lean_alloc_ctor(1, 2, 0); +} else { + x_3478 = x_3477; +} +lean_ctor_set(x_3478, 0, x_3467); +lean_ctor_set(x_3478, 1, x_3476); +x_3479 = lean_array_push(x_3460, x_3478); +x_3480 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3481 = lean_array_push(x_3479, x_3480); +x_3482 = lean_array_push(x_3481, x_3453); +x_3483 = l_Lean_Parser_Term_matchAlt___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); +x_3485 = lean_array_push(x_3460, x_3484); +x_3486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3486, 0, x_3467); +lean_ctor_set(x_3486, 1, x_3485); +x_3487 = lean_array_push(x_3475, x_3486); +x_3488 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3489, 0, x_3488); +lean_ctor_set(x_3489, 1, x_3487); +if (lean_is_scalar(x_3454)) { + x_3490 = lean_alloc_ctor(0, 2, 0); +} else { + x_3490 = x_3454; +} +lean_ctor_set(x_3490, 0, x_3452); +lean_ctor_set(x_3490, 1, x_3489); +if (lean_is_scalar(x_3459)) { + x_3491 = lean_alloc_ctor(0, 2, 0); +} else { + x_3491 = x_3459; +} +lean_ctor_set(x_3491, 0, x_3490); +lean_ctor_set(x_3491, 1, x_3458); +return x_3491; +} +else +{ +lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; +lean_dec(x_3443); +lean_dec(x_11); +lean_dec(x_5); +x_3492 = lean_ctor_get(x_3449, 0); +lean_inc(x_3492); +x_3493 = lean_ctor_get(x_3449, 1); +lean_inc(x_3493); +if (lean_is_exclusive(x_3449)) { + lean_ctor_release(x_3449, 0); + lean_ctor_release(x_3449, 1); + x_3494 = x_3449; +} else { + lean_dec_ref(x_3449); + x_3494 = lean_box(0); +} +if (lean_is_scalar(x_3494)) { + x_3495 = lean_alloc_ctor(1, 2, 0); +} else { + x_3495 = x_3494; +} +lean_ctor_set(x_3495, 0, x_3492); +lean_ctor_set(x_3495, 1, x_3493); +return x_3495; } } } } else { -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_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_dec(x_2937); +lean_dec(x_2934); +lean_dec(x_2931); +lean_dec(x_2927); lean_dec(x_17); -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); +x_3496 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3497 = lean_ctor_get(x_3496, 0); +lean_inc(x_3497); +x_3498 = lean_ctor_get(x_3496, 1); +lean_inc(x_3498); +lean_dec(x_3496); +x_3499 = lean_unsigned_to_nat(1u); +x_3500 = lean_nat_add(x_3, x_3499); lean_dec(x_3); -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; +x_3501 = l_Lean_Elab_Term_mkExplicitBinder(x_3497, x_11); +x_3502 = lean_array_push(x_4, x_3501); +x_3 = x_3500; +x_4 = x_3502; +x_6 = x_3498; goto _start; } } @@ -14272,376 +14347,378 @@ goto _start; } else { -uint8_t x_3456; lean_object* x_3457; +uint8_t x_3504; lean_object* x_3505; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3456 = 1; +x_3504 = 1; lean_inc(x_11); -x_3457 = l_Lean_Syntax_isTermId_x3f(x_11, x_3456); -if (lean_obj_tag(x_3457) == 0) +x_3505 = l_Lean_Syntax_isTermId_x3f(x_11, x_3504); +if (lean_obj_tag(x_3505) == 0) { -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_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; +x_3506 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3507 = lean_ctor_get(x_3506, 0); +lean_inc(x_3507); +x_3508 = lean_ctor_get(x_3506, 1); +lean_inc(x_3508); +lean_dec(x_3506); +x_3509 = lean_unsigned_to_nat(1u); +x_3510 = lean_nat_add(x_3, x_3509); 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); +x_3511 = l_Lean_mkHole(x_11); +lean_inc(x_3507); +x_3512 = l_Lean_Elab_Term_mkExplicitBinder(x_3507, x_3511); +x_3513 = lean_array_push(x_4, x_3512); 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) +x_3514 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3510, x_3513, x_5, x_3508); +if (lean_obj_tag(x_3514) == 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_3515; lean_object* x_3516; uint8_t x_3517; +x_3515 = lean_ctor_get(x_3514, 0); +lean_inc(x_3515); +x_3516 = lean_ctor_get(x_3514, 1); +lean_inc(x_3516); +lean_dec(x_3514); +x_3517 = !lean_is_exclusive(x_3515); +if (x_3517 == 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_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; uint8_t x_3522; +x_3518 = lean_ctor_get(x_3515, 1); +x_3519 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3516); lean_dec(x_5); -x_3472 = lean_ctor_get(x_3471, 1); -lean_inc(x_3472); -lean_dec(x_3471); -x_3473 = l_Lean_Elab_Term_getMainModule___rarg(x_3472); -x_3474 = !lean_is_exclusive(x_3473); -if (x_3474 == 0) +x_3520 = lean_ctor_get(x_3519, 1); +lean_inc(x_3520); +lean_dec(x_3519); +x_3521 = l_Lean_Elab_Term_getMainModule___rarg(x_3520); +x_3522 = !lean_is_exclusive(x_3521); +if (x_3522 == 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_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); -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); +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; uint8_t x_3541; +x_3523 = lean_ctor_get(x_3521, 0); +lean_dec(x_3523); +x_3524 = l_Array_empty___closed__1; +x_3525 = lean_array_push(x_3524, x_3507); +x_3526 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3527 = lean_array_push(x_3525, x_3526); +x_3528 = l_Lean_mkTermIdFromIdent___closed__2; +x_3529 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3529, 0, x_3528); +lean_ctor_set(x_3529, 1, x_3527); +x_3530 = lean_array_push(x_3524, x_3529); +x_3531 = l_Lean_nullKind___closed__2; +x_3532 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3532, 0, x_3531); +lean_ctor_set(x_3532, 1, x_3530); +x_3533 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3534 = lean_array_push(x_3533, x_3532); +x_3535 = lean_array_push(x_3534, x_3526); +x_3536 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3537 = lean_array_push(x_3535, x_3536); +x_3538 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3539 = lean_array_push(x_3537, x_3538); lean_inc(x_11); -x_3490 = lean_array_push(x_3476, x_11); -x_3491 = !lean_is_exclusive(x_11); -if (x_3491 == 0) +x_3540 = lean_array_push(x_3524, x_11); +x_3541 = !lean_is_exclusive(x_11); +if (x_3541 == 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__5; -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; +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; +x_3542 = lean_ctor_get(x_11, 1); +lean_dec(x_3542); +x_3543 = lean_ctor_get(x_11, 0); +lean_dec(x_3543); +lean_ctor_set(x_11, 1, x_3540); +lean_ctor_set(x_11, 0, x_3531); +x_3544 = lean_array_push(x_3524, x_11); +x_3545 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3546 = lean_array_push(x_3544, x_3545); +x_3547 = lean_array_push(x_3546, x_3518); +x_3548 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3549, 0, x_3548); +lean_ctor_set(x_3549, 1, x_3547); +x_3550 = lean_array_push(x_3524, x_3549); +x_3551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3551, 0, x_3531); +lean_ctor_set(x_3551, 1, x_3550); +x_3552 = lean_array_push(x_3539, x_3551); +x_3553 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3554, 0, x_3553); +lean_ctor_set(x_3554, 1, x_3552); +lean_ctor_set(x_3515, 1, x_3554); +lean_ctor_set(x_3521, 0, x_3515); +return x_3521; } 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_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_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__5; -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; +x_3555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3555, 0, x_3531); +lean_ctor_set(x_3555, 1, x_3540); +x_3556 = lean_array_push(x_3524, x_3555); +x_3557 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3558 = lean_array_push(x_3556, x_3557); +x_3559 = lean_array_push(x_3558, x_3518); +x_3560 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3561, 0, x_3560); +lean_ctor_set(x_3561, 1, x_3559); +x_3562 = lean_array_push(x_3524, x_3561); +x_3563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3563, 0, x_3531); +lean_ctor_set(x_3563, 1, x_3562); +x_3564 = lean_array_push(x_3539, x_3563); +x_3565 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3566, 0, x_3565); +lean_ctor_set(x_3566, 1, x_3564); +lean_ctor_set(x_3515, 1, x_3566); +lean_ctor_set(x_3521, 0, x_3515); +return x_3521; } } else { -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_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_3535 = x_11; -} else { - lean_dec_ref(x_11); - x_3535 = lean_box(0); -} -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__5; -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_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_3572 = x_11; -} else { - lean_dec_ref(x_11); - x_3572 = lean_box(0); -} -if (lean_is_scalar(x_3572)) { - x_3573 = lean_alloc_ctor(1, 2, 0); -} else { - x_3573 = x_3572; -} -lean_ctor_set(x_3573, 0, x_3564); +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; 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; lean_object* x_3597; lean_object* x_3598; +x_3567 = lean_ctor_get(x_3521, 1); +lean_inc(x_3567); +lean_dec(x_3521); +x_3568 = l_Array_empty___closed__1; +x_3569 = lean_array_push(x_3568, x_3507); +x_3570 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3571 = lean_array_push(x_3569, x_3570); +x_3572 = l_Lean_mkTermIdFromIdent___closed__2; +x_3573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3573, 0, x_3572); lean_ctor_set(x_3573, 1, x_3571); -x_3574 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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); +x_3574 = lean_array_push(x_3568, x_3573); +x_3575 = l_Lean_nullKind___closed__2; +x_3576 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3576, 0, x_3575); +lean_ctor_set(x_3576, 1, x_3574); +x_3577 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3578 = lean_array_push(x_3577, x_3576); +x_3579 = lean_array_push(x_3578, x_3570); +x_3580 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3581 = lean_array_push(x_3579, x_3580); +x_3582 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3583 = lean_array_push(x_3581, x_3582); +lean_inc(x_11); +x_3584 = lean_array_push(x_3568, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3585 = x_11; } else { - x_3587 = x_3556; + lean_dec_ref(x_11); + x_3585 = lean_box(0); } -lean_ctor_set(x_3587, 0, x_3586); -lean_ctor_set(x_3587, 1, x_3555); -return x_3587; +if (lean_is_scalar(x_3585)) { + x_3586 = lean_alloc_ctor(1, 2, 0); +} else { + x_3586 = x_3585; +} +lean_ctor_set(x_3586, 0, x_3575); +lean_ctor_set(x_3586, 1, x_3584); +x_3587 = lean_array_push(x_3568, x_3586); +x_3588 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3589 = lean_array_push(x_3587, x_3588); +x_3590 = lean_array_push(x_3589, x_3518); +x_3591 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3592 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3592, 0, x_3591); +lean_ctor_set(x_3592, 1, x_3590); +x_3593 = lean_array_push(x_3568, x_3592); +x_3594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3594, 0, x_3575); +lean_ctor_set(x_3594, 1, x_3593); +x_3595 = lean_array_push(x_3583, x_3594); +x_3596 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3597, 0, x_3596); +lean_ctor_set(x_3597, 1, x_3595); +lean_ctor_set(x_3515, 1, x_3597); +x_3598 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3598, 0, x_3515); +lean_ctor_set(x_3598, 1, x_3567); +return x_3598; } } else { -uint8_t x_3588; -lean_dec(x_3459); +lean_object* x_3599; lean_object* x_3600; lean_object* x_3601; lean_object* x_3602; lean_object* x_3603; lean_object* x_3604; 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; lean_object* x_3621; 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; lean_object* x_3636; lean_object* x_3637; +x_3599 = lean_ctor_get(x_3515, 0); +x_3600 = lean_ctor_get(x_3515, 1); +lean_inc(x_3600); +lean_inc(x_3599); +lean_dec(x_3515); +x_3601 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3516); +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_ctor_get(x_3603, 1); +lean_inc(x_3604); +if (lean_is_exclusive(x_3603)) { + lean_ctor_release(x_3603, 0); + lean_ctor_release(x_3603, 1); + x_3605 = x_3603; +} else { + lean_dec_ref(x_3603); + x_3605 = lean_box(0); +} +x_3606 = l_Array_empty___closed__1; +x_3607 = lean_array_push(x_3606, x_3507); +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_3620 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3621 = lean_array_push(x_3619, x_3620); +lean_inc(x_11); +x_3622 = lean_array_push(x_3606, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3623 = x_11; +} else { + lean_dec_ref(x_11); + x_3623 = lean_box(0); +} +if (lean_is_scalar(x_3623)) { + x_3624 = lean_alloc_ctor(1, 2, 0); +} else { + x_3624 = x_3623; +} +lean_ctor_set(x_3624, 0, x_3613); +lean_ctor_set(x_3624, 1, x_3622); +x_3625 = lean_array_push(x_3606, x_3624); +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___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_3621, 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); +x_3636 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3636, 0, x_3599); +lean_ctor_set(x_3636, 1, x_3635); +if (lean_is_scalar(x_3605)) { + x_3637 = lean_alloc_ctor(0, 2, 0); +} else { + x_3637 = x_3605; +} +lean_ctor_set(x_3637, 0, x_3636); +lean_ctor_set(x_3637, 1, x_3604); +return x_3637; +} +} +else +{ +uint8_t x_3638; +lean_dec(x_3507); lean_dec(x_11); lean_dec(x_5); -x_3588 = !lean_is_exclusive(x_3466); -if (x_3588 == 0) +x_3638 = !lean_is_exclusive(x_3514); +if (x_3638 == 0) { -return x_3466; +return x_3514; } else { -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; +lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; +x_3639 = lean_ctor_get(x_3514, 0); +x_3640 = lean_ctor_get(x_3514, 1); +lean_inc(x_3640); +lean_inc(x_3639); +lean_dec(x_3514); +x_3641 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3641, 0, x_3639); +lean_ctor_set(x_3641, 1, x_3640); +return x_3641; } } } else { -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_3642; lean_object* x_3643; lean_object* x_3644; uint8_t x_3645; +x_3642 = lean_ctor_get(x_3505, 0); +lean_inc(x_3642); +lean_dec(x_3505); +x_3643 = lean_ctor_get(x_3642, 0); +lean_inc(x_3643); +x_3644 = lean_ctor_get(x_3642, 1); +lean_inc(x_3644); +lean_dec(x_3642); +x_3645 = l_Lean_Syntax_isNone(x_3644); +lean_dec(x_3644); +if (x_3645 == 0) { -lean_object* x_3596; lean_object* x_3597; uint8_t x_3598; -lean_dec(x_3593); +lean_object* x_3646; lean_object* x_3647; uint8_t x_3648; +lean_dec(x_3643); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3596 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_3597 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3596, x_5, x_6); +x_3646 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3647 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3646, x_5, x_6); lean_dec(x_11); -x_3598 = !lean_is_exclusive(x_3597); -if (x_3598 == 0) +x_3648 = !lean_is_exclusive(x_3647); +if (x_3648 == 0) { -return x_3597; +return x_3647; } else { -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; +lean_object* x_3649; lean_object* x_3650; lean_object* x_3651; +x_3649 = lean_ctor_get(x_3647, 0); +x_3650 = lean_ctor_get(x_3647, 1); +lean_inc(x_3650); +lean_inc(x_3649); +lean_dec(x_3647); +x_3651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3651, 0, x_3649); +lean_ctor_set(x_3651, 1, x_3650); +return x_3651; } } else { -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_object* x_3652; lean_object* x_3653; lean_object* x_3654; lean_object* x_3655; lean_object* x_3656; +x_3652 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3603 = lean_unsigned_to_nat(1u); -x_3604 = lean_nat_add(x_3, x_3603); +x_3653 = lean_unsigned_to_nat(1u); +x_3654 = lean_nat_add(x_3, x_3653); lean_dec(x_3); -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; +x_3655 = l_Lean_Elab_Term_mkExplicitBinder(x_3643, x_3652); +x_3656 = lean_array_push(x_4, x_3655); +x_3 = x_3654; +x_4 = x_3656; goto _start; } } @@ -14649,375 +14726,377 @@ goto _start; } else { -uint8_t x_3608; lean_object* x_3609; +uint8_t x_3658; lean_object* x_3659; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3608 = 1; +x_3658 = 1; lean_inc(x_11); -x_3609 = l_Lean_Syntax_isTermId_x3f(x_11, x_3608); -if (lean_obj_tag(x_3609) == 0) +x_3659 = l_Lean_Syntax_isTermId_x3f(x_11, x_3658); +if (lean_obj_tag(x_3659) == 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_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; +x_3660 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3661 = lean_ctor_get(x_3660, 0); +lean_inc(x_3661); +x_3662 = lean_ctor_get(x_3660, 1); +lean_inc(x_3662); +lean_dec(x_3660); +x_3663 = lean_unsigned_to_nat(1u); +x_3664 = lean_nat_add(x_3, x_3663); 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); +x_3665 = l_Lean_mkHole(x_11); +lean_inc(x_3661); +x_3666 = l_Lean_Elab_Term_mkExplicitBinder(x_3661, x_3665); +x_3667 = lean_array_push(x_4, x_3666); 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) +x_3668 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3664, x_3667, x_5, x_3662); +if (lean_obj_tag(x_3668) == 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_3669; lean_object* x_3670; uint8_t x_3671; +x_3669 = lean_ctor_get(x_3668, 0); +lean_inc(x_3669); +x_3670 = lean_ctor_get(x_3668, 1); +lean_inc(x_3670); +lean_dec(x_3668); +x_3671 = !lean_is_exclusive(x_3669); +if (x_3671 == 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_object* x_3672; lean_object* x_3673; lean_object* x_3674; lean_object* x_3675; uint8_t x_3676; +x_3672 = lean_ctor_get(x_3669, 1); +x_3673 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3670); lean_dec(x_5); -x_3624 = lean_ctor_get(x_3623, 1); -lean_inc(x_3624); -lean_dec(x_3623); -x_3625 = l_Lean_Elab_Term_getMainModule___rarg(x_3624); -x_3626 = !lean_is_exclusive(x_3625); -if (x_3626 == 0) +x_3674 = lean_ctor_get(x_3673, 1); +lean_inc(x_3674); +lean_dec(x_3673); +x_3675 = l_Lean_Elab_Term_getMainModule___rarg(x_3674); +x_3676 = !lean_is_exclusive(x_3675); +if (x_3676 == 0) { -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_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 = 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_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; uint8_t x_3695; +x_3677 = lean_ctor_get(x_3675, 0); +lean_dec(x_3677); +x_3678 = l_Array_empty___closed__1; +x_3679 = lean_array_push(x_3678, x_3661); +x_3680 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3681 = lean_array_push(x_3679, x_3680); +x_3682 = l_Lean_mkTermIdFromIdent___closed__2; +x_3683 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3683, 0, x_3682); +lean_ctor_set(x_3683, 1, x_3681); +x_3684 = lean_array_push(x_3678, x_3683); +x_3685 = l_Lean_nullKind___closed__2; +x_3686 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3686, 0, x_3685); +lean_ctor_set(x_3686, 1, x_3684); +x_3687 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3688 = lean_array_push(x_3687, x_3686); +x_3689 = lean_array_push(x_3688, x_3680); +x_3690 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3691 = lean_array_push(x_3689, x_3690); +x_3692 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3693 = lean_array_push(x_3691, x_3692); lean_inc(x_11); -x_3642 = lean_array_push(x_3628, x_11); -x_3643 = !lean_is_exclusive(x_11); -if (x_3643 == 0) +x_3694 = lean_array_push(x_3678, x_11); +x_3695 = !lean_is_exclusive(x_11); +if (x_3695 == 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__5; -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; +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; +x_3696 = lean_ctor_get(x_11, 1); +lean_dec(x_3696); +x_3697 = lean_ctor_get(x_11, 0); +lean_dec(x_3697); +lean_ctor_set(x_11, 1, x_3694); +lean_ctor_set(x_11, 0, x_3685); +x_3698 = lean_array_push(x_3678, x_11); +x_3699 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3700 = lean_array_push(x_3698, x_3699); +x_3701 = lean_array_push(x_3700, x_3672); +x_3702 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3703, 0, x_3702); +lean_ctor_set(x_3703, 1, x_3701); +x_3704 = lean_array_push(x_3678, x_3703); +x_3705 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3705, 0, x_3685); +lean_ctor_set(x_3705, 1, x_3704); +x_3706 = lean_array_push(x_3693, x_3705); +x_3707 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3708 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3708, 0, x_3707); +lean_ctor_set(x_3708, 1, x_3706); +lean_ctor_set(x_3669, 1, x_3708); +lean_ctor_set(x_3675, 0, x_3669); +return x_3675; } 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_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_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__5; -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_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_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_3687 = x_11; -} else { - lean_dec_ref(x_11); - x_3687 = lean_box(0); -} -if (lean_is_scalar(x_3687)) { - x_3688 = lean_alloc_ctor(1, 2, 0); -} else { - x_3688 = x_3687; -} -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__5; -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 = 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_3709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3709, 0, x_3685); +lean_ctor_set(x_3709, 1, x_3694); +x_3710 = lean_array_push(x_3678, x_3709); +x_3711 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; 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_3713 = lean_array_push(x_3712, x_3672); +x_3714 = l_Lean_Parser_Term_matchAlt___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_array_push(x_3678, x_3715); 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_ctor_set(x_3717, 0, x_3685); +lean_ctor_set(x_3717, 1, x_3716); +x_3718 = lean_array_push(x_3693, x_3717); +x_3719 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3720 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3720, 0, x_3719); +lean_ctor_set(x_3720, 1, x_3718); +lean_ctor_set(x_3669, 1, x_3720); +lean_ctor_set(x_3675, 0, x_3669); +return x_3675; +} +} +else +{ +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; 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; lean_object* x_3748; lean_object* x_3749; lean_object* x_3750; lean_object* x_3751; lean_object* x_3752; +x_3721 = lean_ctor_get(x_3675, 1); +lean_inc(x_3721); +lean_dec(x_3675); +x_3722 = l_Array_empty___closed__1; +x_3723 = lean_array_push(x_3722, x_3661); +x_3724 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3725 = lean_array_push(x_3723, x_3724); +x_3726 = l_Lean_mkTermIdFromIdent___closed__2; +x_3727 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3727, 0, x_3726); +lean_ctor_set(x_3727, 1, x_3725); +x_3728 = lean_array_push(x_3722, x_3727); +x_3729 = l_Lean_nullKind___closed__2; +x_3730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3730, 0, x_3729); +lean_ctor_set(x_3730, 1, x_3728); +x_3731 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3732 = lean_array_push(x_3731, x_3730); +x_3733 = lean_array_push(x_3732, x_3724); +x_3734 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3735 = lean_array_push(x_3733, x_3734); +x_3736 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3737 = lean_array_push(x_3735, x_3736); lean_inc(x_11); -x_3723 = lean_array_push(x_3709, x_11); +x_3738 = lean_array_push(x_3722, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3724 = x_11; + x_3739 = x_11; } else { lean_dec_ref(x_11); - x_3724 = lean_box(0); + x_3739 = lean_box(0); } -if (lean_is_scalar(x_3724)) { - x_3725 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3739)) { + x_3740 = lean_alloc_ctor(1, 2, 0); } else { - x_3725 = x_3724; + x_3740 = x_3739; } -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__5; -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_3739 = x_3708; -} -lean_ctor_set(x_3739, 0, x_3738); -lean_ctor_set(x_3739, 1, x_3707); -return x_3739; +lean_ctor_set(x_3740, 0, x_3729); +lean_ctor_set(x_3740, 1, x_3738); +x_3741 = lean_array_push(x_3722, x_3740); +x_3742 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3743 = lean_array_push(x_3741, x_3742); +x_3744 = lean_array_push(x_3743, x_3672); +x_3745 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3746 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3746, 0, x_3745); +lean_ctor_set(x_3746, 1, x_3744); +x_3747 = lean_array_push(x_3722, x_3746); +x_3748 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3748, 0, x_3729); +lean_ctor_set(x_3748, 1, x_3747); +x_3749 = lean_array_push(x_3737, x_3748); +x_3750 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3751, 0, x_3750); +lean_ctor_set(x_3751, 1, x_3749); +lean_ctor_set(x_3669, 1, x_3751); +x_3752 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3752, 0, x_3669); +lean_ctor_set(x_3752, 1, x_3721); +return x_3752; } } else { -uint8_t x_3740; -lean_dec(x_3611); +lean_object* x_3753; lean_object* x_3754; lean_object* x_3755; 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; lean_object* x_3772; 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; lean_object* x_3787; lean_object* x_3788; lean_object* x_3789; lean_object* x_3790; lean_object* x_3791; +x_3753 = lean_ctor_get(x_3669, 0); +x_3754 = lean_ctor_get(x_3669, 1); +lean_inc(x_3754); +lean_inc(x_3753); +lean_dec(x_3669); +x_3755 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3670); +lean_dec(x_5); +x_3756 = lean_ctor_get(x_3755, 1); +lean_inc(x_3756); +lean_dec(x_3755); +x_3757 = l_Lean_Elab_Term_getMainModule___rarg(x_3756); +x_3758 = lean_ctor_get(x_3757, 1); +lean_inc(x_3758); +if (lean_is_exclusive(x_3757)) { + lean_ctor_release(x_3757, 0); + lean_ctor_release(x_3757, 1); + x_3759 = x_3757; +} else { + lean_dec_ref(x_3757); + x_3759 = lean_box(0); +} +x_3760 = l_Array_empty___closed__1; +x_3761 = lean_array_push(x_3760, x_3661); +x_3762 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3763 = lean_array_push(x_3761, x_3762); +x_3764 = l_Lean_mkTermIdFromIdent___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 = lean_array_push(x_3760, x_3765); +x_3767 = l_Lean_nullKind___closed__2; +x_3768 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3768, 0, x_3767); +lean_ctor_set(x_3768, 1, x_3766); +x_3769 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3770 = lean_array_push(x_3769, x_3768); +x_3771 = lean_array_push(x_3770, x_3762); +x_3772 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3773 = lean_array_push(x_3771, x_3772); +x_3774 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3775 = lean_array_push(x_3773, x_3774); +lean_inc(x_11); +x_3776 = lean_array_push(x_3760, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3777 = x_11; +} else { + lean_dec_ref(x_11); + x_3777 = lean_box(0); +} +if (lean_is_scalar(x_3777)) { + x_3778 = lean_alloc_ctor(1, 2, 0); +} else { + x_3778 = x_3777; +} +lean_ctor_set(x_3778, 0, x_3767); +lean_ctor_set(x_3778, 1, x_3776); +x_3779 = lean_array_push(x_3760, x_3778); +x_3780 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3781 = lean_array_push(x_3779, x_3780); +x_3782 = lean_array_push(x_3781, x_3754); +x_3783 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3784 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3784, 0, x_3783); +lean_ctor_set(x_3784, 1, x_3782); +x_3785 = lean_array_push(x_3760, x_3784); +x_3786 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3786, 0, x_3767); +lean_ctor_set(x_3786, 1, x_3785); +x_3787 = lean_array_push(x_3775, x_3786); +x_3788 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3789 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3789, 0, x_3788); +lean_ctor_set(x_3789, 1, x_3787); +x_3790 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3790, 0, x_3753); +lean_ctor_set(x_3790, 1, x_3789); +if (lean_is_scalar(x_3759)) { + x_3791 = lean_alloc_ctor(0, 2, 0); +} else { + x_3791 = x_3759; +} +lean_ctor_set(x_3791, 0, x_3790); +lean_ctor_set(x_3791, 1, x_3758); +return x_3791; +} +} +else +{ +uint8_t x_3792; +lean_dec(x_3661); lean_dec(x_11); lean_dec(x_5); -x_3740 = !lean_is_exclusive(x_3618); -if (x_3740 == 0) +x_3792 = !lean_is_exclusive(x_3668); +if (x_3792 == 0) { -return x_3618; +return x_3668; } else { -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; +lean_object* x_3793; lean_object* x_3794; lean_object* x_3795; +x_3793 = lean_ctor_get(x_3668, 0); +x_3794 = lean_ctor_get(x_3668, 1); +lean_inc(x_3794); +lean_inc(x_3793); +lean_dec(x_3668); +x_3795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3795, 0, x_3793); +lean_ctor_set(x_3795, 1, x_3794); +return x_3795; } } } else { -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_3796; lean_object* x_3797; lean_object* x_3798; uint8_t x_3799; +x_3796 = lean_ctor_get(x_3659, 0); +lean_inc(x_3796); +lean_dec(x_3659); +x_3797 = lean_ctor_get(x_3796, 0); +lean_inc(x_3797); +x_3798 = lean_ctor_get(x_3796, 1); +lean_inc(x_3798); +lean_dec(x_3796); +x_3799 = l_Lean_Syntax_isNone(x_3798); +lean_dec(x_3798); +if (x_3799 == 0) { -lean_object* x_3748; lean_object* x_3749; uint8_t x_3750; -lean_dec(x_3745); +lean_object* x_3800; lean_object* x_3801; uint8_t x_3802; +lean_dec(x_3797); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3748 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_3749 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3748, x_5, x_6); +x_3800 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3801 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3800, x_5, x_6); lean_dec(x_11); -x_3750 = !lean_is_exclusive(x_3749); -if (x_3750 == 0) +x_3802 = !lean_is_exclusive(x_3801); +if (x_3802 == 0) { -return x_3749; +return x_3801; } else { -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; +lean_object* x_3803; lean_object* x_3804; lean_object* x_3805; +x_3803 = lean_ctor_get(x_3801, 0); +x_3804 = lean_ctor_get(x_3801, 1); +lean_inc(x_3804); +lean_inc(x_3803); +lean_dec(x_3801); +x_3805 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3805, 0, x_3803); +lean_ctor_set(x_3805, 1, x_3804); +return x_3805; } } else { -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_object* x_3806; lean_object* x_3807; lean_object* x_3808; lean_object* x_3809; lean_object* x_3810; +x_3806 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3755 = lean_unsigned_to_nat(1u); -x_3756 = lean_nat_add(x_3, x_3755); +x_3807 = lean_unsigned_to_nat(1u); +x_3808 = lean_nat_add(x_3, x_3807); lean_dec(x_3); -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; +x_3809 = l_Lean_Elab_Term_mkExplicitBinder(x_3797, x_3806); +x_3810 = lean_array_push(x_4, x_3809); +x_3 = x_3808; +x_4 = x_3810; goto _start; } } @@ -15025,374 +15104,376 @@ goto _start; } else { -uint8_t x_3760; lean_object* x_3761; +uint8_t x_3812; lean_object* x_3813; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3760 = 1; +x_3812 = 1; lean_inc(x_11); -x_3761 = l_Lean_Syntax_isTermId_x3f(x_11, x_3760); -if (lean_obj_tag(x_3761) == 0) +x_3813 = l_Lean_Syntax_isTermId_x3f(x_11, x_3812); +if (lean_obj_tag(x_3813) == 0) { -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_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; +x_3814 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3815 = lean_ctor_get(x_3814, 0); +lean_inc(x_3815); +x_3816 = lean_ctor_get(x_3814, 1); +lean_inc(x_3816); +lean_dec(x_3814); +x_3817 = lean_unsigned_to_nat(1u); +x_3818 = lean_nat_add(x_3, x_3817); 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); +x_3819 = l_Lean_mkHole(x_11); +lean_inc(x_3815); +x_3820 = l_Lean_Elab_Term_mkExplicitBinder(x_3815, x_3819); +x_3821 = lean_array_push(x_4, x_3820); 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) +x_3822 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3818, x_3821, x_5, x_3816); +if (lean_obj_tag(x_3822) == 0) { -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_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__5; -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_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); -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__5; -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); -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 = 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_object* x_3823; lean_object* x_3824; uint8_t x_3825; +x_3823 = lean_ctor_get(x_3822, 0); 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); -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); +x_3824 = lean_ctor_get(x_3822, 1); +lean_inc(x_3824); +lean_dec(x_3822); +x_3825 = !lean_is_exclusive(x_3823); +if (x_3825 == 0) +{ +lean_object* x_3826; lean_object* x_3827; lean_object* x_3828; lean_object* x_3829; uint8_t x_3830; +x_3826 = lean_ctor_get(x_3823, 1); +x_3827 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3824); +lean_dec(x_5); +x_3828 = lean_ctor_get(x_3827, 1); +lean_inc(x_3828); +lean_dec(x_3827); +x_3829 = l_Lean_Elab_Term_getMainModule___rarg(x_3828); +x_3830 = !lean_is_exclusive(x_3829); +if (x_3830 == 0) +{ +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; uint8_t x_3849; +x_3831 = lean_ctor_get(x_3829, 0); +lean_dec(x_3831); +x_3832 = l_Array_empty___closed__1; +x_3833 = lean_array_push(x_3832, x_3815); +x_3834 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3835 = lean_array_push(x_3833, x_3834); +x_3836 = l_Lean_mkTermIdFromIdent___closed__2; +x_3837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3837, 0, x_3836); +lean_ctor_set(x_3837, 1, x_3835); +x_3838 = lean_array_push(x_3832, x_3837); +x_3839 = l_Lean_nullKind___closed__2; +x_3840 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3840, 0, x_3839); lean_ctor_set(x_3840, 1, x_3838); -x_3841 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; +x_3841 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; 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; -} +x_3843 = lean_array_push(x_3842, x_3834); +x_3844 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3845 = lean_array_push(x_3843, x_3844); +x_3846 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3847 = lean_array_push(x_3845, x_3846); +lean_inc(x_11); +x_3848 = lean_array_push(x_3832, x_11); +x_3849 = !lean_is_exclusive(x_11); +if (x_3849 == 0) +{ +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; +x_3850 = lean_ctor_get(x_11, 1); +lean_dec(x_3850); +x_3851 = lean_ctor_get(x_11, 0); +lean_dec(x_3851); +lean_ctor_set(x_11, 1, x_3848); +lean_ctor_set(x_11, 0, x_3839); +x_3852 = lean_array_push(x_3832, x_11); +x_3853 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3854 = lean_array_push(x_3852, x_3853); +x_3855 = lean_array_push(x_3854, x_3826); +x_3856 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3857 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3857, 0, x_3856); +lean_ctor_set(x_3857, 1, x_3855); +x_3858 = lean_array_push(x_3832, x_3857); +x_3859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3859, 0, x_3839); +lean_ctor_set(x_3859, 1, x_3858); +x_3860 = lean_array_push(x_3847, x_3859); +x_3861 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3862, 0, x_3861); +lean_ctor_set(x_3862, 1, x_3860); +lean_ctor_set(x_3823, 1, x_3862); +lean_ctor_set(x_3829, 0, x_3823); +return x_3829; } else { -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_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_3858); - x_3860 = lean_box(0); -} -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_array_push(x_3861, x_3866); -x_3868 = l_Lean_nullKind___closed__2; +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_dec(x_11); +x_3863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3863, 0, x_3839); +lean_ctor_set(x_3863, 1, x_3848); +x_3864 = lean_array_push(x_3832, x_3863); +x_3865 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3866 = lean_array_push(x_3864, x_3865); +x_3867 = lean_array_push(x_3866, x_3826); +x_3868 = l_Lean_Parser_Term_matchAlt___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 { - lean_dec_ref(x_11); - x_3876 = lean_box(0); +x_3870 = lean_array_push(x_3832, x_3869); +x_3871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3871, 0, x_3839); +lean_ctor_set(x_3871, 1, x_3870); +x_3872 = lean_array_push(x_3847, x_3871); +x_3873 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3874 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3874, 0, x_3873); +lean_ctor_set(x_3874, 1, x_3872); +lean_ctor_set(x_3823, 1, x_3874); +lean_ctor_set(x_3829, 0, x_3823); +return x_3829; } -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__5; -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; +else +{ +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; 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; lean_object* x_3899; lean_object* x_3900; lean_object* x_3901; lean_object* x_3902; lean_object* x_3903; lean_object* x_3904; lean_object* x_3905; lean_object* x_3906; +x_3875 = lean_ctor_get(x_3829, 1); +lean_inc(x_3875); +lean_dec(x_3829); +x_3876 = l_Array_empty___closed__1; +x_3877 = lean_array_push(x_3876, x_3815); +x_3878 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3879 = lean_array_push(x_3877, x_3878); +x_3880 = l_Lean_mkTermIdFromIdent___closed__2; +x_3881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3881, 0, x_3880); +lean_ctor_set(x_3881, 1, x_3879); +x_3882 = lean_array_push(x_3876, x_3881); +x_3883 = l_Lean_nullKind___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); +x_3885 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3886 = lean_array_push(x_3885, x_3884); +x_3887 = lean_array_push(x_3886, x_3878); +x_3888 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3889 = lean_array_push(x_3887, x_3888); +x_3890 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3891 = lean_array_push(x_3889, x_3890); +lean_inc(x_11); +x_3892 = lean_array_push(x_3876, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3893 = x_11; } else { - x_3891 = x_3860; + lean_dec_ref(x_11); + x_3893 = lean_box(0); } -lean_ctor_set(x_3891, 0, x_3890); -lean_ctor_set(x_3891, 1, x_3859); -return x_3891; +if (lean_is_scalar(x_3893)) { + x_3894 = lean_alloc_ctor(1, 2, 0); +} else { + x_3894 = x_3893; +} +lean_ctor_set(x_3894, 0, x_3883); +lean_ctor_set(x_3894, 1, x_3892); +x_3895 = lean_array_push(x_3876, x_3894); +x_3896 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3897 = lean_array_push(x_3895, x_3896); +x_3898 = lean_array_push(x_3897, x_3826); +x_3899 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3900, 0, x_3899); +lean_ctor_set(x_3900, 1, x_3898); +x_3901 = lean_array_push(x_3876, x_3900); +x_3902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3902, 0, x_3883); +lean_ctor_set(x_3902, 1, x_3901); +x_3903 = lean_array_push(x_3891, x_3902); +x_3904 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3905 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3905, 0, x_3904); +lean_ctor_set(x_3905, 1, x_3903); +lean_ctor_set(x_3823, 1, x_3905); +x_3906 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3906, 0, x_3823); +lean_ctor_set(x_3906, 1, x_3875); +return x_3906; } } else { -uint8_t x_3892; -lean_dec(x_3763); +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; lean_object* x_3923; 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; 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; +x_3907 = lean_ctor_get(x_3823, 0); +x_3908 = lean_ctor_get(x_3823, 1); +lean_inc(x_3908); +lean_inc(x_3907); +lean_dec(x_3823); +x_3909 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3824); +lean_dec(x_5); +x_3910 = lean_ctor_get(x_3909, 1); +lean_inc(x_3910); +lean_dec(x_3909); +x_3911 = l_Lean_Elab_Term_getMainModule___rarg(x_3910); +x_3912 = lean_ctor_get(x_3911, 1); +lean_inc(x_3912); +if (lean_is_exclusive(x_3911)) { + lean_ctor_release(x_3911, 0); + lean_ctor_release(x_3911, 1); + x_3913 = x_3911; +} else { + lean_dec_ref(x_3911); + x_3913 = lean_box(0); +} +x_3914 = l_Array_empty___closed__1; +x_3915 = lean_array_push(x_3914, x_3815); +x_3916 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3917 = lean_array_push(x_3915, x_3916); +x_3918 = l_Lean_mkTermIdFromIdent___closed__2; +x_3919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3919, 0, x_3918); +lean_ctor_set(x_3919, 1, x_3917); +x_3920 = lean_array_push(x_3914, x_3919); +x_3921 = l_Lean_nullKind___closed__2; +x_3922 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3922, 0, x_3921); +lean_ctor_set(x_3922, 1, x_3920); +x_3923 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3924 = lean_array_push(x_3923, x_3922); +x_3925 = lean_array_push(x_3924, x_3916); +x_3926 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3927 = lean_array_push(x_3925, x_3926); +x_3928 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3929 = lean_array_push(x_3927, x_3928); +lean_inc(x_11); +x_3930 = lean_array_push(x_3914, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3931 = x_11; +} else { + lean_dec_ref(x_11); + x_3931 = lean_box(0); +} +if (lean_is_scalar(x_3931)) { + x_3932 = lean_alloc_ctor(1, 2, 0); +} else { + x_3932 = x_3931; +} +lean_ctor_set(x_3932, 0, x_3921); +lean_ctor_set(x_3932, 1, x_3930); +x_3933 = lean_array_push(x_3914, x_3932); +x_3934 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3935 = lean_array_push(x_3933, x_3934); +x_3936 = lean_array_push(x_3935, x_3908); +x_3937 = l_Lean_Parser_Term_matchAlt___closed__2; +x_3938 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3938, 0, x_3937); +lean_ctor_set(x_3938, 1, x_3936); +x_3939 = lean_array_push(x_3914, x_3938); +x_3940 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3940, 0, x_3921); +lean_ctor_set(x_3940, 1, x_3939); +x_3941 = lean_array_push(x_3929, x_3940); +x_3942 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3943 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3943, 0, x_3942); +lean_ctor_set(x_3943, 1, x_3941); +x_3944 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3944, 0, x_3907); +lean_ctor_set(x_3944, 1, x_3943); +if (lean_is_scalar(x_3913)) { + x_3945 = lean_alloc_ctor(0, 2, 0); +} else { + x_3945 = x_3913; +} +lean_ctor_set(x_3945, 0, x_3944); +lean_ctor_set(x_3945, 1, x_3912); +return x_3945; +} +} +else +{ +uint8_t x_3946; +lean_dec(x_3815); lean_dec(x_11); lean_dec(x_5); -x_3892 = !lean_is_exclusive(x_3770); -if (x_3892 == 0) +x_3946 = !lean_is_exclusive(x_3822); +if (x_3946 == 0) { -return x_3770; +return x_3822; } else { -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; +lean_object* x_3947; lean_object* x_3948; lean_object* x_3949; +x_3947 = lean_ctor_get(x_3822, 0); +x_3948 = lean_ctor_get(x_3822, 1); +lean_inc(x_3948); +lean_inc(x_3947); +lean_dec(x_3822); +x_3949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3949, 0, x_3947); +lean_ctor_set(x_3949, 1, x_3948); +return x_3949; } } } else { -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_3950; lean_object* x_3951; lean_object* x_3952; uint8_t x_3953; +x_3950 = lean_ctor_get(x_3813, 0); +lean_inc(x_3950); +lean_dec(x_3813); +x_3951 = lean_ctor_get(x_3950, 0); +lean_inc(x_3951); +x_3952 = lean_ctor_get(x_3950, 1); +lean_inc(x_3952); +lean_dec(x_3950); +x_3953 = l_Lean_Syntax_isNone(x_3952); +lean_dec(x_3952); +if (x_3953 == 0) { -lean_object* x_3900; lean_object* x_3901; uint8_t x_3902; -lean_dec(x_3897); +lean_object* x_3954; lean_object* x_3955; uint8_t x_3956; +lean_dec(x_3951); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3900 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_3901 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3900, x_5, x_6); +x_3954 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3955 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3954, x_5, x_6); lean_dec(x_11); -x_3902 = !lean_is_exclusive(x_3901); -if (x_3902 == 0) +x_3956 = !lean_is_exclusive(x_3955); +if (x_3956 == 0) { -return x_3901; +return x_3955; } else { -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; +lean_object* x_3957; lean_object* x_3958; lean_object* x_3959; +x_3957 = lean_ctor_get(x_3955, 0); +x_3958 = lean_ctor_get(x_3955, 1); +lean_inc(x_3958); +lean_inc(x_3957); +lean_dec(x_3955); +x_3959 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3959, 0, x_3957); +lean_ctor_set(x_3959, 1, x_3958); +return x_3959; } } else { -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_object* x_3960; lean_object* x_3961; lean_object* x_3962; lean_object* x_3963; lean_object* x_3964; +x_3960 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3907 = lean_unsigned_to_nat(1u); -x_3908 = lean_nat_add(x_3, x_3907); +x_3961 = lean_unsigned_to_nat(1u); +x_3962 = lean_nat_add(x_3, x_3961); lean_dec(x_3); -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; +x_3963 = l_Lean_Elab_Term_mkExplicitBinder(x_3951, x_3960); +x_3964 = lean_array_push(x_4, x_3963); +x_3 = x_3962; +x_4 = x_3964; goto _start; } } @@ -15400,746 +15481,750 @@ goto _start; } else { -uint8_t x_3912; lean_object* x_3913; +uint8_t x_3966; lean_object* x_3967; lean_dec(x_13); lean_dec(x_12); -x_3912 = 1; +x_3966 = 1; lean_inc(x_11); -x_3913 = l_Lean_Syntax_isTermId_x3f(x_11, x_3912); -if (lean_obj_tag(x_3913) == 0) +x_3967 = l_Lean_Syntax_isTermId_x3f(x_11, x_3966); +if (lean_obj_tag(x_3967) == 0) { -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_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; +x_3968 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3969 = lean_ctor_get(x_3968, 0); +lean_inc(x_3969); +x_3970 = lean_ctor_get(x_3968, 1); +lean_inc(x_3970); +lean_dec(x_3968); +x_3971 = lean_unsigned_to_nat(1u); +x_3972 = lean_nat_add(x_3, x_3971); 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); +x_3973 = l_Lean_mkHole(x_11); +lean_inc(x_3969); +x_3974 = l_Lean_Elab_Term_mkExplicitBinder(x_3969, x_3973); +x_3975 = lean_array_push(x_4, x_3974); 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) +x_3976 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3972, x_3975, x_5, x_3970); +if (lean_obj_tag(x_3976) == 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_3977; lean_object* x_3978; uint8_t x_3979; +x_3977 = lean_ctor_get(x_3976, 0); +lean_inc(x_3977); +x_3978 = lean_ctor_get(x_3976, 1); +lean_inc(x_3978); +lean_dec(x_3976); +x_3979 = !lean_is_exclusive(x_3977); +if (x_3979 == 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_object* x_3980; lean_object* x_3981; lean_object* x_3982; lean_object* x_3983; uint8_t x_3984; +x_3980 = lean_ctor_get(x_3977, 1); +x_3981 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3978); 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) +x_3982 = lean_ctor_get(x_3981, 1); +lean_inc(x_3982); +lean_dec(x_3981); +x_3983 = l_Lean_Elab_Term_getMainModule___rarg(x_3982); +x_3984 = !lean_is_exclusive(x_3983); +if (x_3984 == 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); -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_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__5; -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__5; -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; +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; uint8_t x_4003; +x_3985 = lean_ctor_get(x_3983, 0); +lean_dec(x_3985); +x_3986 = l_Array_empty___closed__1; +x_3987 = lean_array_push(x_3986, x_3969); +x_3988 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_3989 = lean_array_push(x_3987, x_3988); +x_3990 = l_Lean_mkTermIdFromIdent___closed__2; +x_3991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3991, 0, x_3990); +lean_ctor_set(x_3991, 1, x_3989); +x_3992 = lean_array_push(x_3986, x_3991); +x_3993 = l_Lean_nullKind___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 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3996 = lean_array_push(x_3995, x_3994); +x_3997 = lean_array_push(x_3996, x_3988); +x_3998 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3999 = lean_array_push(x_3997, x_3998); +x_4000 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4001 = lean_array_push(x_3999, x_4000); 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_3991 = x_11; -} else { - lean_dec_ref(x_11); - x_3991 = lean_box(0); +x_4002 = lean_array_push(x_3986, x_11); +x_4003 = !lean_is_exclusive(x_11); +if (x_4003 == 0) +{ +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; +x_4004 = lean_ctor_get(x_11, 1); +lean_dec(x_4004); +x_4005 = lean_ctor_get(x_11, 0); +lean_dec(x_4005); +lean_ctor_set(x_11, 1, x_4002); +lean_ctor_set(x_11, 0, x_3993); +x_4006 = lean_array_push(x_3986, x_11); +x_4007 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4008 = lean_array_push(x_4006, x_4007); +x_4009 = lean_array_push(x_4008, x_3980); +x_4010 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4011, 0, x_4010); +lean_ctor_set(x_4011, 1, x_4009); +x_4012 = lean_array_push(x_3986, x_4011); +x_4013 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4013, 0, x_3993); +lean_ctor_set(x_4013, 1, x_4012); +x_4014 = lean_array_push(x_4001, x_4013); +x_4015 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4016 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4016, 0, x_4015); +lean_ctor_set(x_4016, 1, x_4014); +lean_ctor_set(x_3977, 1, x_4016); +lean_ctor_set(x_3983, 0, x_3977); +return x_3983; } -if (lean_is_scalar(x_3991)) { - x_3992 = lean_alloc_ctor(1, 2, 0); -} else { - x_3992 = x_3991; -} -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__5; -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_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_dec(x_11); +x_4017 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4017, 0, x_3993); +lean_ctor_set(x_4017, 1, x_4002); +x_4018 = lean_array_push(x_3986, x_4017); +x_4019 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4020 = lean_array_push(x_4018, x_4019); +x_4021 = lean_array_push(x_4020, x_3980); +x_4022 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4023, 0, x_4022); +lean_ctor_set(x_4023, 1, x_4021); +x_4024 = lean_array_push(x_3986, x_4023); +x_4025 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4025, 0, x_3993); +lean_ctor_set(x_4025, 1, x_4024); +x_4026 = lean_array_push(x_4001, x_4025); +x_4027 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4028, 0, x_4027); +lean_ctor_set(x_4028, 1, x_4026); +lean_ctor_set(x_3977, 1, x_4028); +lean_ctor_set(x_3983, 0, x_3977); +return x_3983; } } else { -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_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_4010); - x_4012 = lean_box(0); -} -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_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_4028 = x_11; -} else { - lean_dec_ref(x_11); - x_4028 = lean_box(0); -} -if (lean_is_scalar(x_4028)) { - x_4029 = lean_alloc_ctor(1, 2, 0); -} else { - x_4029 = x_4028; -} -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__5; -x_4031 = lean_array_push(x_4030, x_4029); -x_4032 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +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; lean_object* x_4044; lean_object* x_4045; lean_object* x_4046; lean_object* x_4047; lean_object* x_4048; lean_object* x_4049; lean_object* x_4050; lean_object* x_4051; lean_object* x_4052; lean_object* x_4053; lean_object* x_4054; lean_object* x_4055; lean_object* x_4056; lean_object* x_4057; lean_object* x_4058; lean_object* x_4059; lean_object* x_4060; +x_4029 = lean_ctor_get(x_3983, 1); +lean_inc(x_4029); +lean_dec(x_3983); +x_4030 = l_Array_empty___closed__1; +x_4031 = lean_array_push(x_4030, x_3969); +x_4032 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; 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_4034 = l_Lean_mkTermIdFromIdent___closed__2; +x_4035 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4035, 0, x_4034); +lean_ctor_set(x_4035, 1, x_4033); +x_4036 = lean_array_push(x_4030, x_4035); +x_4037 = l_Lean_nullKind___closed__2; 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_4043 = x_4012; -} -lean_ctor_set(x_4043, 0, x_4042); -lean_ctor_set(x_4043, 1, x_4011); -return x_4043; -} -} -else -{ -uint8_t x_4044; -lean_dec(x_3915); -lean_dec(x_11); -lean_dec(x_5); -x_4044 = !lean_is_exclusive(x_3922); -if (x_4044 == 0) -{ -return x_3922; -} -else -{ -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_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_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_4052 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_4053 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4052, x_5, x_6); -lean_dec(x_11); -x_4054 = !lean_is_exclusive(x_4053); -if (x_4054 == 0) -{ -return x_4053; -} -else -{ -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_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_4059 = lean_unsigned_to_nat(1u); -x_4060 = lean_nat_add(x_3, x_4059); -lean_dec(x_3); -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; -} -} -} -} -else -{ -uint8_t x_4064; lean_object* x_4065; -lean_dec(x_12); -x_4064 = 1; +lean_ctor_set(x_4038, 0, x_4037); +lean_ctor_set(x_4038, 1, x_4036); +x_4039 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4040 = lean_array_push(x_4039, x_4038); +x_4041 = lean_array_push(x_4040, x_4032); +x_4042 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4043 = lean_array_push(x_4041, x_4042); +x_4044 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4045 = lean_array_push(x_4043, x_4044); lean_inc(x_11); -x_4065 = l_Lean_Syntax_isTermId_x3f(x_11, x_4064); -if (lean_obj_tag(x_4065) == 0) +x_4046 = lean_array_push(x_4030, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4047 = x_11; +} else { + lean_dec_ref(x_11); + x_4047 = lean_box(0); +} +if (lean_is_scalar(x_4047)) { + x_4048 = lean_alloc_ctor(1, 2, 0); +} else { + x_4048 = x_4047; +} +lean_ctor_set(x_4048, 0, x_4037); +lean_ctor_set(x_4048, 1, x_4046); +x_4049 = lean_array_push(x_4030, x_4048); +x_4050 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4051 = lean_array_push(x_4049, x_4050); +x_4052 = lean_array_push(x_4051, x_3980); +x_4053 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4054, 0, x_4053); +lean_ctor_set(x_4054, 1, x_4052); +x_4055 = lean_array_push(x_4030, x_4054); +x_4056 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4056, 0, x_4037); +lean_ctor_set(x_4056, 1, x_4055); +x_4057 = lean_array_push(x_4045, x_4056); +x_4058 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4059 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4059, 0, x_4058); +lean_ctor_set(x_4059, 1, x_4057); +lean_ctor_set(x_3977, 1, x_4059); +x_4060 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4060, 0, x_3977); +lean_ctor_set(x_4060, 1, x_4029); +return x_4060; +} +} +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_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_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; lean_object* x_4074; 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; 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; +x_4061 = lean_ctor_get(x_3977, 0); +x_4062 = lean_ctor_get(x_3977, 1); +lean_inc(x_4062); +lean_inc(x_4061); +lean_dec(x_3977); +x_4063 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3978); 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_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_4064 = lean_ctor_get(x_4063, 1); +lean_inc(x_4064); +lean_dec(x_4063); +x_4065 = l_Lean_Elab_Term_getMainModule___rarg(x_4064); +x_4066 = lean_ctor_get(x_4065, 1); +lean_inc(x_4066); +if (lean_is_exclusive(x_4065)) { + lean_ctor_release(x_4065, 0); + lean_ctor_release(x_4065, 1); + x_4067 = x_4065; +} else { + lean_dec_ref(x_4065); + x_4067 = lean_box(0); +} +x_4068 = l_Array_empty___closed__1; +x_4069 = lean_array_push(x_4068, x_3969); +x_4070 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4071 = lean_array_push(x_4069, x_4070); +x_4072 = l_Lean_mkTermIdFromIdent___closed__2; +x_4073 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4073, 0, x_4072); +lean_ctor_set(x_4073, 1, x_4071); +x_4074 = lean_array_push(x_4068, x_4073); +x_4075 = l_Lean_nullKind___closed__2; +x_4076 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4076, 0, x_4075); +lean_ctor_set(x_4076, 1, x_4074); +x_4077 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4078 = lean_array_push(x_4077, x_4076); +x_4079 = lean_array_push(x_4078, x_4070); +x_4080 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4081 = lean_array_push(x_4079, x_4080); +x_4082 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4083 = lean_array_push(x_4081, x_4082); +lean_inc(x_11); +x_4084 = lean_array_push(x_4068, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4085 = x_11; +} else { + lean_dec_ref(x_11); + x_4085 = lean_box(0); +} +if (lean_is_scalar(x_4085)) { + x_4086 = lean_alloc_ctor(1, 2, 0); +} else { + x_4086 = x_4085; +} +lean_ctor_set(x_4086, 0, x_4075); +lean_ctor_set(x_4086, 1, x_4084); +x_4087 = lean_array_push(x_4068, x_4086); +x_4088 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4089 = lean_array_push(x_4087, x_4088); +x_4090 = lean_array_push(x_4089, x_4062); +x_4091 = l_Lean_Parser_Term_matchAlt___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_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__5; -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_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; +x_4093 = lean_array_push(x_4068, x_4092); +x_4094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4094, 0, x_4075); +lean_ctor_set(x_4094, 1, x_4093); +x_4095 = lean_array_push(x_4083, x_4094); +x_4096 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4097, 0, x_4096); +lean_ctor_set(x_4097, 1, x_4095); +x_4098 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4098, 0, x_4061); +lean_ctor_set(x_4098, 1, x_4097); +if (lean_is_scalar(x_4067)) { + x_4099 = lean_alloc_ctor(0, 2, 0); +} else { + x_4099 = x_4067; } -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__5; -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); -lean_ctor_set(x_4075, 1, x_4126); -lean_ctor_set(x_4081, 0, x_4075); -return x_4081; +lean_ctor_set(x_4099, 0, x_4098); +lean_ctor_set(x_4099, 1, x_4066); +return x_4099; } } else { -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_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_4143 = x_11; -} else { - lean_dec_ref(x_11); - x_4143 = lean_box(0); -} -if (lean_is_scalar(x_4143)) { - x_4144 = lean_alloc_ctor(1, 2, 0); -} else { - x_4144 = x_4143; -} -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__5; -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); -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 -{ -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__5; -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); +uint8_t x_4100; +lean_dec(x_3969); lean_dec(x_11); lean_dec(x_5); -x_4196 = !lean_is_exclusive(x_4074); -if (x_4196 == 0) +x_4100 = !lean_is_exclusive(x_3976); +if (x_4100 == 0) { -return x_4074; +return x_3976; } else { -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; +lean_object* x_4101; lean_object* x_4102; lean_object* x_4103; +x_4101 = lean_ctor_get(x_3976, 0); +x_4102 = lean_ctor_get(x_3976, 1); +lean_inc(x_4102); +lean_inc(x_4101); +lean_dec(x_3976); +x_4103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4103, 0, x_4101); +lean_ctor_set(x_4103, 1, x_4102); +return x_4103; } } } else { -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_4104; lean_object* x_4105; lean_object* x_4106; uint8_t x_4107; +x_4104 = lean_ctor_get(x_3967, 0); +lean_inc(x_4104); +lean_dec(x_3967); +x_4105 = lean_ctor_get(x_4104, 0); +lean_inc(x_4105); +x_4106 = lean_ctor_get(x_4104, 1); +lean_inc(x_4106); +lean_dec(x_4104); +x_4107 = l_Lean_Syntax_isNone(x_4106); +lean_dec(x_4106); +if (x_4107 == 0) { -lean_object* x_4204; lean_object* x_4205; uint8_t x_4206; -lean_dec(x_4201); +lean_object* x_4108; lean_object* x_4109; uint8_t x_4110; +lean_dec(x_4105); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4204 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_4205 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4204, x_5, x_6); +x_4108 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4109 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4108, x_5, x_6); lean_dec(x_11); -x_4206 = !lean_is_exclusive(x_4205); -if (x_4206 == 0) +x_4110 = !lean_is_exclusive(x_4109); +if (x_4110 == 0) { -return x_4205; +return x_4109; } else { -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; +lean_object* x_4111; lean_object* x_4112; lean_object* x_4113; +x_4111 = lean_ctor_get(x_4109, 0); +x_4112 = lean_ctor_get(x_4109, 1); +lean_inc(x_4112); +lean_inc(x_4111); +lean_dec(x_4109); +x_4113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4113, 0, x_4111); +lean_ctor_set(x_4113, 1, x_4112); +return x_4113; } } else { -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_object* x_4114; lean_object* x_4115; lean_object* x_4116; lean_object* x_4117; lean_object* x_4118; +x_4114 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4211 = lean_unsigned_to_nat(1u); -x_4212 = lean_nat_add(x_3, x_4211); +x_4115 = lean_unsigned_to_nat(1u); +x_4116 = lean_nat_add(x_3, x_4115); lean_dec(x_3); -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; +x_4117 = l_Lean_Elab_Term_mkExplicitBinder(x_4105, x_4114); +x_4118 = lean_array_push(x_4, x_4117); +x_3 = x_4116; +x_4 = x_4118; +goto _start; +} +} +} +} +else +{ +uint8_t x_4120; lean_object* x_4121; +lean_dec(x_12); +x_4120 = 1; +lean_inc(x_11); +x_4121 = l_Lean_Syntax_isTermId_x3f(x_11, x_4120); +if (lean_obj_tag(x_4121) == 0) +{ +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; +x_4122 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4123 = lean_ctor_get(x_4122, 0); +lean_inc(x_4123); +x_4124 = lean_ctor_get(x_4122, 1); +lean_inc(x_4124); +lean_dec(x_4122); +x_4125 = lean_unsigned_to_nat(1u); +x_4126 = lean_nat_add(x_3, x_4125); +lean_dec(x_3); +x_4127 = l_Lean_mkHole(x_11); +lean_inc(x_4123); +x_4128 = l_Lean_Elab_Term_mkExplicitBinder(x_4123, x_4127); +x_4129 = lean_array_push(x_4, x_4128); +lean_inc(x_5); +x_4130 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4126, x_4129, x_5, x_4124); +if (lean_obj_tag(x_4130) == 0) +{ +lean_object* x_4131; lean_object* x_4132; uint8_t x_4133; +x_4131 = lean_ctor_get(x_4130, 0); +lean_inc(x_4131); +x_4132 = lean_ctor_get(x_4130, 1); +lean_inc(x_4132); +lean_dec(x_4130); +x_4133 = !lean_is_exclusive(x_4131); +if (x_4133 == 0) +{ +lean_object* x_4134; lean_object* x_4135; lean_object* x_4136; lean_object* x_4137; uint8_t x_4138; +x_4134 = lean_ctor_get(x_4131, 1); +x_4135 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4132); +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_is_exclusive(x_4137); +if (x_4138 == 0) +{ +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; uint8_t x_4157; +x_4139 = lean_ctor_get(x_4137, 0); +lean_dec(x_4139); +x_4140 = l_Array_empty___closed__1; +x_4141 = lean_array_push(x_4140, x_4123); +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); +x_4154 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4155 = lean_array_push(x_4153, x_4154); +lean_inc(x_11); +x_4156 = lean_array_push(x_4140, x_11); +x_4157 = !lean_is_exclusive(x_11); +if (x_4157 == 0) +{ +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_4158 = lean_ctor_get(x_11, 1); +lean_dec(x_4158); +x_4159 = lean_ctor_get(x_11, 0); +lean_dec(x_4159); +lean_ctor_set(x_11, 1, x_4156); +lean_ctor_set(x_11, 0, x_4147); +x_4160 = lean_array_push(x_4140, x_11); +x_4161 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4162 = lean_array_push(x_4160, x_4161); +x_4163 = lean_array_push(x_4162, x_4134); +x_4164 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4165, 0, x_4164); +lean_ctor_set(x_4165, 1, x_4163); +x_4166 = lean_array_push(x_4140, x_4165); +x_4167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4167, 0, x_4147); +lean_ctor_set(x_4167, 1, x_4166); +x_4168 = lean_array_push(x_4155, x_4167); +x_4169 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_4131, 1, x_4170); +lean_ctor_set(x_4137, 0, x_4131); +return x_4137; +} +else +{ +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_dec(x_11); +x_4171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4171, 0, x_4147); +lean_ctor_set(x_4171, 1, x_4156); +x_4172 = lean_array_push(x_4140, x_4171); +x_4173 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4174 = lean_array_push(x_4172, x_4173); +x_4175 = lean_array_push(x_4174, x_4134); +x_4176 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4177, 0, x_4176); +lean_ctor_set(x_4177, 1, x_4175); +x_4178 = lean_array_push(x_4140, x_4177); +x_4179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4179, 0, x_4147); +lean_ctor_set(x_4179, 1, x_4178); +x_4180 = lean_array_push(x_4155, x_4179); +x_4181 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4182, 0, x_4181); +lean_ctor_set(x_4182, 1, x_4180); +lean_ctor_set(x_4131, 1, x_4182); +lean_ctor_set(x_4137, 0, x_4131); +return x_4137; +} +} +else +{ +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; lean_object* x_4196; lean_object* x_4197; lean_object* x_4198; lean_object* x_4199; lean_object* x_4200; lean_object* x_4201; lean_object* x_4202; lean_object* x_4203; lean_object* x_4204; lean_object* x_4205; lean_object* x_4206; lean_object* x_4207; lean_object* x_4208; lean_object* x_4209; lean_object* x_4210; lean_object* x_4211; lean_object* x_4212; lean_object* x_4213; lean_object* x_4214; +x_4183 = lean_ctor_get(x_4137, 1); +lean_inc(x_4183); +lean_dec(x_4137); +x_4184 = l_Array_empty___closed__1; +x_4185 = lean_array_push(x_4184, x_4123); +x_4186 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4187 = lean_array_push(x_4185, x_4186); +x_4188 = l_Lean_mkTermIdFromIdent___closed__2; +x_4189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4189, 0, x_4188); +lean_ctor_set(x_4189, 1, x_4187); +x_4190 = lean_array_push(x_4184, x_4189); +x_4191 = l_Lean_nullKind___closed__2; +x_4192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4192, 0, x_4191); +lean_ctor_set(x_4192, 1, x_4190); +x_4193 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4194 = lean_array_push(x_4193, x_4192); +x_4195 = lean_array_push(x_4194, x_4186); +x_4196 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4197 = lean_array_push(x_4195, x_4196); +x_4198 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4199 = lean_array_push(x_4197, x_4198); +lean_inc(x_11); +x_4200 = lean_array_push(x_4184, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4201 = x_11; +} else { + lean_dec_ref(x_11); + x_4201 = lean_box(0); +} +if (lean_is_scalar(x_4201)) { + x_4202 = lean_alloc_ctor(1, 2, 0); +} else { + x_4202 = x_4201; +} +lean_ctor_set(x_4202, 0, x_4191); +lean_ctor_set(x_4202, 1, x_4200); +x_4203 = lean_array_push(x_4184, x_4202); +x_4204 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4205 = lean_array_push(x_4203, x_4204); +x_4206 = lean_array_push(x_4205, x_4134); +x_4207 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4208, 0, x_4207); +lean_ctor_set(x_4208, 1, x_4206); +x_4209 = lean_array_push(x_4184, x_4208); +x_4210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4210, 0, x_4191); +lean_ctor_set(x_4210, 1, x_4209); +x_4211 = lean_array_push(x_4199, x_4210); +x_4212 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4213, 0, x_4212); +lean_ctor_set(x_4213, 1, x_4211); +lean_ctor_set(x_4131, 1, x_4213); +x_4214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4214, 0, x_4131); +lean_ctor_set(x_4214, 1, x_4183); +return x_4214; +} +} +else +{ +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; lean_object* x_4225; 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; 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_object* x_4253; +x_4215 = lean_ctor_get(x_4131, 0); +x_4216 = lean_ctor_get(x_4131, 1); +lean_inc(x_4216); +lean_inc(x_4215); +lean_dec(x_4131); +x_4217 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4132); +lean_dec(x_5); +x_4218 = lean_ctor_get(x_4217, 1); +lean_inc(x_4218); +lean_dec(x_4217); +x_4219 = l_Lean_Elab_Term_getMainModule___rarg(x_4218); +x_4220 = lean_ctor_get(x_4219, 1); +lean_inc(x_4220); +if (lean_is_exclusive(x_4219)) { + lean_ctor_release(x_4219, 0); + lean_ctor_release(x_4219, 1); + x_4221 = x_4219; +} else { + lean_dec_ref(x_4219); + x_4221 = lean_box(0); +} +x_4222 = l_Array_empty___closed__1; +x_4223 = lean_array_push(x_4222, x_4123); +x_4224 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4225 = lean_array_push(x_4223, x_4224); +x_4226 = l_Lean_mkTermIdFromIdent___closed__2; +x_4227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4227, 0, x_4226); +lean_ctor_set(x_4227, 1, x_4225); +x_4228 = lean_array_push(x_4222, x_4227); +x_4229 = l_Lean_nullKind___closed__2; +x_4230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4230, 0, x_4229); +lean_ctor_set(x_4230, 1, x_4228); +x_4231 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4232 = lean_array_push(x_4231, x_4230); +x_4233 = lean_array_push(x_4232, x_4224); +x_4234 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4235 = lean_array_push(x_4233, x_4234); +x_4236 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4237 = lean_array_push(x_4235, x_4236); +lean_inc(x_11); +x_4238 = lean_array_push(x_4222, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4239 = x_11; +} else { + lean_dec_ref(x_11); + x_4239 = lean_box(0); +} +if (lean_is_scalar(x_4239)) { + x_4240 = lean_alloc_ctor(1, 2, 0); +} else { + x_4240 = x_4239; +} +lean_ctor_set(x_4240, 0, x_4229); +lean_ctor_set(x_4240, 1, x_4238); +x_4241 = lean_array_push(x_4222, x_4240); +x_4242 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4243 = lean_array_push(x_4241, x_4242); +x_4244 = lean_array_push(x_4243, x_4216); +x_4245 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4246, 0, x_4245); +lean_ctor_set(x_4246, 1, x_4244); +x_4247 = lean_array_push(x_4222, x_4246); +x_4248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4248, 0, x_4229); +lean_ctor_set(x_4248, 1, x_4247); +x_4249 = lean_array_push(x_4237, x_4248); +x_4250 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4251, 0, x_4250); +lean_ctor_set(x_4251, 1, x_4249); +x_4252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4252, 0, x_4215); +lean_ctor_set(x_4252, 1, x_4251); +if (lean_is_scalar(x_4221)) { + x_4253 = lean_alloc_ctor(0, 2, 0); +} else { + x_4253 = x_4221; +} +lean_ctor_set(x_4253, 0, x_4252); +lean_ctor_set(x_4253, 1, x_4220); +return x_4253; +} +} +else +{ +uint8_t x_4254; +lean_dec(x_4123); +lean_dec(x_11); +lean_dec(x_5); +x_4254 = !lean_is_exclusive(x_4130); +if (x_4254 == 0) +{ +return x_4130; +} +else +{ +lean_object* x_4255; lean_object* x_4256; lean_object* x_4257; +x_4255 = lean_ctor_get(x_4130, 0); +x_4256 = lean_ctor_get(x_4130, 1); +lean_inc(x_4256); +lean_inc(x_4255); +lean_dec(x_4130); +x_4257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4257, 0, x_4255); +lean_ctor_set(x_4257, 1, x_4256); +return x_4257; +} +} +} +else +{ +lean_object* x_4258; lean_object* x_4259; lean_object* x_4260; uint8_t x_4261; +x_4258 = lean_ctor_get(x_4121, 0); +lean_inc(x_4258); +lean_dec(x_4121); +x_4259 = lean_ctor_get(x_4258, 0); +lean_inc(x_4259); +x_4260 = lean_ctor_get(x_4258, 1); +lean_inc(x_4260); +lean_dec(x_4258); +x_4261 = l_Lean_Syntax_isNone(x_4260); +lean_dec(x_4260); +if (x_4261 == 0) +{ +lean_object* x_4262; lean_object* x_4263; uint8_t x_4264; +lean_dec(x_4259); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_4262 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4263 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4262, x_5, x_6); +lean_dec(x_11); +x_4264 = !lean_is_exclusive(x_4263); +if (x_4264 == 0) +{ +return x_4263; +} +else +{ +lean_object* x_4265; lean_object* x_4266; lean_object* x_4267; +x_4265 = lean_ctor_get(x_4263, 0); +x_4266 = lean_ctor_get(x_4263, 1); +lean_inc(x_4266); +lean_inc(x_4265); +lean_dec(x_4263); +x_4267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4267, 0, x_4265); +lean_ctor_set(x_4267, 1, x_4266); +return x_4267; +} +} +else +{ +lean_object* x_4268; lean_object* x_4269; lean_object* x_4270; lean_object* x_4271; lean_object* x_4272; +x_4268 = l_Lean_mkHole(x_11); +lean_dec(x_11); +x_4269 = lean_unsigned_to_nat(1u); +x_4270 = lean_nat_add(x_3, x_4269); +lean_dec(x_3); +x_4271 = l_Lean_Elab_Term_mkExplicitBinder(x_4259, x_4268); +x_4272 = lean_array_push(x_4, x_4271); +x_3 = x_4270; +x_4 = x_4272; goto _start; } } @@ -16147,681 +16232,686 @@ goto _start; } case 2: { -uint8_t x_4216; lean_object* x_4217; -x_4216 = 1; +uint8_t x_4274; lean_object* x_4275; +x_4274 = 1; lean_inc(x_11); -x_4217 = l_Lean_Syntax_isTermId_x3f(x_11, x_4216); -if (lean_obj_tag(x_4217) == 0) +x_4275 = l_Lean_Syntax_isTermId_x3f(x_11, x_4274); +if (lean_obj_tag(x_4275) == 0) { -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_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; lean_object* x_4284; +x_4276 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4277 = lean_ctor_get(x_4276, 0); +lean_inc(x_4277); +x_4278 = lean_ctor_get(x_4276, 1); +lean_inc(x_4278); +lean_dec(x_4276); +x_4279 = lean_unsigned_to_nat(1u); +x_4280 = lean_nat_add(x_3, x_4279); lean_dec(x_3); -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); +x_4281 = l_Lean_mkHole(x_11); +lean_inc(x_4277); +x_4282 = l_Lean_Elab_Term_mkExplicitBinder(x_4277, x_4281); +x_4283 = lean_array_push(x_4, x_4282); lean_inc(x_5); -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) +x_4284 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4280, x_4283, x_5, x_4278); +if (lean_obj_tag(x_4284) == 0) { -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_4229 = !lean_is_exclusive(x_4227); -if (x_4229 == 0) +lean_object* x_4285; lean_object* x_4286; uint8_t x_4287; +x_4285 = lean_ctor_get(x_4284, 0); +lean_inc(x_4285); +x_4286 = lean_ctor_get(x_4284, 1); +lean_inc(x_4286); +lean_dec(x_4284); +x_4287 = !lean_is_exclusive(x_4285); +if (x_4287 == 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_object* x_4288; lean_object* x_4289; lean_object* x_4290; lean_object* x_4291; uint8_t x_4292; +x_4288 = lean_ctor_get(x_4285, 1); +x_4289 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4286); 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) +x_4290 = lean_ctor_get(x_4289, 1); +lean_inc(x_4290); +lean_dec(x_4289); +x_4291 = l_Lean_Elab_Term_getMainModule___rarg(x_4290); +x_4292 = !lean_is_exclusive(x_4291); +if (x_4292 == 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_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; uint8_t x_4311; +x_4293 = lean_ctor_get(x_4291, 0); +lean_dec(x_4293); +x_4294 = l_Array_empty___closed__1; +x_4295 = lean_array_push(x_4294, x_4277); +x_4296 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4297 = lean_array_push(x_4295, x_4296); +x_4298 = l_Lean_mkTermIdFromIdent___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 = lean_array_push(x_4294, x_4299); +x_4301 = l_Lean_nullKind___closed__2; +x_4302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4302, 0, x_4301); +lean_ctor_set(x_4302, 1, x_4300); +x_4303 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4304 = lean_array_push(x_4303, x_4302); +x_4305 = lean_array_push(x_4304, x_4296); +x_4306 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4307 = lean_array_push(x_4305, x_4306); +x_4308 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4309 = lean_array_push(x_4307, x_4308); lean_inc(x_11); -x_4250 = lean_array_push(x_4236, x_11); -x_4251 = !lean_is_exclusive(x_11); -if (x_4251 == 0) +x_4310 = lean_array_push(x_4294, x_11); +x_4311 = !lean_is_exclusive(x_11); +if (x_4311 == 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_4250); -lean_ctor_set(x_11, 0, x_4243); -x_4254 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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 = 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_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; -} -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__5; -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_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_11); - x_4295 = lean_box(0); -} -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 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__5; -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 -{ -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_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; +x_4312 = lean_ctor_get(x_11, 1); 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_4313 = lean_ctor_get(x_11, 0); +lean_dec(x_4313); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 1, x_4310); +lean_ctor_set(x_11, 0, x_4301); +x_4314 = lean_array_push(x_4294, x_11); +x_4315 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4316 = lean_array_push(x_4314, x_4315); +x_4317 = lean_array_push(x_4316, x_4288); +x_4318 = l_Lean_Parser_Term_matchAlt___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_array_push(x_4294, x_4319); +x_4321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4321, 0, x_4301); +lean_ctor_set(x_4321, 1, x_4320); +x_4322 = lean_array_push(x_4309, x_4321); +x_4323 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4324, 0, x_4323); +lean_ctor_set(x_4324, 1, x_4322); +lean_ctor_set(x_4285, 1, x_4324); +lean_ctor_set(x_4291, 0, x_4285); +return x_4291; } -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; +else +{ +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_dec(x_11); 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_ctor_set(x_4325, 0, x_4301); +lean_ctor_set(x_4325, 1, x_4310); +x_4326 = lean_array_push(x_4294, x_4325); +x_4327 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4328 = lean_array_push(x_4326, x_4327); +x_4329 = lean_array_push(x_4328, x_4288); +x_4330 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4331, 0, x_4330); +lean_ctor_set(x_4331, 1, x_4329); +x_4332 = lean_array_push(x_4294, x_4331); +x_4333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4333, 0, x_4301); +lean_ctor_set(x_4333, 1, x_4332); +x_4334 = lean_array_push(x_4309, x_4333); +x_4335 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4336, 0, x_4335); +lean_ctor_set(x_4336, 1, x_4334); +lean_ctor_set(x_4285, 1, x_4336); +lean_ctor_set(x_4291, 0, x_4285); +return x_4291; +} +} +else +{ +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; lean_object* x_4348; lean_object* x_4349; lean_object* x_4350; lean_object* x_4351; lean_object* x_4352; lean_object* x_4353; lean_object* x_4354; lean_object* x_4355; lean_object* x_4356; lean_object* x_4357; lean_object* x_4358; lean_object* x_4359; 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; +x_4337 = lean_ctor_get(x_4291, 1); +lean_inc(x_4337); +lean_dec(x_4291); +x_4338 = l_Array_empty___closed__1; +x_4339 = lean_array_push(x_4338, x_4277); +x_4340 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4341 = lean_array_push(x_4339, x_4340); +x_4342 = l_Lean_mkTermIdFromIdent___closed__2; +x_4343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4343, 0, x_4342); +lean_ctor_set(x_4343, 1, x_4341); +x_4344 = lean_array_push(x_4338, x_4343); +x_4345 = l_Lean_nullKind___closed__2; +x_4346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4346, 0, x_4345); +lean_ctor_set(x_4346, 1, x_4344); +x_4347 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4348 = lean_array_push(x_4347, x_4346); +x_4349 = lean_array_push(x_4348, x_4340); +x_4350 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4351 = lean_array_push(x_4349, x_4350); +x_4352 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4353 = lean_array_push(x_4351, x_4352); lean_inc(x_11); -x_4331 = lean_array_push(x_4317, x_11); +x_4354 = lean_array_push(x_4338, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_4332 = x_11; + x_4355 = x_11; } else { lean_dec_ref(x_11); - x_4332 = lean_box(0); + x_4355 = lean_box(0); } -if (lean_is_scalar(x_4332)) { - x_4333 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_4355)) { + x_4356 = lean_alloc_ctor(1, 2, 0); } else { - x_4333 = x_4332; - lean_ctor_set_tag(x_4333, 1); + x_4356 = x_4355; + lean_ctor_set_tag(x_4356, 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__5; -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; +lean_ctor_set(x_4356, 0, x_4345); +lean_ctor_set(x_4356, 1, x_4354); +x_4357 = lean_array_push(x_4338, x_4356); +x_4358 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4359 = lean_array_push(x_4357, x_4358); +x_4360 = lean_array_push(x_4359, x_4288); +x_4361 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4362, 0, x_4361); +lean_ctor_set(x_4362, 1, x_4360); +x_4363 = lean_array_push(x_4338, x_4362); +x_4364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4364, 0, x_4345); +lean_ctor_set(x_4364, 1, x_4363); +x_4365 = lean_array_push(x_4353, x_4364); +x_4366 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4367, 0, x_4366); +lean_ctor_set(x_4367, 1, x_4365); +lean_ctor_set(x_4285, 1, x_4367); +x_4368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4368, 0, x_4285); +lean_ctor_set(x_4368, 1, x_4337); +return x_4368; } } else { -uint8_t x_4348; -lean_dec(x_4219); +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; 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; +x_4369 = lean_ctor_get(x_4285, 0); +x_4370 = lean_ctor_get(x_4285, 1); +lean_inc(x_4370); +lean_inc(x_4369); +lean_dec(x_4285); +x_4371 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4286); +lean_dec(x_5); +x_4372 = lean_ctor_get(x_4371, 1); +lean_inc(x_4372); +lean_dec(x_4371); +x_4373 = l_Lean_Elab_Term_getMainModule___rarg(x_4372); +x_4374 = lean_ctor_get(x_4373, 1); +lean_inc(x_4374); +if (lean_is_exclusive(x_4373)) { + lean_ctor_release(x_4373, 0); + lean_ctor_release(x_4373, 1); + x_4375 = x_4373; +} else { + lean_dec_ref(x_4373); + x_4375 = lean_box(0); +} +x_4376 = l_Array_empty___closed__1; +x_4377 = lean_array_push(x_4376, x_4277); +x_4378 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4379 = lean_array_push(x_4377, x_4378); +x_4380 = l_Lean_mkTermIdFromIdent___closed__2; +x_4381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4381, 0, x_4380); +lean_ctor_set(x_4381, 1, x_4379); +x_4382 = lean_array_push(x_4376, x_4381); +x_4383 = l_Lean_nullKind___closed__2; +x_4384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4384, 0, x_4383); +lean_ctor_set(x_4384, 1, x_4382); +x_4385 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4386 = lean_array_push(x_4385, x_4384); +x_4387 = lean_array_push(x_4386, x_4378); +x_4388 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4389 = lean_array_push(x_4387, x_4388); +x_4390 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4391 = lean_array_push(x_4389, x_4390); +lean_inc(x_11); +x_4392 = lean_array_push(x_4376, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4393 = x_11; +} else { + lean_dec_ref(x_11); + x_4393 = lean_box(0); +} +if (lean_is_scalar(x_4393)) { + x_4394 = lean_alloc_ctor(1, 2, 0); +} else { + x_4394 = x_4393; + lean_ctor_set_tag(x_4394, 1); +} +lean_ctor_set(x_4394, 0, x_4383); +lean_ctor_set(x_4394, 1, x_4392); +x_4395 = lean_array_push(x_4376, x_4394); +x_4396 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4397 = lean_array_push(x_4395, x_4396); +x_4398 = lean_array_push(x_4397, x_4370); +x_4399 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4400, 0, x_4399); +lean_ctor_set(x_4400, 1, x_4398); +x_4401 = lean_array_push(x_4376, x_4400); +x_4402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4402, 0, x_4383); +lean_ctor_set(x_4402, 1, x_4401); +x_4403 = lean_array_push(x_4391, x_4402); +x_4404 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4405, 0, x_4404); +lean_ctor_set(x_4405, 1, x_4403); +x_4406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4406, 0, x_4369); +lean_ctor_set(x_4406, 1, x_4405); +if (lean_is_scalar(x_4375)) { + x_4407 = lean_alloc_ctor(0, 2, 0); +} else { + x_4407 = x_4375; +} +lean_ctor_set(x_4407, 0, x_4406); +lean_ctor_set(x_4407, 1, x_4374); +return x_4407; +} +} +else +{ +uint8_t x_4408; +lean_dec(x_4277); lean_dec(x_11); lean_dec(x_5); -x_4348 = !lean_is_exclusive(x_4226); -if (x_4348 == 0) +x_4408 = !lean_is_exclusive(x_4284); +if (x_4408 == 0) { -return x_4226; +return x_4284; } else { -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; +lean_object* x_4409; lean_object* x_4410; lean_object* x_4411; +x_4409 = lean_ctor_get(x_4284, 0); +x_4410 = lean_ctor_get(x_4284, 1); +lean_inc(x_4410); +lean_inc(x_4409); +lean_dec(x_4284); +x_4411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4411, 0, x_4409); +lean_ctor_set(x_4411, 1, x_4410); +return x_4411; } } } else { -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_4412; lean_object* x_4413; lean_object* x_4414; uint8_t x_4415; +x_4412 = lean_ctor_get(x_4275, 0); +lean_inc(x_4412); +lean_dec(x_4275); +x_4413 = lean_ctor_get(x_4412, 0); +lean_inc(x_4413); +x_4414 = lean_ctor_get(x_4412, 1); +lean_inc(x_4414); +lean_dec(x_4412); +x_4415 = l_Lean_Syntax_isNone(x_4414); +lean_dec(x_4414); +if (x_4415 == 0) { -lean_object* x_4356; lean_object* x_4357; uint8_t x_4358; -lean_dec(x_4353); +lean_object* x_4416; lean_object* x_4417; uint8_t x_4418; +lean_dec(x_4413); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4356 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_4357 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4356, x_5, x_6); +x_4416 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4417 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4416, x_5, x_6); lean_dec(x_11); -x_4358 = !lean_is_exclusive(x_4357); -if (x_4358 == 0) +x_4418 = !lean_is_exclusive(x_4417); +if (x_4418 == 0) { -return x_4357; +return x_4417; } else { -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; +lean_object* x_4419; lean_object* x_4420; lean_object* x_4421; +x_4419 = lean_ctor_get(x_4417, 0); +x_4420 = lean_ctor_get(x_4417, 1); +lean_inc(x_4420); +lean_inc(x_4419); +lean_dec(x_4417); +x_4421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4421, 0, x_4419); +lean_ctor_set(x_4421, 1, x_4420); +return x_4421; } } else { -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_object* x_4422; lean_object* x_4423; lean_object* x_4424; lean_object* x_4425; lean_object* x_4426; +x_4422 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4363 = lean_unsigned_to_nat(1u); -x_4364 = lean_nat_add(x_3, x_4363); +x_4423 = lean_unsigned_to_nat(1u); +x_4424 = lean_nat_add(x_3, x_4423); lean_dec(x_3); -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; +x_4425 = l_Lean_Elab_Term_mkExplicitBinder(x_4413, x_4422); +x_4426 = lean_array_push(x_4, x_4425); +x_3 = x_4424; +x_4 = x_4426; goto _start; } } } default: { -uint8_t x_4368; lean_object* x_4369; -x_4368 = 1; +uint8_t x_4428; lean_object* x_4429; +x_4428 = 1; lean_inc(x_11); -x_4369 = l_Lean_Syntax_isTermId_x3f(x_11, x_4368); -if (lean_obj_tag(x_4369) == 0) +x_4429 = l_Lean_Syntax_isTermId_x3f(x_11, x_4428); +if (lean_obj_tag(x_4429) == 0) { -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_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; +x_4430 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4431 = lean_ctor_get(x_4430, 0); +lean_inc(x_4431); +x_4432 = lean_ctor_get(x_4430, 1); +lean_inc(x_4432); +lean_dec(x_4430); +x_4433 = lean_unsigned_to_nat(1u); +x_4434 = lean_nat_add(x_3, x_4433); lean_dec(x_3); -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); +x_4435 = l_Lean_mkHole(x_11); +lean_inc(x_4431); +x_4436 = l_Lean_Elab_Term_mkExplicitBinder(x_4431, x_4435); +x_4437 = lean_array_push(x_4, x_4436); lean_inc(x_5); -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) +x_4438 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4434, x_4437, x_5, x_4432); +if (lean_obj_tag(x_4438) == 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_4439; lean_object* x_4440; uint8_t x_4441; +x_4439 = lean_ctor_get(x_4438, 0); +lean_inc(x_4439); +x_4440 = lean_ctor_get(x_4438, 1); +lean_inc(x_4440); +lean_dec(x_4438); +x_4441 = !lean_is_exclusive(x_4439); +if (x_4441 == 0) { -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_object* x_4442; lean_object* x_4443; lean_object* x_4444; lean_object* x_4445; uint8_t x_4446; +x_4442 = lean_ctor_get(x_4439, 1); +x_4443 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4440); lean_dec(x_5); -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) +x_4444 = lean_ctor_get(x_4443, 1); +lean_inc(x_4444); +lean_dec(x_4443); +x_4445 = l_Lean_Elab_Term_getMainModule___rarg(x_4444); +x_4446 = !lean_is_exclusive(x_4445); +if (x_4446 == 0) { -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__5; -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_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_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__5; -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_4424); -lean_ctor_set(x_4441, 1, x_4440); -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); +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; +x_4447 = lean_ctor_get(x_4445, 0); +lean_dec(x_4447); +x_4448 = l_Array_empty___closed__1; +x_4449 = lean_array_push(x_4448, x_4431); +x_4450 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4451 = lean_array_push(x_4449, x_4450); +x_4452 = l_Lean_mkTermIdFromIdent___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_array_push(x_4448, x_4453); +x_4455 = l_Lean_nullKind___closed__2; +x_4456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4456, 0, x_4455); +lean_ctor_set(x_4456, 1, x_4454); +x_4457 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4458 = lean_array_push(x_4457, x_4456); +x_4459 = lean_array_push(x_4458, x_4450); +x_4460 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4461 = lean_array_push(x_4459, x_4460); +x_4462 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4463 = lean_array_push(x_4461, x_4462); +x_4464 = lean_array_push(x_4448, x_11); +x_4465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4465, 0, x_4455); +lean_ctor_set(x_4465, 1, x_4464); +x_4466 = lean_array_push(x_4448, x_4465); +x_4467 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4468 = lean_array_push(x_4466, x_4467); +x_4469 = lean_array_push(x_4468, x_4442); +x_4470 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4471, 0, x_4470); +lean_ctor_set(x_4471, 1, x_4469); +x_4472 = lean_array_push(x_4448, x_4471); +x_4473 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4473, 0, x_4455); +lean_ctor_set(x_4473, 1, x_4472); +x_4474 = lean_array_push(x_4463, x_4473); +x_4475 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4476, 0, x_4475); +lean_ctor_set(x_4476, 1, x_4474); +lean_ctor_set(x_4439, 1, x_4476); +lean_ctor_set(x_4445, 0, x_4439); return x_4445; } +else +{ +lean_object* x_4477; lean_object* x_4478; lean_object* x_4479; lean_object* x_4480; lean_object* x_4481; lean_object* x_4482; lean_object* x_4483; lean_object* x_4484; lean_object* x_4485; lean_object* x_4486; lean_object* x_4487; lean_object* x_4488; lean_object* x_4489; lean_object* x_4490; lean_object* x_4491; lean_object* x_4492; lean_object* x_4493; lean_object* x_4494; lean_object* x_4495; lean_object* x_4496; lean_object* x_4497; lean_object* x_4498; lean_object* x_4499; lean_object* x_4500; lean_object* x_4501; lean_object* x_4502; lean_object* x_4503; lean_object* x_4504; lean_object* x_4505; lean_object* x_4506; lean_object* x_4507; +x_4477 = lean_ctor_get(x_4445, 1); +lean_inc(x_4477); +lean_dec(x_4445); +x_4478 = l_Array_empty___closed__1; +x_4479 = lean_array_push(x_4478, x_4431); +x_4480 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4481 = lean_array_push(x_4479, x_4480); +x_4482 = l_Lean_mkTermIdFromIdent___closed__2; +x_4483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4483, 0, x_4482); +lean_ctor_set(x_4483, 1, x_4481); +x_4484 = lean_array_push(x_4478, x_4483); +x_4485 = l_Lean_nullKind___closed__2; +x_4486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4486, 0, x_4485); +lean_ctor_set(x_4486, 1, x_4484); +x_4487 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4488 = lean_array_push(x_4487, x_4486); +x_4489 = lean_array_push(x_4488, x_4480); +x_4490 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4491 = lean_array_push(x_4489, x_4490); +x_4492 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4493 = lean_array_push(x_4491, x_4492); +x_4494 = lean_array_push(x_4478, x_11); +x_4495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4495, 0, x_4485); +lean_ctor_set(x_4495, 1, x_4494); +x_4496 = lean_array_push(x_4478, x_4495); +x_4497 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4498 = lean_array_push(x_4496, x_4497); +x_4499 = lean_array_push(x_4498, x_4442); +x_4500 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4501, 0, x_4500); +lean_ctor_set(x_4501, 1, x_4499); +x_4502 = lean_array_push(x_4478, x_4501); +x_4503 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4503, 0, x_4485); +lean_ctor_set(x_4503, 1, x_4502); +x_4504 = lean_array_push(x_4493, x_4503); +x_4505 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4506, 0, x_4505); +lean_ctor_set(x_4506, 1, x_4504); +lean_ctor_set(x_4439, 1, x_4506); +x_4507 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4507, 0, x_4439); +lean_ctor_set(x_4507, 1, x_4477); +return x_4507; +} } else { -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_object* x_4508; lean_object* x_4509; lean_object* x_4510; lean_object* x_4511; lean_object* x_4512; lean_object* x_4513; lean_object* x_4514; lean_object* x_4515; lean_object* x_4516; lean_object* x_4517; lean_object* x_4518; lean_object* x_4519; lean_object* x_4520; lean_object* x_4521; lean_object* x_4522; lean_object* x_4523; lean_object* x_4524; lean_object* x_4525; lean_object* x_4526; lean_object* x_4527; lean_object* x_4528; lean_object* x_4529; lean_object* x_4530; lean_object* x_4531; lean_object* x_4532; lean_object* x_4533; lean_object* x_4534; lean_object* x_4535; lean_object* x_4536; lean_object* x_4537; lean_object* x_4538; lean_object* x_4539; lean_object* x_4540; lean_object* x_4541; lean_object* x_4542; lean_object* x_4543; lean_object* x_4544; lean_object* x_4545; +x_4508 = lean_ctor_get(x_4439, 0); +x_4509 = lean_ctor_get(x_4439, 1); +lean_inc(x_4509); +lean_inc(x_4508); +lean_dec(x_4439); +x_4510 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4440); 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; +x_4511 = lean_ctor_get(x_4510, 1); +lean_inc(x_4511); +lean_dec(x_4510); +x_4512 = l_Lean_Elab_Term_getMainModule___rarg(x_4511); +x_4513 = lean_ctor_get(x_4512, 1); +lean_inc(x_4513); +if (lean_is_exclusive(x_4512)) { + lean_ctor_release(x_4512, 0); + lean_ctor_release(x_4512, 1); + x_4514 = x_4512; } else { - lean_dec_ref(x_4450); - x_4452 = lean_box(0); + lean_dec_ref(x_4512); + x_4514 = 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__5; -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); +x_4515 = l_Array_empty___closed__1; +x_4516 = lean_array_push(x_4515, x_4431); +x_4517 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4518 = lean_array_push(x_4516, x_4517); +x_4519 = l_Lean_mkTermIdFromIdent___closed__2; +x_4520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4520, 0, x_4519); +lean_ctor_set(x_4520, 1, x_4518); +x_4521 = lean_array_push(x_4515, x_4520); +x_4522 = l_Lean_nullKind___closed__2; +x_4523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4523, 0, x_4522); +lean_ctor_set(x_4523, 1, x_4521); +x_4524 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4525 = lean_array_push(x_4524, x_4523); +x_4526 = lean_array_push(x_4525, x_4517); +x_4527 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4528 = lean_array_push(x_4526, x_4527); +x_4529 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4530 = lean_array_push(x_4528, x_4529); +x_4531 = lean_array_push(x_4515, x_11); +x_4532 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4532, 0, x_4522); +lean_ctor_set(x_4532, 1, x_4531); +x_4533 = lean_array_push(x_4515, x_4532); +x_4534 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4535 = lean_array_push(x_4533, x_4534); +x_4536 = lean_array_push(x_4535, x_4509); +x_4537 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4538 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4538, 0, x_4537); +lean_ctor_set(x_4538, 1, x_4536); +x_4539 = lean_array_push(x_4515, x_4538); +x_4540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4540, 0, x_4522); +lean_ctor_set(x_4540, 1, x_4539); +x_4541 = lean_array_push(x_4530, x_4540); +x_4542 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4543 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4543, 0, x_4542); +lean_ctor_set(x_4543, 1, x_4541); +x_4544 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4544, 0, x_4508); +lean_ctor_set(x_4544, 1, x_4543); +if (lean_is_scalar(x_4514)) { + x_4545 = lean_alloc_ctor(0, 2, 0); } else { - x_4482 = x_4452; + x_4545 = x_4514; } -lean_ctor_set(x_4482, 0, x_4481); -lean_ctor_set(x_4482, 1, x_4451); -return x_4482; +lean_ctor_set(x_4545, 0, x_4544); +lean_ctor_set(x_4545, 1, x_4513); +return x_4545; } } else { -uint8_t x_4483; -lean_dec(x_4371); +uint8_t x_4546; +lean_dec(x_4431); lean_dec(x_11); lean_dec(x_5); -x_4483 = !lean_is_exclusive(x_4378); -if (x_4483 == 0) +x_4546 = !lean_is_exclusive(x_4438); +if (x_4546 == 0) { -return x_4378; +return x_4438; } else { -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; +lean_object* x_4547; lean_object* x_4548; lean_object* x_4549; +x_4547 = lean_ctor_get(x_4438, 0); +x_4548 = lean_ctor_get(x_4438, 1); +lean_inc(x_4548); +lean_inc(x_4547); +lean_dec(x_4438); +x_4549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4549, 0, x_4547); +lean_ctor_set(x_4549, 1, x_4548); +return x_4549; } } } else { -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_4550; lean_object* x_4551; lean_object* x_4552; uint8_t x_4553; +x_4550 = lean_ctor_get(x_4429, 0); +lean_inc(x_4550); +lean_dec(x_4429); +x_4551 = lean_ctor_get(x_4550, 0); +lean_inc(x_4551); +x_4552 = lean_ctor_get(x_4550, 1); +lean_inc(x_4552); +lean_dec(x_4550); +x_4553 = l_Lean_Syntax_isNone(x_4552); +lean_dec(x_4552); +if (x_4553 == 0) { -lean_object* x_4491; lean_object* x_4492; uint8_t x_4493; -lean_dec(x_4488); +lean_object* x_4554; lean_object* x_4555; uint8_t x_4556; +lean_dec(x_4551); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4491 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; -x_4492 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4491, x_5, x_6); +x_4554 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4555 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4554, x_5, x_6); lean_dec(x_11); -x_4493 = !lean_is_exclusive(x_4492); -if (x_4493 == 0) +x_4556 = !lean_is_exclusive(x_4555); +if (x_4556 == 0) { -return x_4492; +return x_4555; } else { -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; +lean_object* x_4557; lean_object* x_4558; lean_object* x_4559; +x_4557 = lean_ctor_get(x_4555, 0); +x_4558 = lean_ctor_get(x_4555, 1); +lean_inc(x_4558); +lean_inc(x_4557); +lean_dec(x_4555); +x_4559 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4559, 0, x_4557); +lean_ctor_set(x_4559, 1, x_4558); +return x_4559; } } else { -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_object* x_4560; lean_object* x_4561; lean_object* x_4562; lean_object* x_4563; lean_object* x_4564; +x_4560 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4498 = lean_unsigned_to_nat(1u); -x_4499 = lean_nat_add(x_3, x_4498); +x_4561 = lean_unsigned_to_nat(1u); +x_4562 = lean_nat_add(x_3, x_4561); lean_dec(x_3); -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; +x_4563 = l_Lean_Elab_Term_mkExplicitBinder(x_4551, x_4560); +x_4564 = lean_array_push(x_4, x_4563); +x_3 = x_4562; +x_4 = x_4564; goto _start; } } @@ -18139,6 +18229,477 @@ lean_dec(x_2); return x_7; } } +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Term_elabLetDecl___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Array_empty___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_let__core___elambda__1___closed__7; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_elabLetDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_elabLetDecl___closed__5; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_53; uint8_t x_54; uint8_t x_55; +x_53 = l_Lean_Parser_Term_let___elambda__1___closed__2; +lean_inc(x_1); +x_54 = l_Lean_Syntax_isOfKind(x_1, x_53); +if (x_54 == 0) +{ +uint8_t x_130; +x_130 = 0; +x_55 = x_130; +goto block_129; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_131 = l_Lean_Syntax_getArgs(x_1); +x_132 = lean_array_get_size(x_131); +lean_dec(x_131); +x_133 = lean_unsigned_to_nat(8u); +x_134 = lean_nat_dec_eq(x_132, x_133); +lean_dec(x_132); +x_55 = x_134; +goto block_129; +} +block_52: +{ +uint8_t x_6; +x_6 = l_coeDecidableEq(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_mkTermIdFromIdent___closed__2; +lean_inc(x_9); +x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); +x_12 = l_coeDecidableEq(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_45; uint8_t x_46; +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_45 = l_Lean_nullKind___closed__2; +lean_inc(x_15); +x_46 = l_Lean_Syntax_isOfKind(x_15, x_45); +if (x_46 == 0) +{ +uint8_t x_47; +lean_dec(x_15); +x_47 = 0; +x_16 = x_47; +goto block_44; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_48 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_49 = lean_array_get_size(x_48); +lean_dec(x_48); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_nat_dec_eq(x_49, x_50); +lean_dec(x_49); +x_16 = x_51; +goto block_44; +} +block_44: +{ +uint8_t x_17; +x_17 = l_coeDecidableEq(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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; uint8_t x_42; lean_object* x_43; +x_19 = lean_unsigned_to_nat(4u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = lean_unsigned_to_nat(6u); +x_22 = l_Lean_Syntax_getArg(x_1, x_21); +lean_dec(x_1); +x_23 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_Syntax_getArg(x_9, x_23); +lean_dec(x_9); +x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Elab_Term_getMainModule___rarg(x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = l_Lean_Elab_Term_elabLetDecl___closed__2; +x_30 = lean_array_push(x_29, x_24); +x_31 = l_Lean_Elab_Term_elabLetDecl___closed__3; +x_32 = lean_array_push(x_30, x_31); +x_33 = lean_array_push(x_32, x_31); +x_34 = l_Lean_Elab_Term_elabLetDecl___closed__4; +x_35 = lean_array_push(x_33, x_34); +x_36 = lean_array_push(x_35, x_20); +x_37 = l_Lean_Elab_Term_elabLetDecl___closed__6; +x_38 = lean_array_push(x_36, x_37); +x_39 = lean_array_push(x_38, x_22); +x_40 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = 1; +x_43 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_42, x_41, x_3, x_28); +return x_43; +} +} +} +} +} +block_129: +{ +uint8_t x_56; +x_56 = l_coeDecidableEq(x_55); +if (x_56 == 0) +{ +if (x_54 == 0) +{ +uint8_t x_57; +x_57 = 0; +x_5 = x_57; +goto block_52; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_58 = l_Lean_Syntax_getArgs(x_1); +x_59 = lean_array_get_size(x_58); +lean_dec(x_58); +x_60 = lean_unsigned_to_nat(7u); +x_61 = lean_nat_dec_eq(x_59, x_60); +lean_dec(x_59); +x_5 = x_61; +goto block_52; +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; +x_62 = lean_unsigned_to_nat(1u); +x_63 = l_Lean_Syntax_getArg(x_1, x_62); +x_64 = l_Lean_identKind___closed__2; +lean_inc(x_63); +x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); +x_66 = l_coeDecidableEq(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec(x_63); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_67 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_103; uint8_t x_104; +x_68 = lean_unsigned_to_nat(2u); +x_69 = l_Lean_Syntax_getArg(x_1, x_68); +x_70 = lean_unsigned_to_nat(3u); +x_71 = l_Lean_Syntax_getArg(x_1, x_70); +x_103 = l_Lean_nullKind___closed__2; +lean_inc(x_71); +x_104 = l_Lean_Syntax_isOfKind(x_71, x_103); +if (x_104 == 0) +{ +uint8_t x_105; +x_105 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_105 == 0) +{ +uint8_t x_106; +x_106 = 0; +x_72 = x_106; +goto block_102; +} +else +{ +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_dec(x_71); +x_107 = lean_unsigned_to_nat(5u); +x_108 = l_Lean_Syntax_getArg(x_1, x_107); +x_109 = lean_unsigned_to_nat(7u); +x_110 = l_Lean_Syntax_getArg(x_1, x_109); +x_111 = l_Lean_Syntax_getArgs(x_69); +lean_dec(x_69); +x_112 = l_Lean_Syntax_getId(x_63); +lean_dec(x_63); +x_113 = l_Lean_mkHole(x_1); +x_114 = l_Lean_Elab_Term_elabLetDeclAux(x_1, x_112, x_111, x_113, x_108, x_110, x_2, x_3, x_4); +lean_dec(x_111); +return x_114; +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; +x_115 = l_Lean_Syntax_getArgs(x_71); +x_116 = lean_array_get_size(x_115); +lean_dec(x_115); +x_117 = lean_unsigned_to_nat(0u); +x_118 = lean_nat_dec_eq(x_116, x_117); +x_119 = l_coeDecidableEq(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +x_120 = lean_nat_dec_eq(x_116, x_62); +lean_dec(x_116); +x_72 = x_120; +goto block_102; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_116); +lean_dec(x_71); +x_121 = lean_unsigned_to_nat(5u); +x_122 = l_Lean_Syntax_getArg(x_1, x_121); +x_123 = lean_unsigned_to_nat(7u); +x_124 = l_Lean_Syntax_getArg(x_1, x_123); +x_125 = l_Lean_Syntax_getArgs(x_69); +lean_dec(x_69); +x_126 = l_Lean_Syntax_getId(x_63); +lean_dec(x_63); +x_127 = l_Lean_mkHole(x_1); +x_128 = l_Lean_Elab_Term_elabLetDeclAux(x_1, x_126, x_125, x_127, x_122, x_124, x_2, x_3, x_4); +lean_dec(x_125); +return x_128; +} +} +block_102: +{ +uint8_t x_73; +x_73 = l_coeDecidableEq(x_72); +if (x_73 == 0) +{ +lean_object* x_74; +lean_dec(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_74 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +x_75 = lean_unsigned_to_nat(0u); +x_76 = l_Lean_Syntax_getArg(x_71, x_75); +lean_dec(x_71); +x_77 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +lean_inc(x_76); +x_78 = l_Lean_Syntax_isOfKind(x_76, x_77); +if (x_78 == 0) +{ +uint8_t x_79; +x_79 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_79 == 0) +{ +lean_object* x_80; +lean_dec(x_76); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_80 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_80; +} +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; +x_81 = l_Lean_Syntax_getArg(x_76, x_62); +lean_dec(x_76); +x_82 = lean_unsigned_to_nat(5u); +x_83 = l_Lean_Syntax_getArg(x_1, x_82); +x_84 = lean_unsigned_to_nat(7u); +x_85 = l_Lean_Syntax_getArg(x_1, x_84); +x_86 = l_Lean_Syntax_getArgs(x_69); +lean_dec(x_69); +x_87 = l_Lean_Syntax_getId(x_63); +lean_dec(x_63); +x_88 = l_Lean_Elab_Term_elabLetDeclAux(x_1, x_87, x_86, x_81, x_83, x_85, x_2, x_3, x_4); +lean_dec(x_86); +return x_88; +} +} +else +{ +lean_object* x_89; lean_object* x_90; uint8_t x_91; uint8_t x_92; +x_89 = l_Lean_Syntax_getArgs(x_76); +x_90 = lean_array_get_size(x_89); +lean_dec(x_89); +x_91 = lean_nat_dec_eq(x_90, x_68); +lean_dec(x_90); +x_92 = l_coeDecidableEq(x_91); +if (x_92 == 0) +{ +lean_object* x_93; +lean_dec(x_76); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_93 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_4); +return x_93; +} +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; +x_94 = l_Lean_Syntax_getArg(x_76, x_62); +lean_dec(x_76); +x_95 = lean_unsigned_to_nat(5u); +x_96 = l_Lean_Syntax_getArg(x_1, x_95); +x_97 = lean_unsigned_to_nat(7u); +x_98 = l_Lean_Syntax_getArg(x_1, x_97); +x_99 = l_Lean_Syntax_getArgs(x_69); +lean_dec(x_69); +x_100 = l_Lean_Syntax_getId(x_63); +lean_dec(x_63); +x_101 = l_Lean_Elab_Term_elabLetDeclAux(x_1, x_100, x_99, x_94, x_96, x_98, x_2, x_3, x_4); +lean_dec(x_99); +return x_101; +} +} +} +} +} +} +} +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabLetDecl"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; +x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDecl), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2; +x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3; +x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_object* x_1) { _start: { @@ -18279,6 +18840,8 @@ l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__ lean_mark_persistent(l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__7); l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8 = _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8(); lean_mark_persistent(l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8); +l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9 = _init_l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9); l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2(); @@ -18303,6 +18866,27 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore___closed_ res = l___regBuiltinTermElab_Lean_Elab_Term_elabLetCore(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_elabLetDecl___closed__1 = _init_l_Lean_Elab_Term_elabLetDecl___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__1); +l_Lean_Elab_Term_elabLetDecl___closed__2 = _init_l_Lean_Elab_Term_elabLetDecl___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__2); +l_Lean_Elab_Term_elabLetDecl___closed__3 = _init_l_Lean_Elab_Term_elabLetDecl___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__3); +l_Lean_Elab_Term_elabLetDecl___closed__4 = _init_l_Lean_Elab_Term_elabLetDecl___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__4); +l_Lean_Elab_Term_elabLetDecl___closed__5 = _init_l_Lean_Elab_Term_elabLetDecl___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__5); +l_Lean_Elab_Term_elabLetDecl___closed__6 = _init_l_Lean_Elab_Term_elabLetDecl___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabLetDecl___closed__6); +l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__1); +l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__2); +l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl___closed__3); +res = l___regBuiltinTermElab_Lean_Elab_Term_elabLetDecl(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Init/Lean/Elab/Util.c b/stage0/stdlib/Init/Lean/Elab/Util.c index cb24d03e14..7967a82324 100644 --- a/stage0/stdlib/Init/Lean/Elab/Util.c +++ b/stage0/stdlib/Init/Lean/Elab/Util.c @@ -25,7 +25,6 @@ lean_object* l___private_Init_Lean_Elab_Util_6__ElabAttribute_add___rarg___boxed extern lean_object* l_Lean_Macro_throwUnsupported___closed__1; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_AssocList_contains___main___at_Lean_Elab_ElabFnTable_insert___spec__26___rarg___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_SMap_insert___at_Lean_Elab_ElabFnTable_insert___spec__20___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMacroAttribute(lean_object*); @@ -296,6 +295,7 @@ lean_object* l_Lean_SMap_insert___at_Lean_Elab_ElabFnTable_insert___spec__9(lean lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_mkBuiltinMacroFnTable___spec__3; lean_object* l_mkHashMap___at_Lean_Elab_mkElabAttributeAux___spec__5___rarg(lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* l_Lean_Elab_declareBuiltinMacro___closed__8; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_getMacros___spec__3(lean_object*, size_t, lean_object*); @@ -5859,7 +5859,7 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_25 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +x_25 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_12); diff --git a/stage0/stdlib/Init/Lean/Parser/Command.c b/stage0/stdlib/Init/Lean/Parser/Command.c index 2e4de145b8..0983a3c409 100644 --- a/stage0/stdlib/Init/Lean/Parser/Command.c +++ b/stage0/stdlib/Init/Lean/Parser/Command.c @@ -59,6 +59,7 @@ lean_object* l_Lean_Parser_Command_inductive___elambda__1(lean_object*, lean_obj lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Command_attributes___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stxQuot___closed__8; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Command_declId___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_matchAlt___closed__3; lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__2; lean_object* l_Lean_Parser_Command_extends___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_end___elambda__1(lean_object*, lean_object*, lean_object*); @@ -103,7 +104,6 @@ lean_object* l_Lean_Parser_Command_openHiding; lean_object* l_Lean_Parser_Command_synth___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_declModifiers___closed__8; lean_object* l_Lean_Parser_Command_def___elambda__1___closed__8; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; lean_object* l_Lean_Parser_Command_partial___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_export___closed__8; @@ -652,6 +652,7 @@ lean_object* l_Lean_Parser_Command_abbrev___closed__8; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_classTk___elambda__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_variable___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1(lean_object*, lean_object*, lean_object*); @@ -674,6 +675,7 @@ lean_object* l_Lean_Parser_Command_private___closed__2; lean_object* l_Lean_Parser_Command_open___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_openRenaming___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__12; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Command_declValSimple___closed__2; lean_object* l_Lean_Parser_Command_attributes___closed__4; lean_object* l_Lean_Parser_Command_export; @@ -792,7 +794,6 @@ lean_object* l_Lean_Parser_Command_declVal___closed__3; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_structCtor___closed__5; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_private___closed__4; @@ -833,6 +834,7 @@ lean_object* l_Lean_Parser_Command_attributes___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_declaration___closed__1; lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_inductive___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Command_declValSimple___closed__4; lean_object* l_Lean_Parser_Command_theorem___closed__1; lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__8; @@ -852,7 +854,6 @@ lean_object* l_Lean_Parser_Command_introRule___closed__2; lean_object* l_Lean_Parser_Command_def___closed__1; lean_object* l_Lean_Parser_Command_attrInstance___closed__3; lean_object* l_Lean_Parser_Command_export___elambda__1___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_structure___closed__4; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; @@ -914,7 +915,6 @@ lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__2; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Command_attributes___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_classInductive___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_openRenaming___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_declaration___closed__8; lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4; @@ -947,7 +947,6 @@ lean_object* l_Lean_Parser_Command_structureTk___closed__5; lean_object* l_Lean_Parser_Command_universes___elambda__1___closed__9; extern lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_set__option___closed__1; -extern lean_object* l_Lean_Parser_Term_matchAlt___closed__1; lean_object* l_Lean_Parser_Command_protected___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_introRule___closed__5; lean_object* l_Lean_Parser_Command_set__option___elambda__1___closed__7; @@ -1043,6 +1042,7 @@ lean_object* l_Lean_Parser_Command_init__quot; lean_object* l_Lean_Parser_Command_openRenaming___closed__6; lean_object* l_Lean_Parser_Command_axiom___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_axiom; lean_object* l_Lean_Parser_Command_exit___closed__2; lean_object* l_Lean_Parser_Command_openOnly___closed__4; @@ -1541,7 +1541,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -1796,7 +1796,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_stxQuot___closed__3; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -10269,7 +10269,7 @@ lean_object* x_67; lean_object* x_68; uint8_t x_69; x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); lean_dec(x_66); -x_68 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_68 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_69 = lean_string_dec_eq(x_67, x_68); lean_dec(x_67); if (x_69 == 0) @@ -10370,7 +10370,7 @@ lean_object* x_38; lean_object* x_39; uint8_t x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_39 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_40 = lean_string_dec_eq(x_38, x_39); lean_dec(x_38); if (x_40 == 0) @@ -10471,8 +10471,8 @@ lean_object* _init_l_Lean_Parser_Command_strictInferMod___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -12137,7 +12137,7 @@ lean_object* x_107; lean_object* x_108; uint8_t x_109; x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); lean_dec(x_106); -x_108 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_108 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_109 = lean_string_dec_eq(x_107, x_108); lean_dec(x_107); if (x_109 == 0) @@ -12202,7 +12202,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -12480,7 +12480,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_structExplicitBinder___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -12521,7 +12521,7 @@ lean_object* _init_l_Lean_Parser_Command_structExplicitBinder___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Command_structExplicitBinder___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -14963,7 +14963,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_extends___closed__1; -x_2 = l_Lean_Parser_Term_matchAlt___closed__1; +x_2 = l_Lean_Parser_Term_matchAlt___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -22136,7 +22136,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -22290,7 +22290,7 @@ lean_object* x_76; lean_object* x_77; uint8_t x_78; x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); lean_dec(x_75); -x_77 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_77 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_78 = lean_string_dec_eq(x_76, x_77); lean_dec(x_76); if (x_78 == 0) @@ -22377,7 +22377,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -22386,7 +22386,7 @@ lean_object* _init_l_Lean_Parser_Command_export___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Command_export___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -24084,7 +24084,7 @@ lean_object* x_83; lean_object* x_84; uint8_t x_85; x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); lean_dec(x_82); -x_84 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_84 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_85 = lean_string_dec_eq(x_83, x_84); lean_dec(x_83); if (x_85 == 0) @@ -24201,7 +24201,7 @@ lean_object* x_27; lean_object* x_28; uint8_t x_29; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_28 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_29 = lean_string_dec_eq(x_27, x_28); lean_dec(x_27); if (x_29 == 0) @@ -24360,7 +24360,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_ident___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } diff --git a/stage0/stdlib/Init/Lean/Parser/Level.c b/stage0/stdlib/Init/Lean/Parser/Level.c index a8575a7a5c..bb18c940c0 100644 --- a/stage0/stdlib/Init/Lean/Parser/Level.c +++ b/stage0/stdlib/Init/Lean/Parser/Level.c @@ -29,7 +29,6 @@ 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*); lean_object* l_Lean_Parser_Level_num___elambda__1___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Level_hole___closed__5; lean_object* l_Lean_Parser_Level_hole___closed__3; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Level_max___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,6 +106,7 @@ lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__4; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_paren___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_paren___closed__9; lean_object* l_Lean_Parser_Level_addLit___closed__7; @@ -114,7 +114,6 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__6; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__2; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__2; extern lean_object* l_Lean_Parser_appPrec; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__3; @@ -129,11 +128,11 @@ lean_object* l_Lean_Parser_Level_num; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_max___closed__5; lean_object* l_Lean_Parser_Level_num___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_Level_ident___closed__4; lean_object* l_Lean_Parser_Level_hole___elambda__1___closed__7; @@ -142,7 +141,6 @@ lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Level_hole(lean_object*); lean_object* l_Lean_Parser_Level_hole___closed__1; extern lean_object* l_Lean_Level_LevelToFormat_Result_format___main___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; lean_object* l_Lean_Parser_Level_hole___closed__2; @@ -159,12 +157,14 @@ lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__5; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_imax___closed__1; lean_object* l_Lean_Parser_Level_imax___closed__6; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Level_addLit___closed__4; lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_paren___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Level_imax(lean_object*); lean_object* l_Lean_Parser_Level_imax___closed__4; lean_object* l_Lean_Parser_Level_imax___elambda__1___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Level_paren___closed__8; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Level_hole___closed__4; @@ -265,7 +265,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -285,7 +285,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = l_Lean_Parser_Level_paren___elambda__1___closed__4; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -297,7 +297,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -329,7 +329,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Char_HasRepr___closed__1; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -425,7 +425,7 @@ lean_object* x_60; lean_object* x_61; uint8_t x_62; x_60 = lean_ctor_get(x_59, 1); lean_inc(x_60); lean_dec(x_59); -x_61 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_61 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_62 = lean_string_dec_eq(x_60, x_61); lean_dec(x_60); if (x_62 == 0) @@ -499,7 +499,7 @@ lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_30 = lean_string_dec_eq(x_28, x_29); lean_dec(x_28); if (x_30 == 0) @@ -592,7 +592,7 @@ lean_object* _init_l_Lean_Parser_Level_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_2 = l_Lean_Parser_Level_paren___closed__1; x_3 = l_Lean_Parser_symbolInfo(x_1, x_2); return x_3; @@ -616,7 +616,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_paren___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } diff --git a/stage0/stdlib/Init/Lean/Parser/Parser.c b/stage0/stdlib/Init/Lean/Parser/Parser.c index 909802a0b0..9a2236748d 100644 --- a/stage0/stdlib/Init/Lean/Parser/Parser.c +++ b/stage0/stdlib/Init/Lean/Parser/Parser.c @@ -15,12 +15,14 @@ extern "C" { #endif lean_object* l_Lean_Parser_declareBuiltinParser___closed__9; lean_object* l_Lean_Parser_nonReservedSymbol___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Parser_optionalFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identEq(uint8_t, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_decimalNumberFn___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; lean_object* l_Lean_Syntax_foldArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___boxed(lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1(uint8_t); @@ -32,15 +34,15 @@ extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Parser_charLit___closed__1; lean_object* l_Lean_Parser_andthenInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolAux___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hashOrelse(uint8_t); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__7___rarg(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Parser_manyAux___main___closed__1; extern lean_object* l_Lean_fieldIdxKind; lean_object* l_PersistentHashMap_foldlM___at_Lean_Parser_getSyntaxNodeKinds___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forArgsM___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrec___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareLeadingBuiltinParser___closed__1; uint8_t l_RBNode_isRed___rarg(lean_object*); @@ -48,10 +50,12 @@ lean_object* l_Lean_Parser_andthenFn___boxed(lean_object*); uint8_t l_Lean_Parser_checkTailWs(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_hexNumberFn___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; lean_object* l_Lean_Parser_try(uint8_t, lean_object*); +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1(uint8_t); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; lean_object* l_Lean_Parser_prattParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); @@ -61,12 +65,11 @@ lean_object* l_Lean_Syntax_foldSepRevArgs___rarg(lean_object*, lean_object*, lea extern lean_object* l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_octalNumberFn___spec__3(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserContext(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hashAndthen___boxed(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l_Lean_Parser_optional___boxed(lean_object*, lean_object*); @@ -78,16 +81,16 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_shrinkStack___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(uint8_t); lean_object* l_Lean_Parser_orelseFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object*); lean_object* l_Lean_Parser_decimalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgsM(lean_object*, lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_mkParserExtension___closed__2; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot(uint8_t); @@ -100,10 +103,10 @@ lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1___rarg( 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_Parser_strAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg(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*); extern lean_object* l_List_repr___rarg___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited___rarg(lean_object*); @@ -115,7 +118,6 @@ lean_object* l_List_foldlM___main___at_Lean_Parser_addParserTokens___spec__1(lea lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_many___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_numberFnAux(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_TokenConfig_HasToString___closed__1; lean_object* l_Lean_Parser_lookahead(uint8_t, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,20 +137,21 @@ lean_object* l_Lean_Parser_registerBuiltinParserAttribute___closed__1; lean_object* l_Lean_Parser_nameLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_parserExtension___elambda__1___boxed(lean_object*); lean_object* l_Lean_Syntax_foldSepArgs___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; lean_object* l_Lean_Parser_mkParserExtension___closed__4; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn_u2081___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_matchPrefix___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_octalNumberFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_getTokenTable___boxed(lean_object*); lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldSepBy___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; @@ -156,6 +159,7 @@ lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addParser(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_inhabited; lean_object* l_Lean_Parser_categoryParserFnRef; +lean_object* l_Lean_Parser_pushNone(uint8_t); lean_object* l_Lean_Parser_optionalFn___boxed(lean_object*); lean_object* l_Lean_Parser_longestMatchStep___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_InputContext_inhabited; @@ -175,13 +179,14 @@ lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1___rarg(uint32_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_group(uint8_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_dollarSymbol___closed__1; lean_object* l_Lean_Parser_ident(uint8_t); lean_object* l_Lean_Parser_parserExtension___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_isLitKind(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_whitespace___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_binNumberFn___spec__1(lean_object*, lean_object*, lean_object*); @@ -190,11 +195,11 @@ lean_object* l_Lean_Parser_unquotedSymbolFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenConfig_HasBeq___closed__1; lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__2; lean_object* lean_io_mk_ref(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3; lean_object* l_Lean_Parser_checkColGe(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_dollarSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); uint8_t l_Char_isDigit(uint32_t); +lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserState(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); @@ -205,7 +210,6 @@ lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___rarg(lean_object*, lea lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_8__updateCache(lean_object*, lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Indent___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -213,9 +217,9 @@ lean_object* l_Lean_Parser_nameLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; lean_object* l_Lean_Parser_strLit___boxed(lean_object*); lean_object* l_Lean_Parser_identEqFn___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__9; lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5(lean_object*); +lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(lean_object*); lean_object* l_Lean_Parser_symbolNoWsFn___closed__1; uint8_t l_Lean_isIdBeginEscape(uint32_t); @@ -225,11 +229,9 @@ lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux__ lean_object* l_Lean_Parser_orelseFn(uint8_t); lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Position_Inhabited___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___rarg(lean_object*); lean_object* l_Lean_Parser_symbolNoWsFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbolFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbol___elambda__1___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_try___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__4; @@ -239,7 +241,6 @@ lean_object* l_Lean_Parser_addBuiltinParser(uint8_t, lean_object*, lean_object*, lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1(uint8_t); lean_object* lean_array_get_size(lean_object*); -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_charLitKind___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -281,12 +282,13 @@ lean_object* l_Lean_Syntax_foldSepArgsM___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_identEqFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Syntax_forSepArgsM(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId(uint8_t); extern lean_object* l_Lean_mkAppStx___closed__4; lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___closed__1; lean_object* l_Lean_Syntax_foldSepRevArgs___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId(uint8_t); lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at___private_Init_Lean_Parser_Parser_9__pickNonNone___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAttributeImplOfConstantUnsafe___closed__3; @@ -307,11 +309,15 @@ lean_object* l_Lean_Parser_strLit___closed__1; extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Parser_symbolFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_pushLeading___closed__1; lean_object* l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l_Lean_Parser_charLitFn___rarg___closed__1; lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ident___closed__1; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main(lean_object*, lean_object*, lean_object*); @@ -324,10 +330,8 @@ uint32_t l_Lean_Parser_getNext(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_andthenInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__3; -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserCategory(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_many1Fn(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___boxed(lean_object*); lean_object* l_Lean_Parser_satisfyFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___closed__2; @@ -336,8 +340,11 @@ lean_object* l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(lea lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___rarg___closed__5; lean_object* l_Lean_Parser_identEqFn(uint8_t); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(uint8_t, lean_object*); lean_object* l_Lean_Parser_parserExtension___closed__3; +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(uint8_t); lean_object* l_Lean_Parser_parserExtension___elambda__2___boxed(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1(lean_object*); lean_object* l_Lean_Parser_numLit___boxed(lean_object*); @@ -346,12 +353,12 @@ lean_object* l_Lean_Parser_identFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareTrailingBuiltinParser___closed__1; lean_object* l_Lean_Parser_mkParserExtension___lambda__1(lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(uint8_t); +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; lean_object* l_Lean_Parser_parserExtension___closed__5; lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_leadingIdentAsSymbol(lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed(lean_object*); @@ -366,18 +373,21 @@ lean_object* l_Lean_Parser_TokenConfig_HasToString; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_binNumberFn___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___boxed(lean_object*); lean_object* l_Lean_Parser_setCategoryParserFnRef(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forArgsM(lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__3; lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__15; +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object*); lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_inhabited___closed__1; +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1; lean_object* l_Lean_Parser_unquotedSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -391,12 +401,12 @@ lean_object* l_Lean_Parser_symbolNoWsAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_identFnAux___main___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addSyntaxNodeKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_termParser___closed__1; +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; extern lean_object* l_Lean_Parser_Trie_HasEmptyc___closed__1; lean_object* l_Lean_Parser_mkIdResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__1; lean_object* l_Lean_Parser_TokenMap_insert(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol(uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn___closed__1; lean_object* l_Lean_Parser_termParser___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___boxed(lean_object*, lean_object*, lean_object*); @@ -406,7 +416,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; -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*); lean_object* l_Lean_Parser_whitespace___boxed(lean_object*, lean_object*); @@ -414,6 +423,7 @@ lean_object* l_Lean_Parser_mkParserExtension___closed__6; lean_object* l_Lean_Parser_mkTokenAndFixPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGe___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); @@ -428,11 +438,12 @@ lean_object* l_Lean_Parser_Error_HasBeq___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgsM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_Parser_inhabited(uint8_t); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkBuiltinParserCategories(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_takeUntilFn___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_10__mkResult(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_quotedSymbolFn___spec__2(uint32_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3(lean_object*, lean_object*); @@ -443,6 +454,7 @@ lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__1; lean_object* l_Lean_Parser_symbolNoWsFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_dollarSymbol(uint8_t); lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*); @@ -459,12 +471,15 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepLatest(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLeadingFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepRevArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_TokenMap_HasEmptyc(lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore(uint8_t, lean_object*); lean_object* l_Lean_Parser_checkWsBefore___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; lean_object* l_Lean_Parser_checkLeadingFn___closed__1; extern lean_object* l_Lean_strLitKind; @@ -495,6 +510,7 @@ lean_object* l_Lean_Parser_trailingLoop___main___boxed(lean_object*, lean_object uint8_t l_Lean_Parser_Error_beq(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; lean_object* l_Lean_Parser_regTermParserAttribute___closed__1; lean_object* l_Lean_Parser_symbol(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_anyOfFn___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -503,19 +519,23 @@ lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___boxed(le lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_whitespace___main(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLitFn(uint8_t, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___closed__4; lean_object* l_Lean_Parser_identFnAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_peekToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__4; lean_object* l_Lean_Parser_anyOfFn___main___closed__1; lean_object* l_Lean_Parser_SyntaxNodeKindSet_insert(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__1; +lean_object* l_Lean_Parser_nodeWithAntiquot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); @@ -524,7 +544,6 @@ lean_object* l_Lean_Parser_binNumberFn(lean_object*, lean_object*, lean_object*) lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstant___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone(uint8_t); lean_object* l_Lean_Parser_Error_HasBeq; lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__3; extern lean_object* l___private_Init_Lean_Compiler_InitAttr_1__getIOTypeArg___closed__1; @@ -536,30 +555,28 @@ uint8_t l_Lean_Parser_checkTailNoWs(lean_object*); lean_object* l_Lean_Parser_checkTailWs___boxed(lean_object*); lean_object* l_Lean_Parser_charLitFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_trailingLoopStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep(uint8_t); lean_object* l_Lean_Parser_addLeadingParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_strLitFn(uint8_t, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1; lean_object* l_Lean_Parser_mkParserExtension___lambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_nodeFn___boxed(lean_object*); lean_object* l_Lean_Parser_unquotedSymbolFn___rarg___closed__1; lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__12; lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__4; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_addToken(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___closed__1; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack(uint8_t, lean_object*, lean_object*); extern lean_object* l_Char_HasRepr___closed__1; -lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_toTrailing___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef(lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -581,13 +598,12 @@ lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg(lean_object*, lean_o lean_object* l_Lean_Parser_strLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_sepByFn(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdx___closed__2; -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___boxed(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_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*); lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; @@ -598,6 +614,7 @@ lean_object* l_Lean_Parser_pushLeading___closed__2; lean_object* l_Lean_Parser_rawCh___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___boxed(lean_object*); extern lean_object* l_List_repr___rarg___closed__2; +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; extern lean_object* l_Lean_charLitKind; lean_object* l_Lean_Parser_identFn___rarg___closed__1; lean_object* l_Lean_Parser_checkLeading(lean_object*); @@ -610,15 +627,13 @@ lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___rarg___boxed lean_object* l_Lean_Parser_regTermParserAttribute___closed__2; lean_object* l_Lean_Parser_rawIdent(uint8_t); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(uint8_t); +lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); lean_object* lean_eval_const(lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl(lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitFn___rarg(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_hexNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited(uint8_t, lean_object*, lean_object*); @@ -644,6 +659,7 @@ lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___boxed(lean_object*) lean_object* l_Lean_Parser_identEqFn___rarg___closed__1; uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__2(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__13; extern lean_object* l_Lean_mkAppStx___closed__6; @@ -651,23 +667,22 @@ extern lean_object* l_Lean_Options_empty; extern lean_object* l_IO_Error_Inhabited___closed__1; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_octalNumberFn___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn(uint8_t); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr___main___closed__1; lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParserCategory___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_charLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_compileParserDescr___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___closed__3; extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Lean_Parser_anyOfFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_inhabited___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*); lean_object* l_Lean_Parser_symbolNoWsAux___boxed(lean_object*, lean_object*); @@ -677,7 +692,6 @@ lean_object* l_Lean_Parser_categoryParserFnImplAux(lean_object*, lean_object*, l lean_object* l_Lean_Parser_epsilonInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1(lean_object*); lean_object* l_Lean_Parser_anyOfFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -686,13 +700,12 @@ lean_object* l_Lean_Parser_mkEmptySubstringAt(lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFnAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__2; +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Data_Trie_3__findAux___main___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgs___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__6; -lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_IO_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchMkResult(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_26__catNameToString(lean_object*); size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_FileMap_ofString(lean_object*); lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); @@ -704,7 +717,9 @@ lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, le uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Environment_contains___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinParserCategories___spec__1; lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object*); lean_object* l_List_elem___main___at_Lean_Parser_addLeadingParser___spec__7___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolAux(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); @@ -719,6 +734,7 @@ lean_object* l_Lean_Parser_mkBuiltinTokenTable(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__3; lean_object* l_Lean_Parser_manyAux(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__3(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_ident___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addTrailingParser(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot___lambda__1(lean_object*, lean_object*, lean_object*); @@ -730,7 +746,6 @@ lean_object* l_Lean_Parser_declareBuiltinParser___closed__6; lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_quotedSymbolFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; uint8_t l_Lean_isIdEndEscape(uint32_t); lean_object* l_Lean_Parser_addBuiltinLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -743,36 +758,35 @@ size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Parser_parserExtension___elambda__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg___closed__4; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3___closed__1; lean_object* l_Lean_Parser_mkAntiquot___elambda__2(uint8_t); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__2; lean_object* l_Lean_Parser_toTrailing(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnExtension___closed__1; lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___closed__1; lean_object* l_Lean_Parser_charLitFnAux___closed__1; lean_object* l_Lean_Parser_quotedSymbolFn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWs(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mergeErrors___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___boxed(lean_object*); lean_object* l_Array_foldSepBy(lean_object*); lean_object* l_Lean_Parser_ident___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__2(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_trailingNode(lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1(uint8_t, lean_object*, lean_object*, uint8_t, uint8_t); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___boxed(lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__3; uint8_t l_Array_anyRangeMAux___main___at_Lean_Parser_mkParserExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -780,9 +794,7 @@ lean_object* l_Lean_Parser_categoryParser___boxed(lean_object*, lean_object*, le lean_object* l_Lean_Parser_TokenConfig_beq___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +lean_object* l_Lean_Parser_pushNone___boxed(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolCheckPrec(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_declareLeadingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*); @@ -795,9 +807,11 @@ lean_object* l_Lean_Parser_prattParser___boxed(lean_object*, lean_object*, lean_ 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_nodeWithAntiquot(uint8_t, 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___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Parser_fieldIdxFn___closed__1; lean_object* l_Lean_Parser_ident___elambda__1(uint8_t); lean_object* l_Lean_Parser_Error_HasToString; @@ -819,7 +833,6 @@ lean_object* l_Lean_Parser_leadingParser___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Parser_hexDigitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__16; -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1; lean_object* l_Lean_Parser_FirstTokens_HasToString___closed__1; lean_object* l_Lean_Parser_FirstTokens_HasToString; lean_object* l_Lean_Parser_pushLeading; @@ -828,7 +841,6 @@ lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1(lea lean_object* l_Lean_Parser_Error_toString(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolNoWsFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___boxed(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at___private_Init_Lean_Parser_Parser_9__pickNonNone___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2___rarg___boxed(lean_object*, lean_object*); @@ -837,10 +849,10 @@ lean_object* l_Lean_Parser_longestMatchStep___rarg(lean_object*, lean_object*, l lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1(lean_object*); lean_object* l_Lean_Parser_string2basic___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2; +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr(uint8_t); lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_hasArgs(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Parser_isValidSyntaxNodeKind___spec__1___boxed(lean_object*, lean_object*); @@ -852,7 +864,6 @@ lean_object* l_Lean_Parser_whitespace___main___boxed(lean_object*, lean_object*) lean_object* l_Lean_Parser_longestMatchFn_u2081___boxed(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_Parser_withPosition___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Parser_pushLeadingFn(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); @@ -864,15 +875,14 @@ lean_object* l_Lean_Parser_Error_Inhabited; lean_object* l_RBNode_find___main___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_nameToExprAux___main(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Array_foldSepByM___boxed(lean_object*, lean_object*); lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___boxed(lean_object*); uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); @@ -880,16 +890,15 @@ lean_object* l_Lean_Parser_numLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_dollarSymbol___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Error_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr(uint8_t); +lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__14; lean_object* l_Lean_Parser_FirstTokens_toStr___closed__1; lean_object* l_Lean_Parser_runParserCategory(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_getSyntaxNodeKinds___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_addLeadingParser(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1; uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_mkParserExtension___closed__5; lean_object* l_Lean_Parser_categoryParser___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfySymbolFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -905,15 +914,14 @@ extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_lookaheadFn___boxed(lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__6(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_anyOfFn___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo___closed__3; -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unquotedSymbol(uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_many1Indent(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_whitespace___main___spec__1___boxed(lean_object*, lean_object*); @@ -924,28 +932,28 @@ lean_object* l_Lean_Parser_categoryParser___elambda__1(uint8_t); lean_object* l_Lean_Parser_symbolFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFn_u2081(uint8_t); lean_object* l_Lean_Parser_symbolNoWsInfo___closed__1; +lean_object* l_Lean_Parser_pushNone___elambda__1(uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___boxed(lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_toStr___closed__2; lean_object* l_Lean_Parser_hashOrelse___boxed(lean_object*); lean_object* lean_io_ref_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_5__isIdFirstOrBeginEscape___boxed(lean_object*); -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_replaceLongest(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Parser_TokenConfig_beq(lean_object*, lean_object*); lean_object* l_Lean_Parser_strLitFn___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Parser_fieldIdxFn___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1; lean_object* l_Lean_Parser_orelse___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserCategory_inhabited; -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(uint8_t); lean_object* l_Lean_Parser_dollarSymbol___elambda__1(uint8_t, lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_many1Indent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_toTrailing___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_hexNumberFn___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1(uint8_t); lean_object* l_RBNode_setBlack___rarg(lean_object*); +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__2(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1(uint8_t, lean_object*); @@ -959,12 +967,12 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_numberFnAux___closed__1; lean_object* l_Lean_Parser_categoryParserFnExtension___elambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_foldArgsM___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_forSepArgsM___boxed(lean_object*); lean_object* l_Lean_Parser_ParserCategory_inhabited___closed__1; lean_object* l_Lean_Parser_isIdCont___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -975,14 +983,12 @@ lean_object* l_Lean_Parser_epsilonInfo___closed__1; lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Parser_addLeadingParser___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_andthen___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_FileMap_Inhabited___closed__1; lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentFn___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_6__nameLitAux___closed__1; @@ -997,18 +1003,18 @@ lean_object* l_Lean_Parser_nodeFn(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon(uint8_t); lean_object* l_Lean_Parser_checkWsBeforeFn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionalFn(uint8_t); -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(lean_object*, size_t, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Parser_TokenMap_insert___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbolFn___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__4; uint8_t l_Lean_isIdFirst(uint32_t); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__3; 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_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*); @@ -1016,17 +1022,18 @@ lean_object* lean_io_initializing(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Parser_sepByInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo___closed__1; -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forSepArgsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_getStateUnsafe___rarg(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__2(lean_object*); +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_9__pickNonNone(lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_3__rawAux(uint8_t); lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLit___elambda__1(uint8_t); lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_parserExtension___elambda__1(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(uint8_t); +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___elambda__1___rarg(lean_object*, lean_object*, lean_object*, 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*); @@ -1039,6 +1046,7 @@ lean_object* l_Lean_Parser_pushLeadingFn___boxed(lean_object*, lean_object*, lea lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_addParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); @@ -1051,8 +1059,8 @@ lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_hexNumberFn___spe lean_object* l_Lean_Parser_identFn___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFn___boxed(lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_forSepArgsM___spec__1(lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___elambda__1(uint8_t); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn___closed__1; lean_object* l_Lean_Parser_manyFn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_next___boxed(lean_object*, lean_object*, lean_object*); @@ -1060,7 +1068,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_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*); lean_object* l_Lean_Parser_epsilonInfo___elambda__2(lean_object*); @@ -1083,17 +1090,17 @@ lean_object* l_Lean_Parser_andthen(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_node(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_lookahead___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__8; uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object*); lean_object* l_Lean_Parser_identNoAntiquot(uint8_t); lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1; lean_object* l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_mkCategoryParserFnRef(lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1101,33 +1108,32 @@ lean_object* l_Lean_Parser_many1Fn___boxed(lean_object*, lean_object*, lean_obje lean_object* l_List_beq___main___at_Lean_Parser_Error_toString___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkCategoryParserFnRef___closed__1; lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__2(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1(lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_FirstTokens_toOptional(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBefore___elambda__1(uint8_t); lean_object* l_Lean_registerAttributeImplBuilder(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_identFnAux___main___spec__3___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbol___elambda__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds___boxed(lean_object*); uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_hexDigitFn___closed__1; lean_object* l_Lean_Parser_mkAtom(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; lean_object* l_Lean_Parser_currLbp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___boxed(lean_object*); lean_object* l_Lean_Parser_indexed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___boxed(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_identFnAux___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_foldSepArgs(lean_object*); lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1135,14 +1141,11 @@ lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_ParserFn_inhabited___rarg___boxed(lean_object*); lean_object* l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(lean_object*); lean_object* l_Lean_Parser_orelseFn___boxed(lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); uint8_t l___private_Init_Lean_Parser_Parser_5__isIdFirstOrBeginEscape(uint32_t); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe___closed__3; lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Parser_FirstTokens_toStr___spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolInfo___closed__1; lean_object* l_Lean_Parser_checkColGe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1157,8 +1160,10 @@ uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_replaceLongest___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString___closed__1; +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__2; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Parser_addLeadingParser___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__2; @@ -1167,9 +1172,10 @@ lean_object* l_Lean_Parser_Parser_inhabited___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2; extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__1; +lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Parser_identFn(uint8_t, lean_object*); lean_object* l_Lean_Parser_takeUntilFn___main___at_Lean_Parser_decimalNumberFn___spec__2___boxed(lean_object*, lean_object*); @@ -1180,6 +1186,7 @@ lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lea lean_object* l_Lean_Parser_charLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_strLitFnAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; lean_object* l_PersistentHashMap_insert___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1192,14 +1199,13 @@ lean_object* l_RBNode_ins___main___at_Lean_Parser_TokenMap_insert___spec__3___ra lean_object* l_Lean_Parser_many1Indent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdent___elambda__1(uint8_t); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strLit(uint8_t); lean_object* l_Lean_Parser_rawIdentNoAntiquot___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1(uint8_t, lean_object*, uint8_t); -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo___closed__2; lean_object* l_Lean_Parser_sepBy___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_trailingLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbol___boxed(lean_object*); lean_object* l_Lean_Parser_nonReservedSymbolInfo___boxed(lean_object*, lean_object*); @@ -1208,6 +1214,7 @@ uint8_t l_Lean_isIdRest(uint32_t); lean_object* l_Lean_Parser_numberFnAux___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_numLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_parserExtension___elambda__3(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; lean_object* l_Lean_Parser_fieldIdxFn(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_forArgsM___spec__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*); @@ -1215,12 +1222,10 @@ extern lean_object* l_Lean_nameLitKind___closed__1; lean_object* l_Lean_Parser_nameLit___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_withPosition___boxed(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_isLitKind___boxed(lean_object*); lean_object* l_IO_ofExcept___at_Lean_Parser_declareBuiltinParser___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_registerParserCategory___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepByM___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchFnAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -26266,7 +26271,7 @@ x_3 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___rarg(lean_object* x_1) { +lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26275,20 +26280,20 @@ x_3 = l_Lean_Parser_ParserState_pushSyntax(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_pushNone___elambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___rarg), 1, 0); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___rarg), 1, 0); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone(uint8_t x_1) { +lean_object* l_Lean_Parser_pushNone(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_box(x_1); -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed), 3, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); lean_closure_set(x_3, 0, x_2); x_4 = l_Lean_Parser_Parser_inhabited___closed__1; x_5 = lean_alloc_ctor(0, 2, 0); @@ -26297,29 +26302,29 @@ lean_ctor_set(x_5, 1, x_3); return x_5; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_1); lean_dec(x_1); -x_5 = l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1(x_4, x_2, x_3); +x_5 = l_Lean_Parser_pushNone___elambda__1(x_4, x_2, x_3); lean_dec(x_3); lean_dec(x_2); return x_5; } } -lean_object* l___private_Init_Lean_Parser_Parser_12__pushNone___boxed(lean_object* x_1) { +lean_object* l_Lean_Parser_pushNone___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_12__pushNone(x_2); +x_3 = l_Lean_Parser_pushNone(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -26333,36 +26338,36 @@ x_9 = l_Lean_Parser_ParserState_mkNode(x_7, x_8, x_6); return x_9; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(uint8_t x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg), 4, 0); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* 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; lean_object* x_14; x_2 = lean_box(x_1); x_3 = lean_alloc_closure((void*)(l_Lean_Parser_identFn___boxed), 2, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l___private_Init_Lean_Parser_Parser_12__pushNone(x_1); +x_4 = l_Lean_Parser_pushNone(x_1); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); lean_dec(x_4); x_6 = l_Lean_Parser_identNoAntiquot___closed__1; x_7 = l_Lean_Parser_andthenInfo(x_6, x_5); x_8 = lean_box(x_1); -x_9 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed), 3, 1); +x_9 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); lean_closure_set(x_9, 0, x_8); x_10 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_10, 0, x_3); lean_closure_set(x_10, 1, x_9); x_11 = l_Lean_mkTermIdFromIdent___closed__2; x_12 = l_Lean_Parser_nodeInfo(x_11, x_7); -x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___rarg), 4, 1); +x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___rarg), 4, 1); lean_closure_set(x_13, 0, x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_12); @@ -26370,27 +26375,27 @@ lean_ctor_set(x_14, 1, x_13); return x_14; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotId___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_12__antiquotId___elambda__1(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotId___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotId___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotId(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_12__antiquotId(x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -26398,17 +26403,17 @@ x_1 = lean_mk_string("paren"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -26417,20 +26422,20 @@ lean_inc(x_5); x_6 = lean_array_get_size(x_5); lean_dec(x_5); x_7 = lean_apply_3(x_1, x_2, x_3, x_4); -x_8 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_8 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_9 = l_Lean_Parser_ParserState_mkNode(x_7, x_8, x_6); return x_9; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(uint8_t x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg), 4, 0); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -26439,27 +26444,27 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26471,7 +26476,7 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -26480,34 +26485,34 @@ x_2 = l_String_trim(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_3 = l_Lean_Parser_symbolInfo(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_2 = l_Lean_Parser_termParser___closed__2; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Parser_categoryParser(x_1, x_2, x_3); -x_5 = l___private_Init_Lean_Parser_Parser_12__pushNone(x_1); +x_5 = l_Lean_Parser_pushNone(x_1); x_6 = lean_ctor_get(x_4, 0); lean_inc(x_6); lean_dec(x_4); @@ -26516,9 +26521,9 @@ lean_inc(x_7); lean_dec(x_5); x_8 = l_Lean_Parser_andthenInfo(x_6, x_7); x_9 = lean_box(x_1); -x_10 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed), 3, 1); +x_10 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); lean_closure_set(x_10, 0, x_9); -x_11 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4; +x_11 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; x_12 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_12, 0, x_11); lean_closure_set(x_12, 1, x_10); @@ -26527,21 +26532,21 @@ x_14 = l_Lean_Parser_nodeInfo(x_13, x_8); x_15 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_12); -x_16 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_17 = l_Lean_Parser_andthenInfo(x_14, x_16); -x_18 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; +x_18 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; x_19 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_19, 0, x_15); lean_closure_set(x_19, 1, x_18); -x_20 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_20 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_21 = l_Lean_Parser_andthenInfo(x_20, x_17); -x_22 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; +x_22 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; x_23 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_23, 0, x_22); lean_closure_set(x_23, 1, x_19); -x_24 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_24 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_25 = l_Lean_Parser_nodeInfo(x_24, x_21); -x_26 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg), 4, 1); +x_26 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg), 4, 1); lean_closure_set(x_26, 0, x_23); x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_25); @@ -26549,27 +26554,27 @@ lean_ctor_set(x_27, 1, x_26); return x_27; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -26627,20 +26632,20 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(uint8_t x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr(uint8_t x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* 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; -x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotId(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr(x_1); +x_2 = l___private_Init_Lean_Parser_Parser_12__antiquotId(x_1); +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr(x_1); x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 0); @@ -26652,7 +26657,7 @@ lean_dec(x_2); x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); lean_dec(x_3); -x_9 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___rarg), 5, 2); +x_9 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___rarg), 5, 2); lean_closure_set(x_9, 0, x_7); lean_closure_set(x_9, 1, x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -26661,23 +26666,23 @@ lean_ctor_set(x_10, 1, x_9); return x_10; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr___elambda__1(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr___elambda__1(x_2); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_15__antiquotExpr___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotExpr___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; x_2 = lean_unbox(x_1); lean_dec(x_1); -x_3 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr(x_2); +x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr(x_2); return x_3; } } @@ -26904,7 +26909,7 @@ x_20 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_20, 0, x_19); lean_closure_set(x_20, 1, x_16); x_21 = l_Lean_Parser_dollarSymbol(x_1); -x_22 = l___private_Init_Lean_Parser_Parser_15__antiquotExpr(x_1); +x_22 = l___private_Init_Lean_Parser_Parser_14__antiquotExpr(x_1); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -26976,14 +26981,14 @@ else { lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; x_46 = l___private_Init_Lean_Parser_Parser_11__noImmediateColon(x_1); -x_47 = l___private_Init_Lean_Parser_Parser_12__pushNone(x_1); +x_47 = l_Lean_Parser_pushNone(x_1); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); lean_dec(x_47); lean_inc(x_48); x_49 = l_Lean_Parser_andthenInfo(x_48, x_48); x_50 = lean_box(x_1); -x_51 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_12__pushNone___elambda__1___boxed), 3, 1); +x_51 = lean_alloc_closure((void*)(l_Lean_Parser_pushNone___elambda__1___boxed), 3, 1); lean_closure_set(x_51, 0, x_50); lean_inc(x_51); x_52 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); @@ -27070,6 +27075,127 @@ lean_dec(x_2); return x_7; } } +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_inc(x_4); +lean_inc(x_3); +x_9 = lean_apply_3(x_2, x_3, x_4, x_5); +x_10 = lean_ctor_get(x_9, 3); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_12, x_8); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_8); +x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); +lean_dec(x_7); +x_15 = lean_apply_3(x_1, x_3, x_4, x_14); +x_16 = l_Lean_Parser_mergeOrElseErrors(x_15, x_11, x_8); +lean_dec(x_8); +return x_16; +} +} +} +} +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Lean_Parser_nodeWithAntiquot(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t 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; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +x_6 = 0; +x_7 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_5, x_6); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_inc(x_3); +x_9 = l_Lean_Parser_nodeInfo(x_3, x_8); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn___rarg), 5, 2); +lean_closure_set(x_11, 0, x_3); +lean_closure_set(x_11, 1, x_10); +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +x_13 = l_Lean_Parser_orelseInfo(x_12, x_9); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_dec(x_7); +x_15 = lean_alloc_closure((void*)(l_Lean_Parser_nodeWithAntiquot___elambda__1___rarg), 5, 2); +lean_closure_set(x_15, 0, x_11); +lean_closure_set(x_15, 1, 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); +return x_16; +} +} +lean_object* l_Lean_Parser_nodeWithAntiquot___elambda__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Parser_nodeWithAntiquot___elambda__1(x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_nodeWithAntiquot___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l_Lean_Parser_nodeWithAntiquot(x_5, x_2, x_3, x_4); +lean_dec(x_2); +return x_6; +} +} lean_object* l_Lean_Parser_ident___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -27979,7 +28105,7 @@ x_3 = lean_io_mk_ref(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1() { _start: { lean_object* x_1; @@ -27987,7 +28113,7 @@ x_1 = lean_mk_string("parser category '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2() { _start: { lean_object* x_1; @@ -27995,31 +28121,31 @@ x_1 = lean_mk_string("' has already been defined"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_2 = l_Lean_Name_toString___closed__1; x_3 = l_Lean_Name_toStringWithSep___main(x_2, x_1); -x_4 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1; +x_4 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1; x_5 = lean_string_append(x_4, x_3); lean_dec(x_3); -x_6 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2; +x_6 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2; x_7 = lean_string_append(x_5, x_6); x_8 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; } } -lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg), 1, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg), 1, 0); return x_2; } } -uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +uint8_t l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28079,7 +28205,7 @@ return x_19; } } } -uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; size_t x_4; uint8_t x_5; @@ -28087,11 +28213,11 @@ x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); x_4 = l_Lean_Name_hash(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(x_3, x_4, x_2); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_3, x_4, x_2); return x_5; } } -lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -28183,7 +28309,7 @@ return x_29; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -28206,7 +28332,7 @@ x_13 = x_1 - x_12; x_14 = 5; x_15 = x_14 * x_13; x_16 = x_11 >> x_15; -x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); +x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_6, x_16, x_1, x_9, x_10); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); @@ -28216,7 +28342,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28329,7 +28455,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = x_2 >> x_9; x_37 = x_3 + x_8; -x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); +x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -28344,7 +28470,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = x_2 >> x_9; x_42 = x_3 + x_8; -x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); +x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -28460,7 +28586,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = x_2 >> x_50; x_74 = x_3 + x_49; -x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); +x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -28493,7 +28619,7 @@ else { lean_object* x_82; lean_object* x_83; size_t x_84; uint8_t x_85; x_82 = lean_unsigned_to_nat(0u); -x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); +x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__5(x_1, x_82, x_4, x_5); x_84 = 7; x_85 = x_84 <= x_3; if (x_85 == 0) @@ -28512,7 +28638,7 @@ x_90 = lean_ctor_get(x_83, 1); lean_inc(x_90); lean_dec(x_83); x_91 = l_PersistentHashMap_insertAux___main___rarg___closed__3; -x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); +x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_3, x_89, x_90, x_89, x_82, x_91); lean_dec(x_90); lean_dec(x_89); return x_92; @@ -28529,7 +28655,7 @@ return x_83; } } } -lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -28541,7 +28667,7 @@ x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash(x_2); x_8 = 1; -x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); +x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_5, x_7, x_8, x_2, x_3); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_6, x_10); lean_dec(x_6); @@ -28559,7 +28685,7 @@ lean_inc(x_12); lean_dec(x_1); x_14 = l_Lean_Name_hash(x_2); x_15 = 1; -x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); +x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_12, x_14, x_15, x_2, x_3); x_17 = lean_unsigned_to_nat(1u); x_18 = lean_nat_add(x_13, x_17); lean_dec(x_13); @@ -28570,16 +28696,16 @@ return x_19; } } } -lean_object* l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_inc(x_1); -x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_1, x_2); +x_4 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_3); +x_5 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_3); x_6 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_6, 0, x_5); return x_6; @@ -28589,47 +28715,47 @@ else lean_object* x_7; lean_dec(x_3); lean_dec(x_1); -x_7 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(x_2); +x_7 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); return x_7; } } } -lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; uint8_t x_5; lean_object* x_6; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__2(x_1, x_4, x_3); +x_5 = l_PersistentHashMap_containsAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__2(x_1, x_4, x_3); lean_dec(x_3); x_6 = lean_box(x_5); return x_6; } } -lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_1, x_2); +x_3 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__6(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_8; } } -lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -28637,11 +28763,11 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); +x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__4(x_1, x_6, x_7, x_4, x_5); return x_8; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -28668,7 +28794,7 @@ return x_7; } } } -lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -28686,8 +28812,8 @@ x_8 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_9 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_9, 0, x_8); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_2); -x_10 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_6, x_1, x_9); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_10, x_7); +x_10 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_6, x_1, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_7); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -28748,22 +28874,22 @@ return x_22; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(x_1, x_4, x_3); +x_5 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_1, x_4, x_3); return x_5; } } @@ -28791,7 +28917,7 @@ x_1 = l_Lean_Parser_ParserExtensionState_inhabited___closed__1; return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -28927,7 +29053,7 @@ return x_32; } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1() { _start: { lean_object* x_1; @@ -28935,7 +29061,7 @@ x_1 = lean_mk_string("precedence mismatch for '"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2() { _start: { lean_object* x_1; @@ -28943,7 +29069,7 @@ x_1 = lean_mk_string("', previous: "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3() { _start: { lean_object* x_1; @@ -28951,7 +29077,7 @@ x_1 = lean_mk_string(", new: "); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -28985,15 +29111,15 @@ if (x_9 == 0) { lean_object* x_10; 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; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_3); -x_10 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1; +x_10 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1; x_11 = lean_string_append(x_1, x_10); x_12 = lean_string_append(x_11, x_2); -x_13 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = l_Nat_repr(x_7); x_16 = lean_string_append(x_14, x_15); lean_dec(x_15); -x_17 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3; +x_17 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3; x_18 = lean_string_append(x_16, x_17); x_19 = l_Nat_repr(x_8); x_20 = lean_string_append(x_18, x_19); @@ -29016,16 +29142,16 @@ return x_22; } } } -lean_object* l___private_Init_Lean_Parser_Parser_20__mergePrecendences___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Parser_Parser_19__mergePrecendences___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_1, x_2, x_3, x_4); lean_dec(x_2); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1() { _start: { lean_object* x_1; @@ -29033,7 +29159,7 @@ x_1 = lean_mk_string("(no whitespace) "); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2() { _start: { lean_object* x_1; @@ -29041,17 +29167,17 @@ x_1 = lean_mk_string("invalid empty symbol"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_21__addTokenConfig(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_20__addTokenConfig(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; @@ -29098,7 +29224,7 @@ lean_inc(x_16); lean_dec(x_9); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); -x_18 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_6, x_3, x_17, x_4); +x_18 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_17, x_4); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; @@ -29132,8 +29258,8 @@ lean_dec(x_18); x_23 = lean_ctor_get(x_16, 2); lean_inc(x_23); lean_dec(x_16); -x_24 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; -x_25 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_24, x_3, x_23, x_5); +x_24 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; +x_25 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_24, x_3, x_23, x_5); if (lean_obj_tag(x_25) == 0) { uint8_t x_26; @@ -29200,7 +29326,7 @@ lean_inc(x_35); lean_dec(x_9); x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); -x_37 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_6, x_3, x_36, x_4); +x_37 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_6, x_3, x_36, x_4); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; @@ -29234,8 +29360,8 @@ lean_dec(x_37); x_42 = lean_ctor_get(x_35, 2); lean_inc(x_42); lean_dec(x_35); -x_43 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1; -x_44 = l___private_Init_Lean_Parser_Parser_20__mergePrecendences(x_43, x_3, x_42, x_5); +x_43 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1; +x_44 = l___private_Init_Lean_Parser_Parser_19__mergePrecendences(x_43, x_3, x_42, x_5); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -29298,7 +29424,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_53 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3; +x_53 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3; return x_53; } } @@ -29746,7 +29872,7 @@ x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_12); lean_ctor_set(x_10, 1, x_13); -x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_15 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_15, 0, x_14); return x_15; @@ -29772,7 +29898,7 @@ lean_ctor_set(x_21, 1, x_20); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_19); lean_ctor_set(x_7, 0, x_21); -x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_22 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_23 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_23, 0, x_22); return x_23; @@ -29818,7 +29944,7 @@ lean_ctor_set(x_32, 3, x_29); x_33 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_33, 0, x_32); lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_25); -x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_33); +x_34 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_33); x_35 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_35, 0, x_34); return x_35; @@ -29836,7 +29962,7 @@ x_40 = lean_ctor_get(x_7, 0); x_41 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_38); x_42 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(x_4, x_40, x_41); lean_ctor_set(x_7, 0, x_42); -x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_7); +x_43 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_7); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); return x_44; @@ -29853,7 +29979,7 @@ x_48 = l_List_foldl___main___at_Lean_Parser_addLeadingParser___spec__8(x_4, x_45 x_49 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_49, 0, x_48); lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_46); -x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_49); +x_50 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_49); x_51 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_51, 0, x_50); return x_51; @@ -29913,7 +30039,7 @@ lean_dec(x_3); return x_5; } } -lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -29966,7 +30092,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_14; lean_object* x_19; lean_object* x_20; @@ -30046,7 +30172,7 @@ block_18: lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_List_map___main___at_Lean_Parser_addLeadingParser___spec__4(x_14); x_16 = l_List_eraseDups___at_Lean_Parser_addLeadingParser___spec__5(x_15); -x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_22__addTrailingParserAux___spec__1(x_2, x_1, x_16); +x_17 = l_List_foldl___main___at___private_Init_Lean_Parser_Parser_21__addTrailingParserAux___spec__1(x_2, x_1, x_16); return x_17; } } @@ -30076,9 +30202,9 @@ if (x_7 == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_6, 0); -x_9 = l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(x_8, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_8, x_3); lean_ctor_set(x_6, 0, x_9); -x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_6); +x_10 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_6); x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_10); return x_11; @@ -30090,11 +30216,11 @@ x_12 = lean_ctor_get(x_6, 0); x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); lean_inc(x_12); lean_dec(x_6); -x_14 = l___private_Init_Lean_Parser_Parser_22__addTrailingParserAux(x_12, x_3); +x_14 = l___private_Init_Lean_Parser_Parser_21__addTrailingParserAux(x_12, x_3); x_15 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_15, 0, x_14); lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_13); -x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_1, x_2, x_15); +x_16 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_1, x_2, x_15); x_17 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_17, 0, x_16); return x_17; @@ -30148,7 +30274,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_1, x_4); +x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_1, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -30195,7 +30321,7 @@ x_6 = l_List_foldlM___main___at_Lean_Parser_addParserTokens___spec__1(x_1, x_5); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1() { _start: { lean_object* x_1; @@ -30203,7 +30329,7 @@ x_1 = lean_mk_string("invalid builtin parser '"); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -30228,7 +30354,7 @@ lean_inc(x_11); lean_dec(x_10); x_12 = l_Lean_Name_toString___closed__1; x_13 = l_Lean_Name_toStringWithSep___main(x_12, x_2); -x_14 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; +x_14 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; x_15 = lean_string_append(x_14, x_13); lean_dec(x_13); x_16 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -30270,7 +30396,7 @@ lean_inc(x_25); lean_dec(x_24); x_26 = l_Lean_Name_toString___closed__1; x_27 = l_Lean_Name_toStringWithSep___main(x_26, x_2); -x_28 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1; +x_28 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); x_30 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -30338,7 +30464,7 @@ lean_inc(x_9); lean_dec(x_7); lean_inc(x_4); x_10 = l_Lean_Parser_addParser(x_1, x_8, x_2, x_3, x_4); -x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_10, x_9); +x_11 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_10, x_9); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -30385,7 +30511,7 @@ lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens(x_16, x_3, x_26); +x_27 = l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens(x_16, x_3, x_26); return x_27; } else @@ -30571,7 +30697,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_5, x_1, x_2, x_3, x_4); return x_6; } } -lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_2)) { @@ -30590,7 +30716,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 2); x_8 = lean_ctor_get(x_1, 3); lean_inc(x_3); -x_9 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_5, x_3); +x_9 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_3); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -30633,7 +30759,7 @@ lean_inc(x_16); lean_inc(x_15); lean_dec(x_1); lean_inc(x_3); -x_19 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_15, x_3); +x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_3); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; @@ -30734,7 +30860,7 @@ lean_inc(x_47); x_48 = lean_ctor_get(x_1, 3); lean_inc(x_48); lean_inc(x_47); -x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_47, x_43); +x_49 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_47, x_43); if (x_49 == 0) { uint8_t x_50; @@ -30755,7 +30881,7 @@ x_56 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_56, 0, x_55); lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_44); lean_inc(x_43); -x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_47, x_43, x_56); +x_57 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_56); x_58 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_58, 0, x_43); lean_ctor_set_uint8(x_58, sizeof(void*)*1, x_44); @@ -30775,7 +30901,7 @@ x_61 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_61, 0, x_60); lean_ctor_set_uint8(x_61, sizeof(void*)*1, x_44); lean_inc(x_43); -x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__3(x_47, x_43, x_61); +x_62 = l_PersistentHashMap_insert___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__3(x_47, x_43, x_61); x_63 = lean_alloc_ctor(2, 1, 1); lean_ctor_set(x_63, 0, x_43); lean_ctor_set_uint8(x_63, sizeof(void*)*1, x_44); @@ -34081,7 +34207,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -34108,7 +34234,7 @@ return x_7; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -34147,8 +34273,8 @@ x_15 = lean_ctor_get(x_5, 0); x_16 = lean_ctor_get(x_5, 1); x_17 = lean_ctor_get(x_5, 2); x_18 = lean_ctor_get(x_5, 3); -x_19 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_15, x_13); -x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_19, x_6); +x_19 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_15, x_13); +x_20 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_19, x_6); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { @@ -34204,8 +34330,8 @@ lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_dec(x_5); -x_32 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_28, x_13); -x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_32, x_6); +x_32 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_28, x_13); +x_33 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_32, x_6); lean_dec(x_32); if (lean_obj_tag(x_33) == 0) { @@ -34316,8 +34442,8 @@ x_63 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_64 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_64, 0, x_63); lean_ctor_set_uint8(x_64, sizeof(void*)*1, x_57); -x_65 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_61, x_56, x_64); -x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_65, x_6); +x_65 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_61, x_56, x_64); +x_66 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_65, x_6); lean_dec(x_65); if (lean_obj_tag(x_66) == 0) { @@ -34377,8 +34503,8 @@ x_78 = l_Lean_Parser_PrattParsingTables_inhabited___closed__1; x_79 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_79, 0, x_78); lean_ctor_set_uint8(x_79, sizeof(void*)*1, x_57); -x_80 = l___private_Init_Lean_Parser_Parser_17__addParserCategoryCore(x_76, x_56, x_79); -x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory___spec__1(x_80, x_6); +x_80 = l___private_Init_Lean_Parser_Parser_16__addParserCategoryCore(x_76, x_56, x_79); +x_81 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory___spec__1(x_80, x_6); lean_dec(x_80); if (lean_obj_tag(x_81) == 0) { @@ -34609,7 +34735,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -34635,7 +34761,7 @@ x_12 = lean_nat_add(x_4, x_11); lean_dec(x_4); x_13 = lean_unsigned_to_nat(0u); lean_inc(x_1); -x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); +x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_10, x_10, x_13, x_5, x_6); lean_dec(x_10); if (lean_obj_tag(x_14) == 0) { @@ -34677,11 +34803,11 @@ return x_21; } } } -lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial(x_3); +x_4 = l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial(x_3); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -34691,7 +34817,7 @@ x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_2, x_7, x_5, x_6); return x_8; } else @@ -34719,40 +34845,40 @@ return x_12; } } } -lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__1(x_1, x_2); +x_3 = l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__1(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___spec__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_7; } } -lean_object* l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -35566,7 +35692,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_19__ParserExtension_mkInitial), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_18__ParserExtension_mkInitial), 1, 0); return x_1; } } @@ -35574,7 +35700,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_25__ParserExtension_addImported___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__ParserExtension_addImported___boxed), 3, 0); return x_1; } } @@ -35582,7 +35708,7 @@ lean_object* _init_l_Lean_Parser_mkParserExtension___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_24__ParserExtension_addEntry), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_23__ParserExtension_addEntry), 2, 0); return x_1; } } @@ -35808,7 +35934,7 @@ x_4 = l_Lean_PersistentEnvExtension_getState___rarg(x_3, x_1); x_5 = lean_ctor_get(x_4, 2); lean_inc(x_5); lean_dec(x_4); -x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__1(x_5, x_2); +x_6 = l_PersistentHashMap_contains___at___private_Init_Lean_Parser_Parser_16__addParserCategoryCore___spec__1(x_5, x_2); return x_6; } } @@ -35844,7 +35970,7 @@ else { lean_object* x_9; lean_dec(x_1); -x_9 = l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(x_2); +x_9 = l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg(x_2); return x_9; } } @@ -35941,7 +36067,7 @@ return x_20; } } } -lean_object* l___private_Init_Lean_Parser_Parser_26__catNameToString(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_25__catNameToString(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 1) @@ -35985,7 +36111,7 @@ if (x_6 == 0) { lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; 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; lean_inc(x_1); -x_7 = l___private_Init_Lean_Parser_Parser_26__catNameToString(x_1); +x_7 = l___private_Init_Lean_Parser_Parser_25__catNameToString(x_1); x_8 = lean_box(0); x_9 = 0; x_10 = 0; @@ -36083,7 +36209,7 @@ x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); lean_dec(x_4); lean_inc(x_2); -x_6 = l___private_Init_Lean_Parser_Parser_21__addTokenConfig(x_5, x_2); +x_6 = l___private_Init_Lean_Parser_Parser_20__addTokenConfig(x_5, x_2); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -36907,7 +37033,7 @@ x_6 = l_Lean_Parser_declareBuiltinParser(x_1, x_5, x_2, x_3, x_4); return x_6; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1() { _start: { lean_object* x_1; @@ -36915,7 +37041,7 @@ x_1 = lean_mk_string("' (`Parser` or `TrailingParser` expected"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -36925,7 +37051,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -36965,7 +37091,7 @@ lean_object* x_28; lean_object* x_29; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2; +x_28 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_7); @@ -37444,7 +37570,7 @@ x_19 = l_Lean_Name_toStringWithSep___main(x_18, x_4); x_20 = l_Lean_Parser_mkParserOfConstantUnsafe___closed__1; x_21 = lean_string_append(x_20, x_19); lean_dec(x_19); -x_22 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1; +x_22 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1; x_23 = lean_string_append(x_21, x_22); x_24 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_24, 0, x_23); @@ -37477,13 +37603,13 @@ return x_104; } } } -lean_object* l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -37501,7 +37627,7 @@ _start: { lean_object* x_5; lean_inc(x_2); -x_5 = l___private_Init_Lean_Parser_Parser_18__addBuiltinParserCategory(x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Parser_Parser_17__addBuiltinParserCategory(x_2, x_3, x_4); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -37509,7 +37635,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); lean_inc(x_1); -x_7 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___boxed), 7, 2); +x_7 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___boxed), 7, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_2); x_8 = l_Lean_Parser_registerBuiltinParserAttribute___closed__1; @@ -37558,7 +37684,7 @@ x_6 = l_Lean_Parser_registerBuiltinParserAttribute(x_1, x_2, x_5, x_4); return x_6; } } -lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1() { +lean_object* _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1() { _start: { lean_object* x_1; @@ -37566,7 +37692,7 @@ x_1 = lean_mk_string("invalid parser '"); return x_1; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { if (lean_obj_tag(x_3) == 0) @@ -37596,7 +37722,7 @@ lean_inc(x_9); lean_dec(x_8); x_10 = l_Lean_Name_toString___closed__1; x_11 = l_Lean_Name_toStringWithSep___main(x_10, x_1); -x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1; +x_12 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1; x_13 = lean_string_append(x_12, x_11); lean_dec(x_11); x_14 = l_Lean_registerTagAttribute___lambda__4___closed__3; @@ -37623,7 +37749,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -37660,7 +37786,7 @@ lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_7, 0); lean_inc(x_13); lean_dec(x_7); -x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_13, x_4); +x_14 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_13, x_4); lean_dec(x_13); x_3 = x_9; x_4 = x_14; @@ -37675,7 +37801,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -37701,7 +37827,7 @@ goto _start; } } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -37709,7 +37835,7 @@ if (lean_obj_tag(x_1) == 0) lean_object* x_3; lean_object* x_4; lean_object* x_5; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_3, x_3, x_4, x_2); return x_5; } else @@ -37717,21 +37843,21 @@ else lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_6, x_6, x_7, x_2); return x_8; } } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_1, 0); -x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_3, x_2); +x_4 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_3, x_2); return x_4; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -37784,7 +37910,7 @@ lean_inc(x_20); x_21 = lean_box(0); x_22 = lean_apply_1(x_20, x_21); lean_inc(x_4); -x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); +x_23 = l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1(x_4, x_3, x_22, x_7); if (lean_obj_tag(x_23) == 0) { uint8_t x_24; @@ -37798,7 +37924,7 @@ lean_inc(x_26); lean_dec(x_19); x_27 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_28 = lean_apply_1(x_26, x_27); -x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_28, x_25); +x_29 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_28, x_25); lean_dec(x_28); x_30 = lean_unbox(x_17); lean_inc(x_18); @@ -37850,7 +37976,7 @@ lean_inc(x_39); lean_dec(x_19); x_40 = l_PersistentHashMap_empty___at_Lean_Parser_mkBuiltinSyntaxNodeKindSetRef___spec__1; x_41 = lean_apply_1(x_39, x_40); -x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_41, x_37); +x_42 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_41, x_37); lean_dec(x_41); x_43 = lean_unbox(x_17); lean_inc(x_18); @@ -37945,51 +38071,51 @@ return x_63; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__4(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__5(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); return x_5; } } -lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__3(x_1, x_2); +x_3 = l_PersistentHashMap_foldlMAux___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__3(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(x_1, x_2); +x_3 = l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__2(x_1, x_2); lean_dec(x_1); return x_3; } } -lean_object* l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_6); lean_dec(x_6); -x_9 = l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); +x_9 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_8, x_7); lean_dec(x_5); return x_9; } @@ -37998,7 +38124,7 @@ lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object* x_1, _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_Parser_Parser_28__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Lean_Parser_Parser_27__ParserAttribute_add(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } @@ -38048,7 +38174,7 @@ x_5 = l_Lean_registerBuiltinAttribute(x_4, x_3); return x_5; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -38056,23 +38182,23 @@ x_1 = lean_mk_string("invalid parser attribute implementation builder arguments" return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1; +x_1 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_2; } else @@ -38090,7 +38216,7 @@ if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_dec(x_3); -x_5 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_5 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_5; } else @@ -38124,7 +38250,7 @@ lean_object* x_12; lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_12 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_12 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_12; } } @@ -38134,7 +38260,7 @@ lean_object* x_13; lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -x_13 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_13 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_13; } } @@ -38144,13 +38270,13 @@ else lean_object* x_14; lean_dec(x_3); lean_dec(x_1); -x_14 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2; +x_14 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2; return x_14; } } } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1() { _start: { lean_object* x_1; @@ -38158,30 +38284,30 @@ x_1 = lean_mk_string("parserAttr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3() { +lean_object* _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1), 1, 0); return x_1; } } -lean_object* l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_object* x_1) { +lean_object* l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; -x_3 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3; +x_2 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; +x_3 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3; x_4 = l_Lean_registerAttributeImplBuilder(x_2, x_3, x_1); return x_4; } @@ -38213,7 +38339,7 @@ lean_ctor_set(x_13, 1, x_12); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2; +x_15 = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2; x_16 = l_Lean_registerAttributeOfBuilder(x_8, x_15, x_14, x_9); return x_16; } @@ -39652,24 +39778,24 @@ l_Lean_Parser_dollarSymbol___closed__2 = _init_l_Lean_Parser_dollarSymbol___clos lean_mark_persistent(l_Lean_Parser_dollarSymbol___closed__2); l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1(); lean_mark_persistent(l___private_Init_Lean_Parser_Parser_11__noImmediateColon___elambda__1___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__4); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6); -l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7 = _init_l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6); +l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7 = _init_l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7); l_Lean_Parser_mkAntiquot___closed__1 = _init_l_Lean_Parser_mkAntiquot___closed__1(); lean_mark_persistent(l_Lean_Parser_mkAntiquot___closed__1); l_Lean_Parser_mkAntiquot___closed__2 = _init_l_Lean_Parser_mkAntiquot___closed__2(); @@ -39735,30 +39861,30 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Parser_builtinParserCategoriesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_builtinParserCategoriesRef); lean_dec_ref(res); -l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg___closed__2); +l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__1); +l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2 = _init_l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_15__throwParserCategoryAlreadyDefined___rarg___closed__2); l_Lean_Parser_ParserExtensionState_inhabited___closed__1 = _init_l_Lean_Parser_ParserExtensionState_inhabited___closed__1(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited___closed__1); l_Lean_Parser_ParserExtensionState_inhabited = _init_l_Lean_Parser_ParserExtensionState_inhabited(); lean_mark_persistent(l_Lean_Parser_ParserExtensionState_inhabited); -l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__1); -l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__2); -l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__mergePrecendences___closed__3); -l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__1); -l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__2); -l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_21__addTokenConfig___closed__3); +l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__1); +l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__2); +l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3 = _init_l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_19__mergePrecendences___closed__3); +l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__1); +l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__2); +l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3 = _init_l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_20__addTokenConfig___closed__3); l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1 = _init_l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_throwUnknownParserCategory___rarg___closed__1); -l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_23__updateBuiltinTokens___closed__1); +l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1 = _init_l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_22__updateBuiltinTokens___closed__1); l_Lean_Parser_compileParserDescr___main___closed__1 = _init_l_Lean_Parser_compileParserDescr___main___closed__1(); lean_mark_persistent(l_Lean_Parser_compileParserDescr___main___closed__1); l_Lean_Parser_mkParserOfConstantUnsafe___closed__1 = _init_l_Lean_Parser_mkParserOfConstantUnsafe___closed__1(); @@ -39841,27 +39967,27 @@ l_Lean_Parser_declareTrailingBuiltinParser___closed__1 = _init_l_Lean_Parser_dec lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__1); l_Lean_Parser_declareTrailingBuiltinParser___closed__2 = _init_l_Lean_Parser_declareTrailingBuiltinParser___closed__2(); lean_mark_persistent(l_Lean_Parser_declareTrailingBuiltinParser___closed__2); -l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__1); -l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_27__BuiltinParserAttribute_add___closed__2); +l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__1); +l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2 = _init_l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_26__BuiltinParserAttribute_add___closed__2); l_Lean_Parser_registerBuiltinParserAttribute___closed__1 = _init_l_Lean_Parser_registerBuiltinParserAttribute___closed__1(); lean_mark_persistent(l_Lean_Parser_registerBuiltinParserAttribute___closed__1); -l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1(); -lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__1___closed__1); +l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1 = _init_l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1(); +lean_mark_persistent(l_List_foldlM___main___at___private_Init_Lean_Parser_Parser_27__ParserAttribute_add___spec__1___closed__1); l_Lean_Parser_mkParserAttributeImpl___closed__1 = _init_l_Lean_Parser_mkParserAttributeImpl___closed__1(); lean_mark_persistent(l_Lean_Parser_mkParserAttributeImpl___closed__1); -l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__1); -l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___lambda__1___closed__2); -l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__1); -l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__2); -l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder___closed__3); -res = l___private_Init_Lean_Parser_Parser_29__registerParserAttributeImplBuilder(lean_io_mk_world()); +l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__1); +l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___lambda__1___closed__2); +l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__1); +l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__2); +l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3 = _init_l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder___closed__3); +res = l___private_Init_Lean_Parser_Parser_28__registerParserAttributeImplBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_regBuiltinTermParserAttr___closed__1 = _init_l_Lean_Parser_regBuiltinTermParserAttr___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Parser/Syntax.c b/stage0/stdlib/Init/Lean/Parser/Syntax.c index ff6e7077fd..6f8cd74c1e 100644 --- a/stage0/stdlib/Init/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Init/Lean/Parser/Syntax.c @@ -65,7 +65,6 @@ lean_object* l_Lean_Parser_Command_macroTailDefault___closed__8; lean_object* l_Lean_Parser_Command_reserve___elambda__1___closed__7; lean_object* l_Lean_Parser_regBuiltinSyntaxParserAttr___closed__2; lean_object* l_Lean_Parser_Command_infixr___elambda__1(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; extern lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__5; @@ -384,6 +383,7 @@ lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_reserve; lean_object* l_Lean_Parser_Syntax_sepBy___closed__1; lean_object* l_Lean_Parser_Command_mixfixKind; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Syntax_ident___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroTailDefault___closed__6; @@ -399,6 +399,7 @@ lean_object* l_Lean_Parser_Syntax_atom___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_sepBy(lean_object*); lean_object* l_Lean_Parser_Syntax_atom; lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__8; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; extern lean_object* l_Lean_Parser_mkAntiquot___closed__7; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__1; lean_object* l_Lean_Parser_Command_identPrec___closed__4; @@ -422,7 +423,6 @@ lean_object* l_Lean_Parser_precedence; lean_object* l_Lean_Parser_quotedSymbolFn___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; lean_object* l_Lean_Parser_precedenceLit___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Syntax_optional; lean_object* l_Lean_Parser_Syntax_atom___closed__1; lean_object* l_Lean_Parser_Command_macroTailTactic___closed__4; @@ -467,7 +467,6 @@ lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Parser_Syntax_cat___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_reserve___closed__6; lean_object* l_Lean_Parser_Syntax_sepBy1___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; extern lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__4; @@ -492,6 +491,7 @@ lean_object* l_Lean_Parser_Command_macroTailTactic___closed__6; lean_object* l_Lean_Parser_Command_notation___closed__1; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__4; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Syntax_lookahead___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__8; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); @@ -504,7 +504,6 @@ extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Command_macroTailDefault; lean_object* l_Lean_Parser_Command_mixfix___closed__6; lean_object* l_Lean_Parser_unquotedSymbol(uint8_t); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_ident___closed__1; extern lean_object* l_Lean_Parser_Term_typeAscription___closed__1; @@ -544,7 +543,6 @@ lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_mixfixKind___closed__6; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__8; extern lean_object* l_Lean_Level_LevelToFormat_Result_format___main___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Syntax_orelse___closed__2; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_char___closed__3; @@ -611,6 +609,7 @@ lean_object* l_Lean_Parser_precedence___closed__2; lean_object* l_Lean_Parser_Syntax_char___elambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; lean_object* l_Lean_Parser_Command_infixr___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__4; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; @@ -649,6 +648,7 @@ lean_object* l_Lean_Parser_maxPrec___closed__1; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Command_syntax(lean_object*); lean_object* l_Lean_Parser_Syntax_atom___closed__3; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_quotedSymbolPrec___closed__6; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; @@ -1549,7 +1549,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1569,7 +1569,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = l_Lean_Parser_Syntax_paren___elambda__1___closed__4; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -1648,7 +1648,7 @@ lean_object* x_71; lean_object* x_72; uint8_t x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_72 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_73 = lean_string_dec_eq(x_71, x_72); lean_dec(x_71); if (x_73 == 0) @@ -1713,7 +1713,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -1852,7 +1852,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Syntax_paren___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -1861,7 +1861,7 @@ lean_object* _init_l_Lean_Parser_Syntax_paren___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Syntax_paren___closed__2; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -11277,7 +11277,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_17 = lean_string_dec_eq(x_15, x_16); lean_dec(x_15); if (x_17 == 0) @@ -11706,7 +11706,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_12 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_13 = lean_string_dec_eq(x_11, x_12); lean_dec(x_11); if (x_13 == 0) @@ -12038,7 +12038,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_stxQuot___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -12339,7 +12339,7 @@ lean_object* x_35; lean_object* x_36; uint8_t x_37; x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_36 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_36 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_37 = lean_string_dec_eq(x_35, x_36); lean_dec(x_35); if (x_37 == 0) @@ -12551,7 +12551,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_macroTailDefault___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } diff --git a/stage0/stdlib/Init/Lean/Parser/Tactic.c b/stage0/stdlib/Init/Lean/Parser/Tactic.c index d1666f1b69..a32a005377 100644 --- a/stage0/stdlib/Init/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Init/Lean/Parser/Tactic.c @@ -50,7 +50,6 @@ extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_seq; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Tactic_seq___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__5; @@ -235,6 +234,7 @@ lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1(lean_object*, l extern lean_object* l_Lean_Parser_Level_ident___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_apply; lean_object* l_Lean_Parser_Tactic_assumption___closed__5; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__7; @@ -242,6 +242,7 @@ lean_object* l_Lean_Parser_Tactic_paren___closed__2; lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_tacticStxQuot___closed__1; extern lean_object* l_Lean_Parser_Term_seq___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__1; @@ -255,7 +256,6 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_tacticStxQuot___closed__2; lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_underscoreFn(uint8_t, lean_object*); @@ -271,7 +271,6 @@ lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_allGoals(lean_object*); lean_object* l_Lean_Parser_Tactic_underscoreFn___rarg___closed__3; lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Tactic_refine___closed__4; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_exact; @@ -281,6 +280,7 @@ lean_object* l_Lean_Parser_regTacticParserAttribute(lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; lean_object* l_Lean_Parser_Tactic_paren___closed__6; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_underscoreFn___rarg___closed__2; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__6; @@ -289,7 +289,6 @@ lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__4; lean_object* l_Lean_Parser_Tactic_assumption___closed__3; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_tacticBlock___closed__4; lean_object* l_Lean_Parser_Term_tacticBlock___closed__1; @@ -307,7 +306,6 @@ lean_object* l_Lean_Parser_Tactic_intros; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__7; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_paren(lean_object*); @@ -343,6 +341,7 @@ lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_skip(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__4; @@ -370,6 +369,7 @@ lean_object* l_Lean_Parser_Tactic_paren; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_intro; lean_object* l_Lean_Parser_tacticParser___boxed(lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Tactic_refine; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_seq___elambda__1(lean_object*, lean_object*, lean_object*); @@ -3675,7 +3675,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3695,7 +3695,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = l_Lean_Parser_Tactic_paren___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -3774,7 +3774,7 @@ lean_object* x_58; lean_object* x_59; uint8_t x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_59 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_60 = lean_string_dec_eq(x_58, x_59); lean_dec(x_58); if (x_60 == 0) @@ -3847,7 +3847,7 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_27 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_28 = lean_string_dec_eq(x_26, x_27); lean_dec(x_26); if (x_28 == 0) @@ -3934,7 +3934,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_nonEmptySeq; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -3943,7 +3943,7 @@ lean_object* _init_l_Lean_Parser_Tactic_paren___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Tactic_paren___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -5580,7 +5580,7 @@ lean_object* x_17; lean_object* x_18; uint8_t x_19; x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_18 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_19 = lean_string_dec_eq(x_17, x_18); lean_dec(x_17); if (x_19 == 0) @@ -5660,7 +5660,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_seq___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Init/Lean/Parser/Term.c b/stage0/stdlib/Init/Lean/Parser/Term.c index 101ba1c240..b4031d5447 100644 --- a/stage0/stdlib/Init/Lean/Parser/Term.c +++ b/stage0/stdlib/Init/Lean/Parser/Term.c @@ -31,6 +31,7 @@ lean_object* l_Lean_Parser_Term_iff___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_not; extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_Parser_Term_letIdDecl; lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_matchAlts___closed__3; @@ -85,7 +86,6 @@ lean_object* l_Lean_Parser_Term_sub___elambda__1(lean_object*, lean_object*, lea lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2(lean_object*, uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_optType___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__8; lean_object* l___regBuiltinParser_Lean_Parser_Term_dollarProj(lean_object*); lean_object* l_Lean_Parser_darrow___elambda__1___boxed(lean_object*); @@ -177,7 +177,6 @@ lean_object* l_Lean_Parser_Term_seqLeft___closed__2; lean_object* l_Lean_Parser_Term_namedArgument___closed__5; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show___elambda__1___closed__8; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Term_match; lean_object* l_Lean_Parser_Term_depArrow; lean_object* l_Lean_Parser_Term_heq___elambda__1___closed__1; @@ -199,6 +198,7 @@ lean_object* l_Lean_Parser_Term_inaccessible___closed__4; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_show___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___closed__7; +lean_object* l_Lean_Parser_Term_matchAlt___closed__8; lean_object* l_Lean_Parser_Term_prod___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__1; lean_object* l_Lean_Parser_sepByFn___at_Lean_Parser_Term_anonymousCtor___elambda__1___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); @@ -211,7 +211,6 @@ lean_object* l_Lean_Parser_Term_simpleBinder___closed__1; lean_object* l_Lean_Parser_Term_do___closed__3; lean_object* l_Lean_Parser_Term_div___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_if___closed__10; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___rarg___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_let__core(lean_object*); @@ -240,6 +239,7 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_parenSpecial___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__2; +lean_object* l_Lean_Parser_pushNone(uint8_t); lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_match___elambda__1___closed__8; @@ -251,7 +251,6 @@ lean_object* l_Lean_Parser_Term_doId___closed__5; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_instBinder___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_letSimpleDecl___closed__2; lean_object* l_Lean_Parser_Term_have___closed__3; lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_darrow___elambda__1___rarg___closed__6; @@ -350,6 +349,7 @@ lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_listLit___closed__2; lean_object* l_Lean_Parser_Term_band___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_letPatDecl___closed__8; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_seqRight___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__6; @@ -490,6 +490,7 @@ lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_listLit___elambda__1___spec__2___closed__2; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__13; extern lean_object* l_Sigma_HasRepr___rarg___closed__2; +lean_object* l_Lean_Parser_Term_letPatDecl___closed__6; lean_object* l_Lean_Parser_Term_bor___closed__1; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__8; @@ -552,6 +553,7 @@ lean_object* l_Lean_Parser_Term_paren___closed__1; lean_object* l_Lean_Parser_Term_add___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl___closed__1; lean_object* l_Lean_Parser_Term_binderType___elambda__1(lean_object*); +lean_object* l_Lean_Parser_Term_letIdDecl___closed__10; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_add___elambda__1___closed__2; @@ -579,6 +581,7 @@ lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_binderDefault; lean_object* l_Lean_Parser_unicodeSymbolFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__5; +lean_object* l_Lean_Parser_tryFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__9; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__1; @@ -619,6 +622,7 @@ lean_object* l_Lean_Parser_Term_match___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__3; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__2; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; lean_object* l_Lean_Parser_Term_arrow; lean_object* l_Lean_Parser_Term_letIdLhs___closed__5; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__1; @@ -714,6 +718,7 @@ lean_object* l_Lean_Parser_Term_proj___closed__9; lean_object* l_Lean_Parser_Term_parenSpecial___closed__3; lean_object* l_Lean_Parser_Term_ne___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__4; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_listLit; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); @@ -785,7 +790,6 @@ lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_let__core___closed__7; lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_orM___closed__1; -lean_object* l_Lean_Parser_Term_letSimpleDecl___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_sub___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_equiv___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__1; @@ -917,7 +921,6 @@ lean_object* l_Lean_Parser_Term_nomatch___elambda__1(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_type(lean_object*); lean_object* l_Lean_Parser_Term_binderIdent___closed__1; -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstSource___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_ge___closed__3; lean_object* l_Lean_Parser_Term_structInstSource; @@ -973,6 +976,7 @@ lean_object* l_Lean_Parser_Term_ne___closed__2; lean_object* l_Lean_Parser_Term_fcomp___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__3; +lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_orM___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object*); @@ -1016,6 +1020,7 @@ lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__1; extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_letPatDecl___closed__7; lean_object* l_Lean_Parser_Term_let__core___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*); lean_object* l_Lean_Parser_Term_do___elambda__1___closed__3; @@ -1067,7 +1072,6 @@ lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_namedPattern___closed__5; lean_object* l_Lean_Parser_Term_mod___closed__1; lean_object* l_Lean_Parser_Term_explicitBinder(uint8_t); -lean_object* l_Lean_Parser_Term_letSimpleDecl___closed__1; lean_object* l_Lean_Parser_Term_type___closed__1; lean_object* l_Lean_Parser_Term_arrow___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_subtype(lean_object*); @@ -1078,7 +1082,6 @@ lean_object* l_Lean_Parser_Term_orM___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_equiv___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_subtype___closed__3; -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_beq___elambda__1___closed__2; @@ -1134,6 +1137,7 @@ lean_object* l_Lean_Parser_Term_emptyC___closed__1; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_match__syntax___closed__4; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__15(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_show___closed__7; lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___elambda__1___closed__1; @@ -1163,6 +1167,7 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_typeAscription___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_have___closed__10; lean_object* l_Lean_Parser_Term_arrayRef___closed__6; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__15; @@ -1238,11 +1243,11 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_typeAscription___closed__7; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_nomatch___closed__1; +lean_object* l_Lean_Parser_Term_matchAlt___closed__10; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fcomp___closed__1; lean_object* l_Lean_Parser_Term_where___closed__5; lean_object* l_Lean_Parser_Term_dollar___closed__6; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___closed__2; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_explicit___closed__3; @@ -1271,7 +1276,6 @@ lean_object* l_Lean_Parser_Term_beq___closed__3; lean_object* l_Lean_Parser_Term_id___closed__1; lean_object* l_Lean_Parser_Term_haveAssign___closed__6; lean_object* l_Lean_Parser_Term_arrayRef___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; extern lean_object* l_Lean_Parser_appPrec; lean_object* l_Lean_Parser_Term_bnot___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_namedArgument___closed__8; @@ -1282,6 +1286,7 @@ lean_object* l_Lean_Parser_Term_sort___closed__3; lean_object* l_Lean_Parser_Term_let___closed__7; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_mul___closed__1; +lean_object* l_Lean_Parser_nodeWithAntiquot(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_proj___closed__7; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; @@ -1300,6 +1305,7 @@ 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; lean_object* l_Lean_Parser_Term_let__core___elambda__1___closed__12; +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; lean_object* l_Lean_Parser_Term_mod___closed__2; @@ -1324,7 +1330,6 @@ lean_object* l_Lean_Parser_Term_seqRight; lean_object* l_Lean_Parser_Term_bindOp; lean_object* l_Lean_Parser_Term_doPat___closed__10; lean_object* l_Lean_Parser_Term_simpleBinder; -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bor___elambda__1___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_explicitUniv___elambda__1___spec__2(uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_div___elambda__1___closed__3; @@ -1366,7 +1371,6 @@ lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___rarg___closed__7; lean_object* l_Lean_Parser_Term_prop___closed__1; lean_object* l_Lean_Parser_Term_subst___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_binderType___boxed(lean_object*); -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_binderType___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_match__syntax(lean_object*); lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__9; @@ -1381,7 +1385,6 @@ lean_object* l_Lean_Parser_Term_structInstSource___elambda__1___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_prod___closed__1; lean_object* l_Lean_Parser_Term_subst___closed__3; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_Term_arrayLit___closed__5; lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_if___closed__5; @@ -1403,7 +1406,6 @@ lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_categoryParser(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall___closed__2; -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_num; lean_object* l_Lean_Parser_Term_bracketedDoSeq___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_listLit___closed__10; @@ -1435,7 +1437,6 @@ lean_object* l_Lean_Parser_Term_equiv___closed__1; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_not___closed__7; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__1; -lean_object* l_Lean_Parser_Term_letSimpleDecl___closed__3; lean_object* l_Lean_Parser_Term_add___closed__2; lean_object* l_Lean_Parser_Term_listLit___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doSeq___closed__3; @@ -1458,6 +1459,7 @@ lean_object* l_Lean_Parser_darrow___closed__2; lean_object* l_Lean_Parser_Term_show___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_uminus(lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_haveAssign___closed__4; lean_object* l_Lean_Parser_Term_seqRight___elambda__1___closed__1; @@ -1491,8 +1493,8 @@ lean_object* l_Lean_Parser_Term_have___closed__4; lean_object* l_Lean_Parser_Term_mod___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_append___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_num___closed__3; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__5; lean_object* l_Lean_Parser_Term_match___closed__4; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_app___closed__5; lean_object* l_Lean_Parser_Term_if___elambda__1___closed__8; @@ -1510,6 +1512,7 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ extern lean_object* l_Lean_mkHole___closed__1; lean_object* l_Lean_Parser_Term_forall___closed__4; lean_object* l_Lean_Parser_Term_add___closed__1; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__3; lean_object* l_Lean_Parser_Term_le___closed__2; lean_object* l_Lean_Parser_Term_match___closed__8; lean_object* l_Lean_Parser_Term_mul___closed__3; @@ -1525,6 +1528,7 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_let___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_bne___closed__2; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_letIdDecl___closed__7; lean_object* l_Lean_Parser_Term_where___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_subtype___closed__10; lean_object* l_Lean_Parser_Term_append___elambda__1(lean_object*, lean_object*, lean_object*); @@ -1545,6 +1549,7 @@ lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__11; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__11(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_if___closed__6; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__2; lean_object* l_Lean_Parser_Term_char; lean_object* l_Lean_Parser_Term_structInstField___closed__5; lean_object* l_Lean_Parser_Term_matchAlts___closed__2; @@ -1591,8 +1596,8 @@ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1 lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__3; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__17(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__1; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; lean_object* l_Lean_Parser_Term_haveAssign___closed__5; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__1; lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_matchAlt___closed__2; @@ -1612,7 +1617,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_not___closed__8; lean_object* l_Lean_Parser_Term_implicitBinder___boxed(lean_object*); lean_object* l_Lean_Parser_Term_mapConst___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_letSimpleDecl; lean_object* l_Lean_Parser_Term_if___closed__9; lean_object* l_Lean_Parser_Term_doLet___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_modN(lean_object*); @@ -1674,6 +1678,7 @@ lean_object* l_Lean_Parser_Term_and___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_equiv___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_letIdDecl___closed__8; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_binderType___closed__6; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1(lean_object*, lean_object*, lean_object*); @@ -1682,6 +1687,7 @@ lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_forall___closed__5; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__18(lean_object*, uint8_t, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_pow; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__4; lean_object* l_Lean_Parser_Term_leftArrow___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___closed__6; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__7; @@ -1697,6 +1703,7 @@ lean_object* l_Lean_Parser_Term_dollarProj___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_let__core___closed__4; lean_object* l_Lean_Parser_Term_explicit; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__7; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_arrow(lean_object*); lean_object* l_Lean_Parser_Term_modN___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_sortApp(lean_object*); @@ -1708,6 +1715,7 @@ lean_object* l_Lean_Parser_Term_matchAlts___closed__5; lean_object* l_Lean_Parser_Term_bor___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doId___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_mapConst___elambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_letIdDecl___closed__9; lean_object* l_Lean_Parser_Term_hole___closed__3; lean_object* l_Lean_Parser_Term_structInstSource___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_namedHole___closed__2; @@ -1777,6 +1785,7 @@ lean_object* l_Lean_Parser_Term_borrowed___closed__2; lean_object* l_Lean_Parser_Term_mapRev___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_uminus___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_bindOp___elambda__1___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; lean_object* l_Lean_Parser_Term_suffices; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_mapConstRev; @@ -1870,6 +1879,7 @@ lean_object* l_Lean_Parser_Term_and___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__10; extern lean_object* l_Lean_Parser_Parser_inhabited___closed__1; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_tparser_x21___closed__6; lean_object* l_Lean_Parser_Term_doLet; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__7; @@ -1881,7 +1891,6 @@ lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_ lean_object* l_Lean_Parser_Term_sortApp___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__7; lean_object* l_Lean_Parser_Term_seq___closed__1; -lean_object* l_Lean_Parser_Term_letSimpleDecl___closed__4; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__13(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_paren(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_if(lean_object*); @@ -1915,6 +1924,7 @@ lean_object* l_Lean_Parser_Term_char___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_bnot___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let; +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; lean_object* l_Lean_Parser_Term_depArrow___closed__3; lean_object* l_Lean_Parser_Term_namedHole___closed__1; lean_object* l_Lean_Parser_Term_map; @@ -1936,6 +1946,7 @@ lean_object* l_Lean_Parser_Term_arrayRef___closed__3; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_hole___closed__1; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__13; +lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__4; lean_object* l_Lean_Parser_Term_prop___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_borrowed___closed__1; @@ -1951,6 +1962,7 @@ lean_object* l_Lean_Parser_Term_binderTactic___closed__5; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__3; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_matchAlts___elambda__1___spec__7(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__3; +lean_object* l_Lean_Parser_Term_letIdDecl___closed__6; lean_object* l_Lean_Parser_Term_app___closed__4; lean_object* _init_l_Lean_Parser_darrow___elambda__1___rarg___closed__1() { _start: @@ -7566,7 +7578,7 @@ lean_object* _init_l_Lean_Parser_Term_paren___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -7577,7 +7589,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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__1; x_3 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -7656,7 +7668,7 @@ lean_object* x_84; lean_object* x_85; uint8_t x_86; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_85 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_86 = lean_string_dec_eq(x_84, x_85); lean_dec(x_84); if (x_86 == 0) @@ -7721,7 +7733,7 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_25 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -7729,7 +7741,7 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_27 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_27, x_19); -x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_30 = l_Lean_Parser_ParserState_mkNode(x_28, x_29, x_16); x_31 = l_Lean_Parser_mergeOrElseErrors(x_30, x_11, x_8); lean_dec(x_8); @@ -7739,7 +7751,7 @@ else { lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_dec(x_19); -x_32 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_32 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_33 = l_Lean_Parser_ParserState_mkNode(x_20, x_32, x_16); x_34 = l_Lean_Parser_mergeOrElseErrors(x_33, x_11, x_8); lean_dec(x_8); @@ -7752,7 +7764,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean lean_dec(x_23); x_35 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_36 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_35, x_19); -x_37 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_37 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_38 = l_Lean_Parser_ParserState_mkNode(x_36, x_37, x_16); x_39 = l_Lean_Parser_mergeOrElseErrors(x_38, x_11, x_8); lean_dec(x_8); @@ -7765,7 +7777,7 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean lean_dec(x_21); x_40 = l_Lean_Parser_Level_paren___elambda__1___closed__8; x_41 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_40, x_19); -x_42 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_42 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_43 = l_Lean_Parser_ParserState_mkNode(x_41, x_42, x_16); x_44 = l_Lean_Parser_mergeOrElseErrors(x_43, x_11, x_8); lean_dec(x_8); @@ -7777,7 +7789,7 @@ else lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_dec(x_18); lean_dec(x_2); -x_45 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_45 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_46 = l_Lean_Parser_ParserState_mkNode(x_17, x_45, x_16); x_47 = l_Lean_Parser_mergeOrElseErrors(x_46, x_11, x_8); lean_dec(x_8); @@ -7883,7 +7895,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_dec(x_50); lean_dec(x_2); lean_dec(x_1); -x_76 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_76 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_77 = l_Lean_Parser_ParserState_mkNode(x_49, x_76, x_16); x_78 = l_Lean_Parser_mergeOrElseErrors(x_77, x_11, x_8); lean_dec(x_8); @@ -7922,7 +7934,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_paren___closed__2; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -7941,7 +7953,7 @@ lean_object* _init_l_Lean_Parser_Term_paren___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_2 = l_Lean_Parser_Term_paren___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -7993,7 +8005,7 @@ _start: uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = 0; x_3 = l_Lean_Parser_termParser___closed__2; -x_4 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_4 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_5 = l_Lean_Parser_Term_paren; x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -16233,7 +16245,7 @@ lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_29 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_30 = lean_string_dec_eq(x_28, x_29); lean_dec(x_28); if (x_30 == 0) @@ -16329,7 +16341,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -17501,7 +17513,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_explicitBinder___closed__4; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -17511,7 +17523,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_explicitBinder___closed__5; -x_2 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__7; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -17542,9 +17554,9 @@ x_12 = l_Lean_Parser_Term_explicitBinder___closed__1; x_13 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_13, 0, x_12); lean_closure_set(x_13, 1, x_10); -x_14 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_14 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_15 = l_Lean_Parser_andthenInfo(x_14, x_11); -x_16 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__3; +x_16 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__3; x_17 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); lean_closure_set(x_17, 0, x_16); lean_closure_set(x_17, 1, x_13); @@ -19709,7 +19721,7 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__1() { +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__1() { _start: { lean_object* x_1; @@ -19717,147 +19729,17 @@ x_1 = lean_mk_string("matchAlt"); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__2() { +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_matchAlt___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__4() { -_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_Parser_Term_matchAlt___elambda__1___closed__1; -x_3 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__3; -x_4 = 0; -x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_Parser_Term_matchAlt___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* 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; -x_4 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__4; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -x_7 = lean_array_get_size(x_6); -lean_dec(x_6); -x_8 = lean_ctor_get(x_3, 1); -lean_inc(x_8); -lean_inc(x_2); -lean_inc(x_1); -x_9 = lean_apply_3(x_5, x_1, x_2, x_3); -x_10 = lean_ctor_get(x_9, 3); -lean_inc(x_10); -if (lean_obj_tag(x_10) == 0) -{ -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -x_13 = lean_nat_dec_eq(x_12, x_8); -lean_dec(x_12); -if (x_13 == 0) -{ -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_inc(x_8); -x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); -lean_dec(x_7); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = 0; -lean_inc(x_2); -x_19 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_tupleTail___elambda__1___spec__1(x_17, x_18, x_18, x_1, x_2, x_14); -lean_dec(x_1); -x_20 = lean_ctor_get(x_19, 3); -lean_inc(x_20); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; -lean_inc(x_2); -x_21 = l_Lean_Parser_darrow___elambda__1___rarg(x_2, x_19); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = l_Lean_Parser_termParser___closed__2; -x_24 = lean_unsigned_to_nat(0u); -x_25 = l_Lean_Parser_categoryParserFn(x_23, x_24, x_2, x_21); -x_26 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_16); -x_28 = l_Lean_Parser_mergeOrElseErrors(x_27, x_11, x_8); -lean_dec(x_8); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_22); -lean_dec(x_2); -x_29 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_16); -x_31 = l_Lean_Parser_mergeOrElseErrors(x_30, x_11, x_8); -lean_dec(x_8); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_20); -lean_dec(x_2); -x_32 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_33 = l_Lean_Parser_ParserState_mkNode(x_19, x_32, x_16); -x_34 = l_Lean_Parser_mergeOrElseErrors(x_33, x_11, x_8); -lean_dec(x_8); -return x_34; -} -} -} -} -} -lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__1() { +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -19869,7 +19751,23 @@ x_4 = l_Lean_Parser_sepBy1Info(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__2() { +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__4() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = 0; +x_2 = 0; +x_3 = lean_box(x_1); +x_4 = lean_box(x_2); +x_5 = lean_box(x_2); +x_6 = lean_alloc_closure((void*)(l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_tupleTail___elambda__1___spec__1___boxed), 6, 3); +lean_closure_set(x_6, 0, x_3); +lean_closure_set(x_6, 1, x_4); +lean_closure_set(x_6, 2, x_5); +return x_6; +} +} +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -19883,63 +19781,69 @@ x_5 = l_Lean_Parser_andthenInfo(x_4, x_2); return x_5; } } -lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_matchAlt___closed__1; -x_2 = l_Lean_Parser_Term_matchAlt___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_matchAlt___closed__3; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__4; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_matchAlt___closed__4; -x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); -return x_4; -} -} lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_matchAlt___elambda__1), 3, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_darrow___closed__2; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_matchAlt___closed__5; +x_1 = l_Lean_Parser_Term_matchAlt___closed__3; +x_2 = l_Lean_Parser_Term_matchAlt___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_matchAlt___closed__4; x_2 = l_Lean_Parser_Term_matchAlt___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_matchAlt___closed__7; +x_2 = l_Lean_Parser_Term_matchAlt___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } +lean_object* _init_l_Lean_Parser_Term_matchAlt___closed__10() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_Parser_Term_matchAlt___closed__1; +x_3 = l_Lean_Parser_Term_matchAlt___closed__2; +x_4 = l_Lean_Parser_Term_matchAlt___closed__9; +x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} lean_object* _init_l_Lean_Parser_Term_matchAlt() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_matchAlt___closed__7; +x_1 = l_Lean_Parser_Term_matchAlt___closed__10; return x_1; } } @@ -20003,66 +19907,69 @@ return x_1; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -20070,170 +19977,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -20256,66 +20163,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__4(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -20323,170 +20233,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -20509,66 +20419,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__6(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -20576,170 +20489,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -20762,66 +20675,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__8(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -20829,170 +20745,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -21015,66 +20931,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__10(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -21082,170 +21001,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -21268,66 +21187,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__12(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -21335,170 +21257,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -21521,66 +21443,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__14(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -21588,170 +21513,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -21774,66 +21699,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__16(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -21841,170 +21769,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -22027,66 +21955,69 @@ return x_11; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__18(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_array_get_size(x_10); -lean_dec(x_10); -x_12 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_Parser_Term_matchAlt; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); lean_inc(x_8); lean_inc(x_7); -x_13 = l_Lean_Parser_Term_matchAlt___elambda__1(x_7, x_8, x_9); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_3(x_11, x_7, x_8, x_9); +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_32; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_ctor_get(x_13, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_34; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_14); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_49, 2); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_FileMap_toPosition(x_50, x_17); -lean_dec(x_50); -x_52 = lean_ctor_get(x_51, 1); +x_18 = lean_array_get_size(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +x_51 = lean_ctor_get(x_8, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_51, 2); lean_inc(x_52); lean_dec(x_51); -x_53 = lean_nat_dec_le(x_1, x_52); +x_53 = l_Lean_FileMap_toPosition(x_52, x_19); lean_dec(x_52); -if (x_53 == 0) +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_nat_dec_le(x_1, x_54); +lean_dec(x_54); +if (x_55 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; -x_55 = l_Lean_Parser_ParserState_mkError(x_13, x_54); -x_32 = x_55; -goto block_48; +lean_object* x_56; lean_object* x_57; +x_56 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__6; +x_57 = l_Lean_Parser_ParserState_mkError(x_15, x_56); +x_34 = x_57; +goto block_50; } else { -x_32 = x_13; -goto block_48; +x_34 = x_15; +goto block_50; } -block_31: +block_33: { -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_21; +x_21 = lean_ctor_get(x_20, 3); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) { -lean_dec(x_17); -lean_dec(x_16); +lean_dec(x_19); +lean_dec(x_18); { uint8_t _tmp_5 = x_3; -lean_object* _tmp_8 = x_18; +lean_object* _tmp_8 = x_20; x_6 = _tmp_5; x_9 = _tmp_8; } @@ -22094,170 +22025,170 @@ goto _start; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_dec(x_19); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +lean_dec(x_21); lean_dec(x_8); lean_dec(x_7); -x_21 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); -lean_dec(x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_array_get_size(x_22); -lean_dec(x_22); -x_24 = lean_nat_sub(x_23, x_4); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_dec_eq(x_24, x_25); +x_23 = l_Lean_Parser_ParserState_restore(x_20, x_18, x_19); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_array_get_size(x_24); lean_dec(x_24); -if (x_26 == 0) +x_26 = lean_nat_sub(x_25, x_4); +lean_dec(x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_dec_eq(x_26, x_27); +lean_dec(x_26); +if (x_28 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_nullKind; -x_28 = l_Lean_Parser_ParserState_mkNode(x_21, x_27, x_4); -return x_28; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_nullKind; +x_30 = l_Lean_Parser_ParserState_mkNode(x_23, x_29, x_4); +return x_30; } else { if (x_5 == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_nullKind; -x_30 = l_Lean_Parser_ParserState_mkNode(x_21, x_29, x_4); -return x_30; +lean_object* x_31; lean_object* x_32; +x_31 = l_Lean_nullKind; +x_32 = l_Lean_Parser_ParserState_mkNode(x_23, x_31, x_4); +return x_32; } else { lean_dec(x_4); -return x_21; +return x_23; } } } } -block_48: +block_50: { -lean_object* x_33; -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -if (lean_obj_tag(x_33) == 0) +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_inc(x_8); -x_35 = l_Lean_Parser_tokenFn(x_8, x_32); -x_36 = lean_ctor_get(x_35, 3); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) +lean_inc(x_8); +x_37 = l_Lean_Parser_tokenFn(x_8, x_34); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_37); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 2) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; -x_41 = lean_string_dec_eq(x_39, x_40); +x_40 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_39); lean_dec(x_39); -if (x_41 == 0) +if (lean_obj_tag(x_40) == 2) { -lean_object* x_42; lean_object* x_43; -x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_43 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_42, x_34); -x_18 = x_43; -goto block_31; -} -else -{ -lean_dec(x_34); -x_18 = x_35; -goto block_31; -} -} -else +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__2; +x_43 = lean_string_dec_eq(x_41, x_42); +lean_dec(x_41); +if (x_43 == 0) { lean_object* x_44; lean_object* x_45; -lean_dec(x_38); x_44 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_44, x_34); -x_18 = x_45; -goto block_31; +x_45 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_44, x_36); +x_20 = x_45; +goto block_33; +} +else +{ +lean_dec(x_36); +x_20 = x_37; +goto block_33; } } else { lean_object* x_46; lean_object* x_47; -lean_dec(x_36); +lean_dec(x_40); x_46 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; -x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_35, x_46, x_34); -x_18 = x_47; -goto block_31; +x_47 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_46, x_36); +x_20 = x_47; +goto block_33; } } else { -lean_dec(x_33); -x_18 = x_32; -goto block_31; +lean_object* x_48; lean_object* x_49; +lean_dec(x_38); +x_48 = l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__5; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_37, x_48, x_36); +x_20 = x_49; +goto block_33; +} +} +else +{ +lean_dec(x_35); +x_20 = x_34; +goto block_33; } } } else { -lean_dec(x_14); +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); if (x_6 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_12); -lean_dec(x_11); -x_56 = lean_box(0); -x_57 = l_Lean_Parser_ParserState_pushSyntax(x_13, x_56); -x_58 = l_Lean_nullKind; -x_59 = l_Lean_Parser_ParserState_mkNode(x_57, x_58, x_4); -return x_59; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_14); +lean_dec(x_13); +x_58 = lean_box(0); +x_59 = l_Lean_Parser_ParserState_pushSyntax(x_15, x_58); +x_60 = l_Lean_nullKind; +x_61 = l_Lean_Parser_ParserState_mkNode(x_59, x_60, x_4); +return x_61; } else { -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 = l_Lean_Parser_ParserState_restore(x_13, x_11, x_12); -lean_dec(x_11); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_nat_sub(x_62, x_4); -lean_dec(x_62); -x_64 = lean_unsigned_to_nat(2u); -x_65 = lean_nat_dec_eq(x_63, x_64); +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_62 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_14); +lean_dec(x_13); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_array_get_size(x_63); lean_dec(x_63); -if (x_65 == 0) +x_65 = lean_nat_sub(x_64, x_4); +lean_dec(x_64); +x_66 = lean_unsigned_to_nat(2u); +x_67 = lean_nat_dec_eq(x_65, x_66); +lean_dec(x_65); +if (x_67 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_nullKind; -x_67 = l_Lean_Parser_ParserState_mkNode(x_60, x_66, x_4); -return x_67; +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_nullKind; +x_69 = l_Lean_Parser_ParserState_mkNode(x_62, x_68, x_4); +return x_69; } else { if (x_5 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = l_Lean_nullKind; -x_69 = l_Lean_Parser_ParserState_mkNode(x_60, x_68, x_4); -return x_69; +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_nullKind; +x_71 = l_Lean_Parser_ParserState_mkNode(x_62, x_70, x_4); +return x_71; } else { -lean_object* x_70; +lean_object* x_72; lean_dec(x_4); -x_70 = l_Lean_Parser_ParserState_popSyntax(x_60); -return x_70; +x_72 = l_Lean_Parser_ParserState_popSyntax(x_62); +return x_72; } } } @@ -23381,7 +23312,7 @@ lean_object* _init_l_Lean_Parser_Term_match___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_matchAlt___closed__1; +x_1 = l_Lean_Parser_Term_matchAlt___closed__3; x_2 = l_Lean_Parser_Term_match___closed__4; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -25532,177 +25463,35 @@ x_1 = l_Lean_Parser_Term_letIdLhs___closed__6; return x_1; } } -lean_object* l_Lean_Parser_Term_letSimpleDecl___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__1() { _start: { -lean_object* 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_18; lean_object* x_19; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -x_6 = lean_array_get_size(x_4); -lean_dec(x_4); -lean_inc(x_2); -x_18 = l_Lean_Parser_Term_letIdLhs___elambda__1(x_1, x_2, x_3); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +lean_object* x_1; +x_1 = lean_mk_string("letDecl"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__2() { +_start: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_inc(x_2); -x_21 = l_Lean_Parser_tokenFn(x_2, x_18); -x_22 = lean_ctor_get(x_21, 3); -lean_inc(x_22); -if (lean_obj_tag(x_22) == 0) +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l_Lean_Parser_Term_letIdDecl___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__3() { +_start: { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -x_24 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_23); -lean_dec(x_23); -if (lean_obj_tag(x_24) == 2) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; -x_27 = lean_string_dec_eq(x_25, x_26); -lean_dec(x_25); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_29 = l_Lean_Parser_ParserState_mkErrorsAt(x_21, x_28, x_20); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 2); -lean_inc(x_31); -x_32 = lean_ctor_get(x_29, 3); -lean_inc(x_32); -x_7 = x_29; -x_8 = x_30; -x_9 = x_31; -x_10 = x_32; -goto block_17; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_20); -x_33 = lean_ctor_get(x_21, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_21, 2); -lean_inc(x_34); -x_35 = lean_ctor_get(x_21, 3); -lean_inc(x_35); -x_7 = x_21; -x_8 = x_33; -x_9 = x_34; -x_10 = x_35; -goto block_17; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbolFn___rarg___boxed), 4, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_24); -x_36 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_21, x_36, x_20); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 2); -lean_inc(x_39); -x_40 = lean_ctor_get(x_37, 3); -lean_inc(x_40); -x_7 = x_37; -x_8 = x_38; -x_9 = x_39; -x_10 = x_40; -goto block_17; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_22); -x_41 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_42 = l_Lean_Parser_ParserState_mkErrorsAt(x_21, x_41, x_20); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 2); -lean_inc(x_44); -x_45 = lean_ctor_get(x_42, 3); -lean_inc(x_45); -x_7 = x_42; -x_8 = x_43; -x_9 = x_44; -x_10 = x_45; -goto block_17; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_19); -x_46 = lean_ctor_get(x_18, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_18, 2); -lean_inc(x_47); -x_48 = lean_ctor_get(x_18, 3); -lean_inc(x_48); -x_7 = x_18; -x_8 = x_46; -x_9 = x_47; -x_10 = x_48; -goto block_17; -} -block_17: -{ -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_ctor_get(x_7, 3); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Lean_Parser_termParser___closed__2; -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Parser_categoryParserFn(x_12, x_13, x_2, x_7); -return x_14; -} -else -{ -lean_dec(x_11); -lean_dec(x_2); -return x_7; -} -} -else -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_7); -lean_dec(x_2); -x_15 = l_Array_shrink___main___rarg(x_8, x_6); -lean_dec(x_6); -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -lean_ctor_set(x_16, 2, x_9); -lean_ctor_set(x_16, 3, x_10); -return x_16; -} -} -} -} -lean_object* _init_l_Lean_Parser_Term_letSimpleDecl___closed__1() { +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -25714,134 +25503,143 @@ x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_letSimpleDecl___closed__2() { +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letIdLhs___closed__5; +x_2 = l_Lean_Parser_Term_letIdDecl___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tryFn___rarg), 4, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_letSimpleDecl___closed__1; +x_3 = l_Lean_Parser_Term_letIdDecl___closed__4; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_letSimpleDecl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letSimpleDecl___elambda__1), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_Parser_Term_letSimpleDecl___closed__4() { +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letSimpleDecl___closed__2; -x_2 = l_Lean_Parser_Term_letSimpleDecl___closed__3; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__6; +x_2 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn___rarg), 5, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__7; +x_2 = l_Lean_Parser_Term_letIdDecl___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_letSimpleDecl() { +lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__10() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_Parser_Term_letIdDecl___closed__1; +x_3 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_4 = l_Lean_Parser_Term_letIdDecl___closed__9; +x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* _init_l_Lean_Parser_Term_letIdDecl() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_letSimpleDecl___closed__4; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__10; return x_1; } } lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* 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_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* 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_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); lean_inc(x_5); x_6 = lean_array_get_size(x_4); lean_dec(x_4); -x_18 = l_Lean_Parser_termParser___closed__2; -x_19 = lean_unsigned_to_nat(0u); +x_24 = l_Lean_Parser_termParser___closed__2; +x_25 = lean_unsigned_to_nat(0u); lean_inc(x_2); -x_20 = l_Lean_Parser_categoryParserFn(x_18, x_19, x_2, x_3); -x_21 = lean_ctor_get(x_20, 3); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_inc(x_2); -x_22 = l_Lean_Parser_Term_optType___elambda__1(x_1, x_2, x_20); -x_23 = lean_ctor_get(x_22, 3); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_inc(x_2); -x_25 = l_Lean_Parser_tokenFn(x_2, x_22); -x_26 = lean_ctor_get(x_25, 3); -lean_inc(x_26); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); +x_26 = l_Lean_Parser_categoryParserFn(x_24, x_25, x_2, x_3); +x_27 = lean_ctor_get(x_26, 3); lean_inc(x_27); -x_28 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_27); -lean_dec(x_27); -if (lean_obj_tag(x_28) == 2) +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_28, 1); +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Parser_pushNone___elambda__1___rarg(x_26); +x_29 = lean_ctor_get(x_28, 3); lean_inc(x_29); -lean_dec(x_28); -x_30 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; -x_31 = lean_string_dec_eq(x_29, x_30); -lean_dec(x_29); -if (x_31 == 0) +if (lean_obj_tag(x_29) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_25, x_32, x_24); -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_30; lean_object* x_31; +lean_inc(x_2); +x_30 = l_Lean_Parser_Term_optType___elambda__1(x_1, x_2, x_28); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_inc(x_2); +x_33 = l_Lean_Parser_tokenFn(x_2, x_30); +x_34 = lean_ctor_get(x_33, 3); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 2); -lean_inc(x_35); -x_36 = lean_ctor_get(x_33, 3); -lean_inc(x_36); -x_7 = x_33; -x_8 = x_34; -x_9 = x_35; -x_10 = x_36; -goto block_17; -} -else +if (lean_obj_tag(x_34) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_24); -x_37 = lean_ctor_get(x_25, 0); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +x_36 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(x_35); +lean_dec(x_35); +if (lean_obj_tag(x_36) == 2) +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_25, 2); -lean_inc(x_38); -x_39 = lean_ctor_get(x_25, 3); -lean_inc(x_39); -x_7 = x_25; -x_8 = x_37; -x_9 = x_38; -x_10 = x_39; -goto block_17; -} -} -else +lean_dec(x_36); +x_38 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; +x_39 = lean_string_dec_eq(x_37, x_38); +lean_dec(x_37); +if (x_39 == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_28); x_40 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_41 = l_Lean_Parser_ParserState_mkErrorsAt(x_25, x_40, x_24); +x_41 = l_Lean_Parser_ParserState_mkErrorsAt(x_33, x_40, x_32); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 2); @@ -25852,101 +25650,159 @@ x_7 = x_41; x_8 = x_42; x_9 = x_43; x_10 = x_44; -goto block_17; -} +goto block_23; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_26); -x_45 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; -x_46 = l_Lean_Parser_ParserState_mkErrorsAt(x_25, x_45, x_24); -x_47 = lean_ctor_get(x_46, 0); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_32); +x_45 = lean_ctor_get(x_33, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_33, 2); +lean_inc(x_46); +x_47 = lean_ctor_get(x_33, 3); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 2); -lean_inc(x_48); -x_49 = lean_ctor_get(x_46, 3); -lean_inc(x_49); -x_7 = x_46; -x_8 = x_47; -x_9 = x_48; -x_10 = x_49; -goto block_17; +x_7 = x_33; +x_8 = x_45; +x_9 = x_46; +x_10 = x_47; +goto block_23; } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_23); -x_50 = lean_ctor_get(x_22, 0); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_36); +x_48 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_49 = l_Lean_Parser_ParserState_mkErrorsAt(x_33, x_48, x_32); +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); -x_51 = lean_ctor_get(x_22, 2); +x_51 = lean_ctor_get(x_49, 2); lean_inc(x_51); -x_52 = lean_ctor_get(x_22, 3); +x_52 = lean_ctor_get(x_49, 3); lean_inc(x_52); -x_7 = x_22; +x_7 = x_49; x_8 = x_50; x_9 = x_51; x_10 = x_52; -goto block_17; +goto block_23; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_21); -lean_dec(x_1); -x_53 = lean_ctor_get(x_20, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_20, 2); -lean_inc(x_54); -x_55 = lean_ctor_get(x_20, 3); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_34); +x_53 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__8; +x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_33, x_53, x_32); +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -x_7 = x_20; -x_8 = x_53; -x_9 = x_54; -x_10 = x_55; -goto block_17; +x_56 = lean_ctor_get(x_54, 2); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 3); +lean_inc(x_57); +x_7 = x_54; +x_8 = x_55; +x_9 = x_56; +x_10 = x_57; +goto block_23; } -block_17: +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_31); +x_58 = lean_ctor_get(x_30, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_30, 2); +lean_inc(x_59); +x_60 = lean_ctor_get(x_30, 3); +lean_inc(x_60); +x_7 = x_30; +x_8 = x_58; +x_9 = x_59; +x_10 = x_60; +goto block_23; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_29); +lean_dec(x_1); +x_61 = lean_ctor_get(x_28, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_28, 2); +lean_inc(x_62); +x_63 = lean_ctor_get(x_28, 3); +lean_inc(x_63); +x_7 = x_28; +x_8 = x_61; +x_9 = x_62; +x_10 = x_63; +goto block_23; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_27); +lean_dec(x_1); +x_64 = lean_ctor_get(x_26, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_26, 2); +lean_inc(x_65); +x_66 = lean_ctor_get(x_26, 3); +lean_inc(x_66); +x_7 = x_26; +x_8 = x_64; +x_9 = x_65; +x_10 = x_66; +goto block_23; +} +block_23: { if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); lean_dec(x_5); x_11 = lean_ctor_get(x_7, 3); lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_12 = l_Lean_Parser_termParser___closed__2; x_13 = lean_unsigned_to_nat(0u); x_14 = l_Lean_Parser_categoryParserFn(x_12, x_13, x_2, x_7); -return x_14; +x_15 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_16 = l_Lean_Parser_ParserState_mkNode(x_14, x_15, x_6); +return x_16; } else { +lean_object* x_17; lean_object* x_18; lean_dec(x_11); lean_dec(x_2); -return x_7; +x_17 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_18 = l_Lean_Parser_ParserState_mkNode(x_7, x_17, x_6); +return x_18; } } else { -lean_object* x_15; lean_object* x_16; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_7); lean_dec(x_2); -x_15 = l_Array_shrink___main___rarg(x_8, x_6); -lean_dec(x_6); -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_5); -lean_ctor_set(x_16, 2, x_9); -lean_ctor_set(x_16, 3, x_10); -return x_16; +x_19 = l_Array_shrink___main___rarg(x_8, x_6); +x_20 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_5); +lean_ctor_set(x_20, 2, x_9); +lean_ctor_set(x_20, 3, x_10); +x_21 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_6); +return x_22; } } } @@ -25954,6 +25810,15 @@ return x_16; lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__1() { _start: { +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = l_Lean_Parser_pushNone(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_optType; x_2 = lean_ctor_get(x_1, 0); @@ -25963,44 +25828,66 @@ x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_typeAscription___closed__2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_letPatDecl___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_typeAscription___closed__2; +x_1 = l_Lean_Parser_Term_letPatDecl___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letPatDecl___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_typeAscription___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_letPatDecl___closed__3; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_typeAscription___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_letPatDecl___closed__4; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_2 = l_Lean_Parser_Term_letPatDecl___closed__5; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__7() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letPatDecl___elambda__1), 3, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__5() { +lean_object* _init_l_Lean_Parser_Term_letPatDecl___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letPatDecl___closed__3; -x_2 = l_Lean_Parser_Term_letPatDecl___closed__4; +x_1 = l_Lean_Parser_Term_letPatDecl___closed__6; +x_2 = l_Lean_Parser_Term_letPatDecl___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -26011,7 +25898,7 @@ lean_object* _init_l_Lean_Parser_Term_letPatDecl() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_letPatDecl___closed__5; +x_1 = l_Lean_Parser_Term_letPatDecl___closed__8; return x_1; } } @@ -26027,28 +25914,37 @@ return x_2; lean_object* l_Lean_Parser_Term_letEqnsDecl___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__1; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); lean_inc(x_2); lean_inc(x_1); -x_6 = l_Lean_Parser_Term_letIdLhs___elambda__1(x_1, x_2, x_3); -x_7 = lean_ctor_get(x_6, 3); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 0) +x_8 = l_Lean_Parser_Term_letIdLhs___elambda__1(x_1, x_2, x_3); +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_8; -x_8 = lean_apply_3(x_5, x_1, x_2, x_6); -return x_8; +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_apply_3(x_5, x_1, x_2, x_8); +x_11 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_12 = l_Lean_Parser_ParserState_mkNode(x_10, x_11, x_7); +return x_12; } else { -lean_dec(x_7); +lean_object* x_13; lean_object* x_14; +lean_dec(x_9); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -return x_6; +x_13 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_14 = l_Lean_Parser_ParserState_mkNode(x_8, x_13, x_7); +return x_14; } } } @@ -26069,17 +25965,27 @@ return x_5; lean_object* _init_l_Lean_Parser_Term_letEqnsDecl___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letEqnsDecl___elambda__1), 3, 0); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_letIdDecl___closed__2; +x_2 = l_Lean_Parser_Term_letEqnsDecl___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_letEqnsDecl___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_letEqnsDecl___elambda__1), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_letEqnsDecl___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letEqnsDecl___closed__1; -x_2 = l_Lean_Parser_Term_letEqnsDecl___closed__2; +x_1 = l_Lean_Parser_Term_letEqnsDecl___closed__2; +x_2 = l_Lean_Parser_Term_letEqnsDecl___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -26090,109 +25996,112 @@ lean_object* _init_l_Lean_Parser_Term_letEqnsDecl() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_letEqnsDecl___closed__3; +x_1 = l_Lean_Parser_Term_letEqnsDecl___closed__4; return x_1; } } lean_object* l_Lean_Parser_Term_letDecl___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_array_get_size(x_4); -lean_dec(x_4); -x_6 = lean_ctor_get(x_3, 1); +lean_object* 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; +x_4 = l_Lean_Parser_Term_letIdDecl; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 0); lean_inc(x_6); -lean_inc(x_2); -lean_inc(x_1); -x_7 = l_Lean_Parser_Term_letSimpleDecl___elambda__1(x_1, x_2, x_3); -x_8 = lean_ctor_get(x_7, 3); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); -if (lean_obj_tag(x_8) == 0) -{ -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -x_11 = lean_nat_dec_eq(x_10, x_6); -lean_dec(x_10); -if (x_11 == 0) -{ -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_inc(x_6); -x_12 = l_Lean_Parser_ParserState_restore(x_7, x_5, x_6); -lean_dec(x_5); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_array_get_size(x_13); -lean_dec(x_13); lean_inc(x_2); lean_inc(x_1); -x_15 = l_Lean_Parser_Term_letPatDecl___elambda__1(x_1, x_2, x_12); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_9 = lean_apply_3(x_5, x_1, x_2, x_3); +x_10 = lean_ctor_get(x_9, 3); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_17; -lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_17 = l_Lean_Parser_mergeOrElseErrors(x_15, x_9, x_6); -lean_dec(x_6); -return x_17; +return x_9; } else { -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_16, 0); +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +x_13 = lean_nat_dec_eq(x_12, x_8); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_inc(x_8); +x_14 = l_Lean_Parser_ParserState_restore(x_9, x_7, x_8); +lean_dec(x_7); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Lean_Parser_Term_letPatDecl___elambda__1(x_1, x_2, x_14); +x_18 = lean_ctor_get(x_17, 3); lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -x_20 = lean_nat_dec_eq(x_19, x_6); -lean_dec(x_19); -if (x_20 == 0) +if (lean_obj_tag(x_18) == 0) { -lean_object* x_21; -lean_dec(x_18); -lean_dec(x_14); +lean_object* x_19; +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_21 = l_Lean_Parser_mergeOrElseErrors(x_15, x_9, x_6); -lean_dec(x_6); -return x_21; +x_19 = l_Lean_Parser_mergeOrElseErrors(x_17, x_11, x_8); +lean_dec(x_8); +return x_19; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_inc(x_6); -x_22 = l_Lean_Parser_ParserState_restore(x_15, x_14, x_6); -lean_dec(x_14); -x_23 = l_Lean_Parser_Term_letEqnsDecl___elambda__1(x_1, x_2, x_22); -x_24 = l_Lean_Parser_mergeOrElseErrors(x_23, x_18, x_6); -x_25 = l_Lean_Parser_mergeOrElseErrors(x_24, x_9, x_6); -lean_dec(x_6); -return x_25; +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +x_22 = lean_nat_dec_eq(x_21, x_8); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_2); +lean_dec(x_1); +x_23 = l_Lean_Parser_mergeOrElseErrors(x_17, x_11, x_8); +lean_dec(x_8); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_inc(x_8); +x_24 = l_Lean_Parser_ParserState_restore(x_17, x_16, x_8); +lean_dec(x_16); +x_25 = l_Lean_Parser_Term_letEqnsDecl___elambda__1(x_1, x_2, x_24); +x_26 = l_Lean_Parser_mergeOrElseErrors(x_25, x_20, x_8); +x_27 = l_Lean_Parser_mergeOrElseErrors(x_26, x_11, x_8); +lean_dec(x_8); +return x_27; } } } @@ -26217,7 +26126,7 @@ lean_object* _init_l_Lean_Parser_Term_letDecl___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_letSimpleDecl; +x_1 = l_Lean_Parser_Term_letIdDecl; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_letDecl___closed__1; @@ -30991,7 +30900,7 @@ lean_object* x_90; lean_object* x_91; uint8_t x_92; x_90 = lean_ctor_get(x_89, 1); lean_inc(x_90); lean_dec(x_89); -x_91 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__1; +x_91 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__1; x_92 = lean_string_dec_eq(x_90, x_91); lean_dec(x_90); if (x_92 == 0) @@ -31065,7 +30974,7 @@ lean_object* x_20; lean_object* x_21; uint8_t x_22; x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); lean_dec(x_19); -x_21 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__5; +x_21 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__5; x_22 = lean_string_dec_eq(x_20, x_21); lean_dec(x_20); if (x_22 == 0) @@ -31315,7 +31224,7 @@ lean_object* _init_l_Lean_Parser_Term_namedArgument___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__2; +x_1 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__2; x_2 = l_Lean_Parser_Term_namedArgument___closed__1; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -31339,7 +31248,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_namedArgument___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___closed__6; +x_3 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___closed__6; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } @@ -39602,14 +39511,6 @@ lean_mark_persistent(l_Lean_Parser_Term_forall); res = l___regBuiltinParser_Lean_Parser_Term_forall(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_Term_matchAlt___elambda__1___closed__1 = _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_matchAlt___elambda__1___closed__1); -l_Lean_Parser_Term_matchAlt___elambda__1___closed__2 = _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_matchAlt___elambda__1___closed__2); -l_Lean_Parser_Term_matchAlt___elambda__1___closed__3 = _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_matchAlt___elambda__1___closed__3); -l_Lean_Parser_Term_matchAlt___elambda__1___closed__4 = _init_l_Lean_Parser_Term_matchAlt___elambda__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_matchAlt___elambda__1___closed__4); l_Lean_Parser_Term_matchAlt___closed__1 = _init_l_Lean_Parser_Term_matchAlt___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__1); l_Lean_Parser_Term_matchAlt___closed__2 = _init_l_Lean_Parser_Term_matchAlt___closed__2(); @@ -39624,6 +39525,12 @@ l_Lean_Parser_Term_matchAlt___closed__6 = _init_l_Lean_Parser_Term_matchAlt___cl lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__6); l_Lean_Parser_Term_matchAlt___closed__7 = _init_l_Lean_Parser_Term_matchAlt___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__7); +l_Lean_Parser_Term_matchAlt___closed__8 = _init_l_Lean_Parser_Term_matchAlt___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__8); +l_Lean_Parser_Term_matchAlt___closed__9 = _init_l_Lean_Parser_Term_matchAlt___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__9); +l_Lean_Parser_Term_matchAlt___closed__10 = _init_l_Lean_Parser_Term_matchAlt___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_matchAlt___closed__10); l_Lean_Parser_Term_matchAlt = _init_l_Lean_Parser_Term_matchAlt(); lean_mark_persistent(l_Lean_Parser_Term_matchAlt); l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__1 = _init_l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___elambda__1___spec__2___closed__1(); @@ -39932,16 +39839,28 @@ l_Lean_Parser_Term_letIdLhs___closed__6 = _init_l_Lean_Parser_Term_letIdLhs___cl lean_mark_persistent(l_Lean_Parser_Term_letIdLhs___closed__6); l_Lean_Parser_Term_letIdLhs = _init_l_Lean_Parser_Term_letIdLhs(); lean_mark_persistent(l_Lean_Parser_Term_letIdLhs); -l_Lean_Parser_Term_letSimpleDecl___closed__1 = _init_l_Lean_Parser_Term_letSimpleDecl___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_letSimpleDecl___closed__1); -l_Lean_Parser_Term_letSimpleDecl___closed__2 = _init_l_Lean_Parser_Term_letSimpleDecl___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_letSimpleDecl___closed__2); -l_Lean_Parser_Term_letSimpleDecl___closed__3 = _init_l_Lean_Parser_Term_letSimpleDecl___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_letSimpleDecl___closed__3); -l_Lean_Parser_Term_letSimpleDecl___closed__4 = _init_l_Lean_Parser_Term_letSimpleDecl___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_letSimpleDecl___closed__4); -l_Lean_Parser_Term_letSimpleDecl = _init_l_Lean_Parser_Term_letSimpleDecl(); -lean_mark_persistent(l_Lean_Parser_Term_letSimpleDecl); +l_Lean_Parser_Term_letIdDecl___closed__1 = _init_l_Lean_Parser_Term_letIdDecl___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__1); +l_Lean_Parser_Term_letIdDecl___closed__2 = _init_l_Lean_Parser_Term_letIdDecl___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__2); +l_Lean_Parser_Term_letIdDecl___closed__3 = _init_l_Lean_Parser_Term_letIdDecl___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__3); +l_Lean_Parser_Term_letIdDecl___closed__4 = _init_l_Lean_Parser_Term_letIdDecl___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__4); +l_Lean_Parser_Term_letIdDecl___closed__5 = _init_l_Lean_Parser_Term_letIdDecl___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__5); +l_Lean_Parser_Term_letIdDecl___closed__6 = _init_l_Lean_Parser_Term_letIdDecl___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__6); +l_Lean_Parser_Term_letIdDecl___closed__7 = _init_l_Lean_Parser_Term_letIdDecl___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__7); +l_Lean_Parser_Term_letIdDecl___closed__8 = _init_l_Lean_Parser_Term_letIdDecl___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__8); +l_Lean_Parser_Term_letIdDecl___closed__9 = _init_l_Lean_Parser_Term_letIdDecl___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__9); +l_Lean_Parser_Term_letIdDecl___closed__10 = _init_l_Lean_Parser_Term_letIdDecl___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl___closed__10); +l_Lean_Parser_Term_letIdDecl = _init_l_Lean_Parser_Term_letIdDecl(); +lean_mark_persistent(l_Lean_Parser_Term_letIdDecl); l_Lean_Parser_Term_letPatDecl___closed__1 = _init_l_Lean_Parser_Term_letPatDecl___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__1); l_Lean_Parser_Term_letPatDecl___closed__2 = _init_l_Lean_Parser_Term_letPatDecl___closed__2(); @@ -39952,6 +39871,12 @@ l_Lean_Parser_Term_letPatDecl___closed__4 = _init_l_Lean_Parser_Term_letPatDecl_ lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__4); l_Lean_Parser_Term_letPatDecl___closed__5 = _init_l_Lean_Parser_Term_letPatDecl___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__5); +l_Lean_Parser_Term_letPatDecl___closed__6 = _init_l_Lean_Parser_Term_letPatDecl___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__6); +l_Lean_Parser_Term_letPatDecl___closed__7 = _init_l_Lean_Parser_Term_letPatDecl___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__7); +l_Lean_Parser_Term_letPatDecl___closed__8 = _init_l_Lean_Parser_Term_letPatDecl___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_letPatDecl___closed__8); l_Lean_Parser_Term_letPatDecl = _init_l_Lean_Parser_Term_letPatDecl(); lean_mark_persistent(l_Lean_Parser_Term_letPatDecl); l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__1 = _init_l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__1(); @@ -39962,6 +39887,8 @@ l_Lean_Parser_Term_letEqnsDecl___closed__2 = _init_l_Lean_Parser_Term_letEqnsDec lean_mark_persistent(l_Lean_Parser_Term_letEqnsDecl___closed__2); l_Lean_Parser_Term_letEqnsDecl___closed__3 = _init_l_Lean_Parser_Term_letEqnsDecl___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_letEqnsDecl___closed__3); +l_Lean_Parser_Term_letEqnsDecl___closed__4 = _init_l_Lean_Parser_Term_letEqnsDecl___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_letEqnsDecl___closed__4); l_Lean_Parser_Term_letEqnsDecl = _init_l_Lean_Parser_Term_letEqnsDecl(); lean_mark_persistent(l_Lean_Parser_Term_letEqnsDecl); l_Lean_Parser_Term_letDecl___closed__1 = _init_l_Lean_Parser_Term_letDecl___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Parser/Transform.c b/stage0/stdlib/Init/Lean/Parser/Transform.c index 78048ed2c6..573a805377 100644 --- a/stage0/stdlib/Init/Lean/Parser/Transform.c +++ b/stage0/stdlib/Init/Lean/Parser/Transform.c @@ -32,7 +32,6 @@ lean_object* l_Lean_SourceInfo_truncateTrailing(lean_object*); lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__nameLitAux___spec__1(lean_object*); lean_object* l_Lean_Syntax_manyToSepBy(lean_object*, lean_object*); extern lean_object* l_Array_forMAux___main___at_Lean_Environment_displayStats___spec__9___closed__2; -extern lean_object* l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; extern lean_object* l_Option_HasRepr___rarg___closed__3; extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); @@ -42,6 +41,7 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_manyToSepBy___spec__1__ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Syntax_getTailInfo___main(lean_object*); +extern lean_object* l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_manyToSepBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -210,7 +210,7 @@ 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___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__2; +x_4 = l___private_Init_Lean_Parser_Parser_13__antiquotNestedExpr___elambda__1___rarg___closed__2; x_5 = lean_name_eq(x_2, x_4); if (x_5 == 0) {