From 8feaa73f5d109fab2d43a0110e2d5019bdc0b0cb Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 17 Dec 2019 14:21:16 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Lean/Elab/Term.lean | 163 +- .../stdlib/Init/Lean/Elab/BuiltinNotation.c | 27 +- stage0/stdlib/Init/Lean/Elab/Quotation.c | 23750 ++++++++-------- stage0/stdlib/Init/Lean/Elab/Term.c | 11277 ++++++-- 4 files changed, 19837 insertions(+), 15380 deletions(-) diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index 364f45dd96..77da105100 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -17,15 +17,15 @@ namespace Elab namespace Term structure Context extends Meta.Context := -(fileName : String) -(fileMap : FileMap) -(cmdPos : String.Pos) -(currNamespace : Name) -(univNames : List Name := []) -(openDecls : List OpenDecl := []) -(macroStack : List Syntax := []) +(fileName : String) +(fileMap : FileMap) +(cmdPos : String.Pos) +(currNamespace : Name) +(univNames : List Name := []) +(openDecls : List OpenDecl := []) +(macroStack : List Syntax := []) (macroScopeStack : List MacroScope := [0]) -(mayPostpone : Bool := true) +(mayPostpone : Bool := true) inductive SyntheticMVarKind | typeClass @@ -203,6 +203,10 @@ match u? with | some u => pure u | none => throwError ref ("invalid universe level, " ++ u ++ " is not greater than 0") +/- Elaborate `x` with `stx` on the macro stack -/ +@[inline] def withMacroExpansion {α} (stx : Syntax) (x : TermElabM α) : TermElabM α := +adaptReader (fun (ctx : Context) => { macroStack := stx :: ctx.macroStack, .. ctx }) x + def registerSyntheticMVar (ref : Syntax) (mvarId : MVarId) (kind : SyntheticMVarKind) : TermElabM Unit := modify $ fun s => { syntheticMVars := { mvarId := mvarId, ref := ref, kind := kind } :: s.syntheticMVars, .. s } @@ -265,15 +269,12 @@ partial def hasCDot : Syntax → Bool | Syntax.node `Lean.Parser.Term.app args => hasCDot (args.getA 0) || hasCDot (args.getA 1) | _ => false -def hasCDotArg : Syntax → Bool -| Syntax.node _ args => args.any hasCDot -| _ => false - partial def expandCDotAux : Bool → Syntax → StateT (Array Syntax) TermElabM Syntax | _, n@(Syntax.node `Lean.Parser.Term.cdot _) => do - id ← liftM $ mkFreshAnonymousIdent n; - modify $ fun s => s.push (mkExplicitBinder id mkHole); -- TODO: fix `fun` uses a different kind of binder - pure (mkTermIdFromIdent id) + ident ← liftM $ mkFreshAnonymousIdent n; + let id := mkTermIdFromIdent ident; + modify $ fun s => s.push id; + pure id | false, n@(Syntax.node `Lean.Parser.Term.app args) => if args.size == 2 then do a1 ← expandCDotAux false $ args.get! 0; @@ -283,6 +284,20 @@ partial def expandCDotAux : Bool → Syntax → StateT (Array Syntax) TermElabM pure n | _, n => pure n +def expandCDotArgs (args : Array Syntax) : StateT (Array Syntax) TermElabM (Array Syntax) := +args.mapM (expandCDotAux false) + +def expandCDot? : Syntax → TermElabM (Option Syntax) +| Syntax.node k args => + if args.any hasCDot then do + (args, binders) ← (expandCDotArgs args).run #[]; + let newNode := Syntax.node k args; + result ← `(fun %%binders* => %%newNode); + pure result + else + pure none +| _ => pure none + def elabTerm (stx : Syntax) (expectedType? : Option Expr) : TermElabM Expr := withFreshMacroScope $ withNode stx $ fun node => do trace! `Elab.step (toString stx); @@ -491,35 +506,40 @@ partial def expandFunBindersAux (binders : Array Syntax) : Syntax → Nat → Ar if h : i < binders.size then let binder := binders.get ⟨i, h⟩; let processAsPattern : Unit → TermElabM (Array Syntax × Syntax) := fun _ => do { - throwError binder "not implemented yet" + let pattern := binder; + ident ← mkFreshAnonymousIdent binder; + (binders, newBody) ← expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder ident mkHole); + let major := mkTermIdFromIdent ident; + newBody ← `(match %%major with | %%pattern => %%newBody); + pure (binders, newBody) }; match binder with | Syntax.node `Lean.Parser.Term.id args => do unless (args.getA 1).isNone $ throwError binder "invalid binder, simple identifier expected"; - let id := args.getA 0; - let type := mkHole; - expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder id type) + let ident := args.getA 0; + let type := mkHole; + expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder ident type) | Syntax.node `Lean.Parser.Term.hole _ => do - id ← mkFreshAnonymousIdent binder; + ident ← mkFreshAnonymousIdent binder; let type := binder; - expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder id type) + expandFunBindersAux body (i+1) (newBinders.push $ mkExplicitBinder ident type) | Syntax.node `Lean.Parser.Term.paren args => -- `(` (termParser >> parenSpecial)? `)` -- parenSpecial := (tupleTail <|> typeAscription)? let binderBody := binder.getArg 1; if binderBody.isNone then processAsPattern () else - let ids := binderBody.getArg 0; + let idents := binderBody.getArg 0; let special := binderBody.getArg 1; if special.isNone then processAsPattern () else if (special.getArg 0).getKind != `Lean.Parser.Term.typeAscription then processAsPattern () else do -- typeAscription := `:` term let type := ((special.getArg 0).getArg 1); - ids? ← getFunBinderIds? ids; - match ids? with - | some ids => expandFunBindersAux body (i+1) (newBinders ++ ids.map (fun id => mkExplicitBinder id type)) - | none => processAsPattern () + idents? ← getFunBinderIds? idents; + match idents? with + | some idents => expandFunBindersAux body (i+1) (newBinders ++ idents.map (fun ident => mkExplicitBinder ident type)) + | none => processAsPattern () | _ => processAsPattern () else pure (newBinders, body) @@ -538,16 +558,81 @@ fun stx expectedType? => do e ← elabTerm body none; mkLambda stx.val xs e +def ensureHasType (ref : Syntax) (expectedType? : Option Expr) (eType : Expr) (e : Expr) : TermElabM Expr := +match expectedType? with +| none => pure e +| some expectedType => + condM (isDefEq ref eType expectedType) + (pure e) + (do -- TODO try `HasCoe` + e ← instantiateMVars ref e; + eType ← instantiateMVars ref eType; + expectedType ← instantiateMVars ref expectedType; + let msg : MessageData := + "type mismatch" ++ indentExpr e + ++ Format.line ++ "has type" ++ indentExpr eType + ++ Format.line ++ "but it is expected to have type" ++ indentExpr expectedType; + throwError ref msg) + +partial def mkPairsAux (elems : Array Syntax) : Nat → Syntax → TermElabM Syntax +| i, acc => + if i > 0 then do + let i := i - 1; + let elem := elems.get! i; + acc ← `(Prod.mk %%elem %%acc); + mkPairsAux i acc + else + pure acc + +def mkPairs (elems : Array Syntax) : TermElabM Syntax := +mkPairsAux elems (elems.size - 1) elems.back + +def elabCDot (stx : Syntax) (expectedType? : Option Expr) : TermElabM Expr := do +stx? ← expandCDot? stx; +match stx? with +| some stx' => withMacroExpansion stx (elabTerm stx' expectedType?) +| none => elabTerm stx expectedType? + @[builtinTermElab paren] def elabParen : TermElab := -fun stx expectedType? => + fun stx expectedType? => -- `(` (termParser >> parenSpecial)? `)` + let ref := stx.val; let body := stx.getArg 1; if body.isNone then - pure $ mkConst `Unit.unit + pure $ Lean.mkConst `Unit.unit else let term := body.getArg 0; - -- TODO: handle parenSpecial - elabTerm term expectedType? + let special := body.getArg 1; + if special.isNone then do + elabCDot term expectedType? + else + let special := special.getArg 0; + if special.getKind == `Lean.Parser.Term.typeAscription then do + type ← elabType (special.getArg 1); + e ← elabCDot term expectedType?; + eType ← inferType ref e; + ensureHasType ref type eType e + else if special.getKind == `Lean.Parser.Term.tupleTail then do + -- tupleTail := `,` >> sepBy1 term `,` + let terms := (special.getArg 1).foldSepArgs (fun e (elems : Array Syntax) => elems.push e) #[term]; + pairs ← mkPairs terms; + withMacroExpansion stx.val (elabTerm pairs expectedType?) + else + throwError ref "unexpected parentheses notation" + +/- +@[builtinTermElab paren] def elabParen : TermElab := +fun stx expectedType? => + match_syntax stx.val with + | `(()) => pure $ Lean.mkConst `Unit.unit + | `((%%e : %%type)) => do type ← elabType type; elabTerm e type + | `((%%e)) => elabTerm e expectedType? + | `((%%e, %%es)) => do + + pairs ← mkPairs elems; + withMacroExpansion stx.val (elabTerm pairs expectedType?) + | _ => throwError stx.val "unexpected parentheses notation" +-/ @[builtinTermElab «listLit»] def elabListLit : TermElab := fun stx expectedType? => do @@ -649,22 +734,6 @@ match result? with else process preresolved -def ensureHasType (ref : Syntax) (expectedType? : Option Expr) (eType : Expr) (e : Expr) : TermElabM Expr := -match expectedType? with -| none => pure e -| some expectedType => - condM (isDefEq ref eType expectedType) - (pure e) - (do -- TODO try `HasCoe` - e ← instantiateMVars ref e; - eType ← instantiateMVars ref eType; - expectedType ← instantiateMVars ref expectedType; - let msg : MessageData := - "type mismatch" ++ indentExpr e - ++ Format.line ++ "has type" ++ indentExpr eType - ++ Format.line ++ "but it is expected to have type" ++ indentExpr expectedType; - throwError ref msg) - /-- Consume parameters of the form `(x : A := val)` and `(x : A . tactic)` -/ def consumeDefaultParams (ref : Syntax) : Expr → Expr → TermElabM Expr | eType, e => @@ -1032,6 +1101,8 @@ fun stx expectedType? => do @[builtinTermElab choice] def elabChoice : TermElab := elabApp @[builtinTermElab proj] def elabProj : TermElab := elabApp @[builtinTermElab arrayRef] def elabArrayRef : TermElab := elabApp +@[builtinTermElab cdot] def elabBadCDot : TermElab := +fun stx _ => throwError stx.val "invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)" @[builtinTermElab str] def elabStr : TermElab := fun stx _ => do diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index 9a6646a17e..066608dc19 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -200,7 +200,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBEq___closed__2; lean_object* l_Lean_Elab_Term_elabIff___closed__2; lean_object* l_Lean_Elab_Term_elabHEq(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabProd___closed__2; +extern lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__5; lean_object* l_Lean_Elab_Term_elabMapConstRev(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabseqRight___closed__2; lean_object* l_Lean_Elab_Term_elabIff___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,7 +212,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDollar___closed__3; extern lean_object* l_Lean_Parser_Term_iff___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppend___closed__3; lean_object* l_Lean_Elab_Term_elabLE(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_elabProd___closed__1; lean_object* l_Lean_Elab_Term_elabDollar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabOr___closed__1; lean_object* l_Lean_Elab_Term_elabMap___closed__3; @@ -528,29 +527,11 @@ lean_dec(x_2); return x_6; } } -lean_object* _init_l_Lean_Elab_Term_elabProd___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Prod"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_elabProd___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabProd___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_elabProd(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; -x_5 = l_Lean_Elab_Term_elabProd___closed__2; +x_5 = l_Lean_Elab_Term_mkPairsAux___main___closed__5; x_6 = l_Lean_Elab_Term_elabInfixOp(x_5, x_1, x_2, x_3, x_4); return x_6; } @@ -3432,10 +3413,6 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabDollar___closed__ res = l___regBuiltinTermElab_Lean_Elab_Term_elabDollar(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Term_elabProd___closed__1 = _init_l_Lean_Elab_Term_elabProd___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabProd___closed__1); -l_Lean_Elab_Term_elabProd___closed__2 = _init_l_Lean_Elab_Term_elabProd___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabProd___closed__2); l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabProd___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index a642a403e3..2987ceedf0 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -16,51 +16,41 @@ extern "C" { lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__22; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__27; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8; lean_object* l_Lean_Parser_mkParserContextCore(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__18; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__30; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__15; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__4; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__27; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__10; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__32; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__18; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__37; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatchSyntax___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__2; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1; extern lean_object* l_Lean_nameToExprAux___main___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__30; @@ -70,41 +60,37 @@ lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___c lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__9; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__20; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3; extern lean_object* l_Option_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__2; -lean_object* l_Lean_Array_HasQuote___rarg___closed__12; lean_object* l_ReaderT_map___at_Lean_Elab_Term_oldGetAntiquotVars___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83; extern lean_object* l_EIO_Monad___closed__1; extern lean_object* l_Lean_nameToExprAux___main___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42; -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15; +extern lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__12; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4; +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__42; +extern lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__9; extern lean_object* l_Lean_nameToExprAux___main___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__15; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__19; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStxQuot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__5; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__3; extern lean_object* l_Lean_stxInh; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__3; lean_object* l_Lean_mkMVar(lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -115,7 +101,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; lean_object* l_Lean_Array_HasQuote___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Array_HasQuote___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29; @@ -126,132 +111,111 @@ lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_nameToExprAux___main___closed__5; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2; +extern lean_object* l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__2; lean_object* l_Lean_Prod_HasQuote___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__4___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__28; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__24; lean_object* l_Lean_Parser_ParserAttribute_runParser(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53; lean_object* lean_parse_expr(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3; extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_stxQuot_expand(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__16; lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69; +extern lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__6; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__8; lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__31; lean_object* l_List_range(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__3; extern lean_object* l_Lean_Name_inhabited; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109; -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65; extern lean_object* l_String_splitAux___main___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__39; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatchSyntax___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__66; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__12; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__24; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35; -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_mkAtom(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__7; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; lean_object* l_Lean_Name_HasQuote___closed__1; extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__1; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__11; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__25; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__63; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1; extern lean_object* l_Lean_FileMap_ofString___closed__1; extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5; lean_object* l_List_join___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__2; extern lean_object* l_Nat_HasOfNat___closed__1; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__6; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__26; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main(lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7; extern lean_object* l_Lean_Parser_termParserAttribute; extern lean_object* l_Lean_nameToExprAux___main___closed__3; -lean_object* l_Lean_Array_HasQuote___rarg___closed__11; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatchSyntax___closed__3; lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___spec__2___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110; lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__3; lean_object* l_Lean_Elab_Term_oldGetAntiquotVars___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___spec__2___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41; -extern lean_object* l_Lean_Elab_Term_elabParen___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__46; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__1; -lean_object* l_Lean_Array_HasQuote___rarg___closed__4; lean_object* l_Lean_Prod_HasQuote(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__12; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56; lean_object* l___private_Init_Lean_Elab_Quotation_2__appN___boxed(lean_object*, lean_object*); lean_object* l_List_replicate___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__10; -lean_object* l_Lean_Array_HasQuote___rarg___closed__8; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__2; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__15; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__3; -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__4; extern lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_elabParen___closed__4; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__20; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52; -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; -lean_object* l_Lean_Array_HasQuote___rarg___closed__9; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); extern lean_object* l_Lean_Name_appendIndexAfter___closed__1; extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__12; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__14; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__5; extern lean_object* l_Lean_Parser_Term_band___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8; @@ -261,245 +225,186 @@ lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed extern lean_object* l_Lean_numLitKind; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__16; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_getCurrNamespace(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -lean_object* l_Lean_Array_HasQuote___rarg___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__26; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84; extern lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11; extern lean_object* l_Lean_Parser_Term_band___elambda__1___closed__1; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__27; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__9; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68; lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85; extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l_Lean_String_HasQuote(lean_object*); extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___rarg___closed__2; extern lean_object* l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; extern lean_object* l_Lean_strLitKind___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50; lean_object* l___private_Init_Lean_Elab_Quotation_4__isAntiquotSplice___boxed(lean_object*); lean_object* l_Lean_Elab_Term_oldExpandMatchSyntax___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13; lean_object* l_Lean_Elab_mkMessage___at_Lean_Elab_Term_decLevel___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107; +lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__2; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Term_28__elabAppFn___main___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75; lean_object* l_Lean_Elab_Term_oldParseExpr___closed__1; extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34; lean_object* l_Lean_Array_HasQuote___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89; +extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__5; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__58; lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105; -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__44; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__16; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5; -lean_object* l_Lean_Array_HasQuote___rarg___closed__13; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__23; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__5; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4; extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__2; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__40; extern lean_object* l_Lean_Syntax_formatStx___main___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106; lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__26; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__24; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59; extern lean_object* l_Lean_Parser_Term_beq___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__7; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMatchSyntax(lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__14; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__16; +extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__11; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; extern lean_object* l_Lean_nameToExprAux___main___closed__9; lean_object* l_Lean_Name_HasQuote; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_beq___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64; -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9; lean_object* l_Lean_FileMap_ofString(lean_object*); extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61; lean_object* l_List_redLength___main___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__36; lean_object* l_Lean_Elab_Term_elabStxQuot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__35; lean_object* l___private_Init_Lean_Elab_Quotation_14__getAntiquotVars(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__49; -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__19; -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__2; lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__2; lean_object* l_Lean_mkFVar(lean_object*); -lean_object* l_Lean_Array_HasQuote___rarg___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__5; lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__43; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81; +lean_object* l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__9; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__19; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__5; extern lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__20; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__4; uint8_t l_Lean_Syntax_isAtom(lean_object*); extern lean_object* l_Lean_nullKind___closed__2; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__39; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; lean_object* l_List_join___main___rarg(lean_object*); -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24; +extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__1; +extern lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_14__getAntiquotVars___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5; lean_object* l_List_map___main___at_Lean_Elab_Term_oldGetAntiquotVars___spec__2(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__18; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__1; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1; extern lean_object* l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_11__nodeShape(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; lean_object* l___private_Init_Lean_Elab_Quotation_11__nodeShape___boxed(lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__51; extern lean_object* l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36; extern lean_object* l_Option_HasRepr___rarg___closed__3; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_9__altNextNode_x3f(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__14; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__15; -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1(lean_object*); +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__1; +lean_object* l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Error_toString(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13; -lean_object* l_Lean_Array_HasQuote___rarg___closed__10; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__5; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70; +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__33; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__29; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39; lean_object* lean_expand_stx_quot(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; extern lean_object* l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_2__appN(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__18; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__57; lean_object* l_Lean_Elab_Term_match__syntax_expand(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67; +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__30; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__9; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__2; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__22; extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__7; @@ -508,214 +413,163 @@ lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___boxed lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__25; lean_object* l_Lean_Array_HasQuote(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3; lean_object* lean_expand_match_syntax(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42; extern lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53; +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___closed__7; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22; lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; -lean_object* l_Lean_Array_HasQuote___rarg___closed__3; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__45; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__13; extern lean_object* l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__37; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__26; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__21; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3; lean_object* l_Lean_List_HasQuote___rarg(lean_object*); +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64; extern lean_object* l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; lean_object* l_List_map___main___at_Lean_Elab_Term_oldExpandMatchSyntax___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; -lean_object* l_Lean_Array_HasQuote___rarg___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__55; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; lean_object* l_Lean_Elab_Term_elabMatchSyntax(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__46; lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102; lean_object* l_Lean_Nat_HasQuote(lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__2; extern lean_object* l_Lean_Elab_rootNamespace___closed__1; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__50; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__21; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__38; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__60; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__41; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__2; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__2; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__1; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__48; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4; extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; extern lean_object* l_Lean_Parser_symbolOrIdentInfo___closed__1; lean_object* l_Lean_Elab_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93; lean_object* l_Lean_Elab_Term_getOpenDecls(lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__22; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__6; extern lean_object* l_Lean_Parser_Level_hole___elambda__1___rarg___closed__1; extern lean_object* l_Lean_Elab_rootNamespace___closed__2; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25; lean_object* l_Lean_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38; -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__13; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__3; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__12; +extern lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; lean_object* l_Array_toList___rarg(lean_object*); extern lean_object* l_Lean_Expr_Inhabited; +lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_map___at_Lean_Elab_Term_oldGetAntiquotVars___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12; -lean_object* l_Lean_Prod_HasQuote___rarg___closed__8; -lean_object* l_Lean_Array_HasQuote___rarg___closed__7; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; lean_object* l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__61; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; lean_object* l_Lean_Elab_Term_oldGetAntiquotVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_oldGetAntiquotVars___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__6; lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__4; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__2; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__6; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__11; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__6(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__48; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot(lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__34; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__47; lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__2; extern lean_object* l_Lean_Parser_Term_stxQuot___elambda__1___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Prod_HasQuote___rarg___closed__9; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; extern lean_object* l_Lean_Elab_Term_elabListLit___closed__3; extern lean_object* l_Lean_Unhygienic_run___rarg___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__23; lean_object* l_Lean_mkNatLit(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6; lean_object* l_Lean_mkStrLit(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14; lean_object* l_Lean_Syntax_getOptional(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79; lean_object* l_Lean_Syntax_asNode(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__32; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; extern lean_object* l_Lean_nameToExprAux___main___closed__6; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; lean_object* l_List_toArrayAux___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101; -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__4(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__49; extern lean_object* l_System_FilePath_dirName___closed__1; uint8_t l___private_Init_Lean_Elab_Quotation_4__isAntiquotSplice(lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_HasQuote; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94; -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8; +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__95; lean_object* l_Lean_Elab_Term_oldGetAntiquotVars___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__5(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; lean_object* l_Lean_List_HasQuote(lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9; -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__5; extern lean_object* l_String_Inhabited; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__10; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33; -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__5; lean_object* l___private_Init_Lean_Elab_Quotation_5__isAntiquotSplicePat___boxed(lean_object*); +lean_object* lean_name_mk_numeral(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16; -lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14; -lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2; +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7; +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; lean_object* l_List_findSome_x3f___main___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__3; @@ -726,12 +580,10 @@ lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__comp lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__17; extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* lean_get_antiquot_vars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__16; -lean_object* l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__54; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_Syntax_HasQuote() { _start: @@ -762,25 +614,7 @@ x_5 = l_Lean_mkStxLit(x_4, x_2, x_3); return x_5; } } -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -788,22 +622,22 @@ x_1 = lean_mk_string("_root_.Lean.Name.anonymous"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2; +x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -811,7 +645,64 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4() { +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1(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; 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; 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; +x_5 = l_Lean_nameToExprAux___main___closed__1; +lean_inc(x_1); +x_6 = lean_name_mk_string(x_1, x_5); +x_7 = l_Lean_Syntax_formatStx___main___closed__5; +lean_inc(x_6); +x_8 = lean_name_mk_string(x_6, x_7); +x_9 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_10 = lean_name_mk_string(x_8, x_9); +x_11 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_12 = lean_name_mk_string(x_10, x_11); +x_13 = lean_box(0); +x_14 = l_Lean_Elab_rootNamespace___closed__1; +lean_inc(x_1); +x_15 = lean_name_mk_string(x_1, x_14); +x_16 = lean_name_mk_string(x_15, x_5); +x_17 = l_Lean_nameToExprAux___main___closed__2; +x_18 = lean_name_mk_string(x_16, x_17); +x_19 = l_Lean_nameToExprAux___main___closed__3; +x_20 = lean_name_mk_string(x_18, x_19); +x_21 = lean_name_mk_numeral(x_20, x_2); +x_22 = lean_name_mk_string(x_6, x_17); +x_23 = lean_name_mk_string(x_22, x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3; +x_28 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_28, 0, x_13); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_21); +lean_ctor_set(x_28, 3, x_26); +x_29 = l_Lean_nullKind___closed__1; +x_30 = lean_name_mk_string(x_1, x_29); +x_31 = l_Array_empty___closed__1; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_34 = lean_array_push(x_33, x_28); +x_35 = lean_array_push(x_34, x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_12); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_4); +return x_37; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -819,22 +710,22 @@ x_1 = lean_mk_string("_root_.Lean.mkNameStr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5; +x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -842,7 +733,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -852,17 +743,17 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4; x_2 = l_Lean_nameToExprAux___main___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -874,89 +765,61 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9; +x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6; 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___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11() { +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6; -x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8; -x_4 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return 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; lean_object* x_28; +x_6 = lean_box(0); +x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5; +x_8 = lean_name_mk_numeral(x_7, x_3); +x_9 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3; +x_10 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7; +x_11 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_8); +lean_ctor_set(x_11, 3, x_10); +x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1); +x_19 = lean_array_push(x_12, x_17); +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Lean_strLitKind; +x_24 = l_Lean_mkStxLit(x_23, x_2, x_6); +x_25 = lean_array_push(x_12, x_22); +x_26 = lean_array_push(x_25, x_24); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_21); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_5); +return x_28; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12() { -_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___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14; -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_Quotation_1__quoteName___main___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -964,22 +827,22 @@ x_1 = lean_mk_string("_root_.Lean.mkNameNum"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18; +x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -987,17 +850,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7; +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4; x_2 = l_Lean_nameToExprAux___main___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__21() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1009,73 +872,70 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___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_Elab_Quotation_1__quoteName___main___closed__21; +x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5; 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___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23() { +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19; -x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20; -x_4 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return 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; lean_object* x_28; lean_object* x_29; +x_6 = lean_box(0); +x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4; +x_8 = lean_name_mk_numeral(x_7, x_3); +x_9 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3; +x_10 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__6; +x_11 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_8); +lean_ctor_set(x_11, 3, x_10); +x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1); +x_19 = lean_array_push(x_12, x_17); +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Nat_repr(x_2); +x_24 = l_Lean_numLitKind; +x_25 = l_Lean_mkStxLit(x_24, x_23, x_6); +x_26 = lean_array_push(x_12, x_22); +x_27 = lean_array_push(x_26, x_25); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +return x_29; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25; -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_Quotation_1__quoteName___main___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Lean_Unhygienic_MonadQuotation___closed__1; +x_2 = l_Lean_Unhygienic_MonadQuotation___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); return x_3; } } @@ -1085,125 +945,80 @@ _start: switch (lean_obj_tag(x_1)) { case 0: { -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; 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; -x_2 = l_Lean_nameToExprAux___main___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -x_4 = l_Lean_Syntax_formatStx___main___closed__5; -lean_inc(x_3); -x_5 = lean_name_mk_string(x_3, x_4); -x_6 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_7 = lean_name_mk_string(x_5, x_6); -x_8 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_9 = lean_name_mk_string(x_7, x_8); -x_10 = lean_box(0); -x_11 = l_Lean_Elab_rootNamespace___closed__1; -x_12 = lean_name_mk_string(x_1, x_11); -x_13 = lean_name_mk_string(x_12, x_2); -x_14 = l_Lean_nameToExprAux___main___closed__2; -x_15 = lean_name_mk_string(x_13, x_14); -x_16 = l_Lean_nameToExprAux___main___closed__3; -x_17 = lean_name_mk_string(x_15, x_16); -x_18 = lean_name_mk_string(x_3, x_14); -x_19 = lean_name_mk_string(x_18, x_16); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3; -x_24 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_24, 0, x_10); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_24, 2, x_17); -lean_ctor_set(x_24, 3, x_22); -x_25 = l_Lean_nullKind___closed__1; -x_26 = lean_name_mk_string(x_1, x_25); -x_27 = l_Array_empty___closed__1; -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_30 = lean_array_push(x_29, x_24); -x_31 = lean_array_push(x_30, x_28); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_9); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_33, 0, x_32); -x_34 = l_Lean_Unhygienic_run___rarg(x_33); -return x_34; +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___boxed), 4, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_4 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +x_5 = l_Lean_Unhygienic_run___rarg(x_4); +return x_5; } case 1: { -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; -x_35 = lean_ctor_get(x_1, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_1, 1); -lean_inc(x_36); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); lean_dec(x_1); -x_37 = lean_box(0); -x_38 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_35); -x_39 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__16; -x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Lean_strLitKind; -x_44 = l_Lean_mkStxLit(x_43, x_36, x_37); -x_45 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_46 = lean_array_push(x_45, x_42); -x_47 = lean_array_push(x_46, x_44); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_41); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_49, 0, x_48); -x_50 = l_Lean_Unhygienic_run___rarg(x_49); -return x_50; +x_8 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___boxed), 5, 2); +lean_closure_set(x_8, 0, x_6); +lean_closure_set(x_8, 1, x_7); +x_9 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_8); +x_11 = l_Lean_Unhygienic_run___rarg(x_10); +return x_11; } default: { -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; -x_51 = lean_ctor_get(x_1, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_1, 1); -lean_inc(x_52); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); lean_dec(x_1); -x_53 = lean_box(0); -x_54 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_51); -x_55 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__27; -x_56 = lean_array_push(x_55, x_54); -x_57 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Nat_repr(x_52); -x_60 = l_Lean_numLitKind; -x_61 = l_Lean_mkStxLit(x_60, x_59, x_53); -x_62 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_63 = lean_array_push(x_62, x_58); -x_64 = lean_array_push(x_63, x_61); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_57); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_66, 0, x_65); -x_67 = l_Lean_Unhygienic_run___rarg(x_66); -return x_67; +x_14 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___boxed), 5, 2); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_13); +x_15 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_14); +x_17 = l_Lean_Unhygienic_run___rarg(x_16); +return x_17; } } } } -lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; -x_4 = l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; +lean_object* x_5; +x_5 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___boxed(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; +x_6 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___boxed(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; +x_6 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; } } lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName(lean_object* x_1) { @@ -1230,6 +1045,23 @@ x_1 = l_Lean_Name_HasQuote___closed__1; return x_1; } } +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1(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; lean_object* x_11; +x_6 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_7 = lean_array_push(x_6, x_1); +x_8 = lean_array_push(x_7, x_2); +x_9 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_5); +return x_11; +} +} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1244,23 +1076,21 @@ return x_4; } else { -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_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_9 = lean_array_push(x_8, x_4); -x_10 = lean_array_push(x_9, x_7); -x_11 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_13, 0, x_12); -x_14 = l_Lean_Unhygienic_run___rarg(x_13); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); +x_8 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1___boxed), 5, 2); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_7); +x_9 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_8); +x_11 = l_Lean_Unhygienic_run___rarg(x_10); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_3, x_12); lean_dec(x_3); -x_3 = x_16; -x_4 = x_14; +x_3 = x_13; +x_4 = x_11; goto _start; } } @@ -1274,6 +1104,16 @@ x_4 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN return x_4; } } +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1___boxed(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; +x_6 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_2__appN___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -1293,7 +1133,7 @@ lean_dec(x_2); return x_3; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__1() { +lean_object* _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1301,22 +1141,22 @@ x_1 = lean_mk_string("_root_.Prod.mk"); return x_1; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__2() { +lean_object* _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Prod_HasQuote___rarg___closed__1; +x_1 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__3() { +lean_object* _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Prod_HasQuote___rarg___closed__1; +x_1 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Prod_HasQuote___rarg___closed__2; +x_3 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1324,171 +1164,87 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Prod"); -return x_1; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__5() { +lean_object* _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_rootNamespace___closed__2; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__4; +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("mk"); -return x_1; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__7() { +lean_object* _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Prod_HasQuote___rarg___closed__5; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__6; +x_1 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4; +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__8() { +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1(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: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Prod_HasQuote___rarg___closed__8; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__6; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___closed__9; -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_Prod_HasQuote___rarg___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___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_Prod_HasQuote___rarg___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___closed__3; -x_3 = l_Lean_Prod_HasQuote___rarg___closed__7; -x_4 = l_Lean_Prod_HasQuote___rarg___closed__11; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Prod_HasQuote___rarg___closed__13; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Prod_HasQuote___rarg___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__14; -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_Prod_HasQuote___rarg___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Prod_HasQuote___rarg___closed__15; -x_3 = lean_array_push(x_1, x_2); -return x_3; +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; lean_object* x_28; lean_object* x_29; +x_8 = lean_box(0); +x_9 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5; +x_10 = lean_name_mk_numeral(x_9, x_5); +x_11 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3; +x_12 = l_Lean_Elab_Term_mkPairsAux___main___closed__9; +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_8); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_10); +lean_ctor_set(x_13, 3, x_12); +x_14 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_15 = lean_array_push(x_14, x_13); +x_16 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_17 = lean_array_push(x_15, x_16); +x_18 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_apply_1(x_1, x_2); +x_21 = lean_array_push(x_14, x_19); +x_22 = lean_array_push(x_21, x_20); +x_23 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_apply_1(x_3, x_4); +x_26 = lean_array_push(x_14, x_24); +x_27 = lean_array_push(x_26, x_25); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_7); +return x_29; } } lean_object* l_Lean_Prod_HasQuote___rarg(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_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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); lean_inc(x_5); lean_dec(x_3); -x_6 = lean_apply_1(x_1, x_4); -x_7 = l_Lean_Prod_HasQuote___rarg___closed__16; -x_8 = lean_array_push(x_7, x_6); -x_9 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -x_11 = lean_apply_1(x_2, x_5); -x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_13 = lean_array_push(x_12, x_10); -x_14 = lean_array_push(x_13, x_11); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_9); -lean_ctor_set(x_15, 1, x_14); -x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = l_Lean_Unhygienic_run___rarg(x_16); -return x_17; +x_6 = lean_alloc_closure((void*)(l_Lean_Prod_HasQuote___rarg___lambda__1___boxed), 7, 4); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_4); +lean_closure_set(x_6, 2, x_2); +lean_closure_set(x_6, 3, x_5); +x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_8 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_6); +x_9 = l_Lean_Unhygienic_run___rarg(x_8); +return x_9; } } lean_object* l_Lean_Prod_HasQuote(lean_object* x_1, lean_object* x_2) { @@ -1499,7 +1255,16 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Prod_HasQuote___rarg), 3, 0); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1() { +lean_object* l_Lean_Prod_HasQuote___rarg___lambda__1___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: +{ +lean_object* x_8; +x_8 = l_Lean_Prod_HasQuote___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1507,22 +1272,22 @@ x_1 = lean_mk_string("_root_.List.nil"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2; +x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1530,7 +1295,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1540,17 +1305,17 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4; x_2 = l_Lean_Elab_Term_elabListLit___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1562,86 +1327,47 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6; 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___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8() { +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; -x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5; -x_4 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; +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; +x_4 = lean_box(0); +x_5 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5; +x_6 = lean_name_mk_numeral(x_5, x_1); +x_7 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3; +x_8 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7; +x_9 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_7); +lean_ctor_set(x_9, 2, x_6); +lean_ctor_set(x_9, 3, x_8); +x_10 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_13 = lean_array_push(x_11, x_12); +x_14 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_3); +return x_16; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10; -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_Quotation_3__quoteList___main___rarg___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11; -x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__12; -x_2 = l_Lean_Unhygienic_run___rarg(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -1649,22 +1375,22 @@ x_1 = lean_mk_string("_root_.List.cons"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15; +x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1672,17 +1398,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4; x_2 = l_Lean_Parser_Term_cons___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__18() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1694,74 +1420,87 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___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_Elab_Quotation_3__quoteList___main___rarg___closed__18; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5; 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___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20() { +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__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_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16; -x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17; -x_4 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; +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; lean_object* x_28; +x_7 = lean_box(0); +x_8 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4; +x_9 = lean_name_mk_numeral(x_8, x_4); +x_10 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3; +x_11 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6; +x_12 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_10); +lean_ctor_set(x_12, 2, x_9); +lean_ctor_set(x_12, 3, x_11); +x_13 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_16 = lean_array_push(x_14, x_15); +x_17 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +lean_inc(x_1); +x_19 = lean_apply_1(x_1, x_2); +x_20 = lean_array_push(x_13, x_18); +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg(x_1, x_3); +x_25 = lean_array_push(x_13, x_23); +x_26 = lean_array_push(x_25, x_24); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_6); +return x_28; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___boxed), 3, 0); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20; -x_3 = lean_array_push(x_1, x_2); +x_1 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22; -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_Quotation_3__quoteList___main___rarg___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2; +x_2 = l_Lean_Unhygienic_run___rarg(x_1); +return x_2; } } lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg(lean_object* x_1, lean_object* x_2) { @@ -1771,36 +1510,27 @@ if (lean_obj_tag(x_2) == 0) { lean_object* x_3; lean_dec(x_1); -x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13; +x_3 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; return x_3; } else { -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_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); lean_inc(x_5); lean_dec(x_2); -lean_inc(x_1); -x_6 = lean_apply_1(x_1, x_4); -x_7 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24; -x_8 = lean_array_push(x_7, x_6); -x_9 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -x_11 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg(x_1, x_5); -x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_13 = lean_array_push(x_12, x_10); -x_14 = lean_array_push(x_13, x_11); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_9); -lean_ctor_set(x_15, 1, x_14); -x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_16, 0, x_15); -x_17 = l_Lean_Unhygienic_run___rarg(x_16); -return x_17; +x_6 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___boxed), 6, 3); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_4); +lean_closure_set(x_6, 2, x_5); +x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_8 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_8, 0, x_7); +lean_closure_set(x_8, 1, x_6); +x_9 = l_Lean_Unhygienic_run___rarg(x_8); +return x_9; } } } @@ -1812,6 +1542,24 @@ x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteLi return x_2; } } +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__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___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -1845,7 +1593,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_List_HasQuote___rarg), 1, 0); return x_2; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__1() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1853,22 +1601,22 @@ x_1 = lean_mk_string("_root_.List.toArray"); return x_1; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__2() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Array_HasQuote___rarg___closed__1; +x_1 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__3() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Array_HasQuote___rarg___closed__1; +x_1 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Array_HasQuote___rarg___closed__2; +x_3 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1876,7 +1624,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__4() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__4() { _start: { lean_object* x_1; @@ -1884,124 +1632,98 @@ x_1 = lean_mk_string("toArray"); return x_1; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__5() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4; -x_2 = l_Lean_Array_HasQuote___rarg___closed__4; +x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4; +x_2 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__6() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_elabListLit___closed__2; -x_2 = l_Lean_Array_HasQuote___rarg___closed__4; +x_2 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__7() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Array_HasQuote___rarg___closed__6; +x_2 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__6; 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_Array_HasQuote___rarg___closed__8() { +lean_object* _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Array_HasQuote___rarg___closed__7; +x_2 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__9() { +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Array_HasQuote___rarg___closed__3; -x_3 = l_Lean_Array_HasQuote___rarg___closed__5; -x_4 = l_Lean_Array_HasQuote___rarg___closed__8; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Array_HasQuote___rarg___closed__9; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Array_HasQuote___rarg___closed__10; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Array_HasQuote___rarg___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_Lean_Array_HasQuote___rarg___closed__11; -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_Array_HasQuote___rarg___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Array_HasQuote___rarg___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +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; +x_5 = lean_box(0); +x_6 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__5; +x_7 = lean_name_mk_numeral(x_6, x_2); +x_8 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__3; +x_9 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__8; +x_10 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set(x_10, 2, x_7); +lean_ctor_set(x_10, 3, x_9); +x_11 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_12 = lean_array_push(x_11, x_10); +x_13 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_14 = lean_array_push(x_12, x_13); +x_15 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_array_push(x_11, x_16); +x_18 = lean_array_push(x_17, x_1); +x_19 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_4); +return x_21; } } lean_object* l_Lean_Array_HasQuote___rarg(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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +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_3 = l_Array_toList___rarg(x_2); x_4 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg(x_1, x_3); -x_5 = l_Lean_Array_HasQuote___rarg___closed__13; -x_6 = lean_array_push(x_5, x_4); -x_7 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -x_9 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_9, 0, x_8); -x_10 = l_Lean_Unhygienic_run___rarg(x_9); -return x_10; +x_5 = lean_alloc_closure((void*)(l_Lean_Array_HasQuote___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_5, 0, x_4); +x_6 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_7, 0, x_6); +lean_closure_set(x_7, 1, x_5); +x_8 = l_Lean_Unhygienic_run___rarg(x_7); +return x_8; } } lean_object* l_Lean_Array_HasQuote(lean_object* x_1) { @@ -2012,6 +1734,15 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Array_HasQuote___rarg___boxed), 2, 0); return x_2; } } +lean_object* l_Lean_Array_HasQuote___rarg___lambda__1___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_Lean_Array_HasQuote___rarg___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* l_Lean_Array_HasQuote___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2192,40 +1923,72 @@ return x_26; } } } +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1(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; 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; +x_6 = lean_box(0); +x_7 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4; +x_8 = lean_name_mk_numeral(x_7, x_3); +x_9 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3; +x_10 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6; +x_11 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_8); +lean_ctor_set(x_11, 3, x_10); +x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_array_push(x_12, x_17); +x_19 = lean_array_push(x_18, x_1); +x_20 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_2); +x_23 = lean_array_push(x_12, x_21); +x_24 = lean_array_push(x_23, x_22); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_5); +return x_26; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; return x_2; } else { -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_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); -x_5 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24; -x_6 = lean_array_push(x_5, x_3); -x_7 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -x_9 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_4); -x_10 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_11 = lean_array_push(x_10, x_8); -x_12 = lean_array_push(x_11, x_9); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_7); -lean_ctor_set(x_13, 1, x_12); -x_14 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_14, 0, x_13); -x_15 = l_Lean_Unhygienic_run___rarg(x_14); -return x_15; +x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1___boxed), 5, 2); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_4); +x_6 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_7, 0, x_6); +lean_closure_set(x_7, 1, x_5); +x_8 = l_Lean_Unhygienic_run___rarg(x_7); +return x_8; } } } @@ -2256,127 +2019,225 @@ return x_10; } } } +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1(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; 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; lean_object* x_28; +x_6 = lean_box(0); +x_7 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4; +x_8 = lean_name_mk_numeral(x_7, x_3); +x_9 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3; +x_10 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6; +x_11 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_8); +lean_ctor_set(x_11, 3, x_10); +x_12 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_15 = lean_array_push(x_13, x_14); +x_16 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_strLitKind; +x_19 = l_Lean_mkStxLit(x_18, x_1, x_6); +x_20 = lean_array_push(x_12, x_17); +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(x_2); +x_25 = lean_array_push(x_12, x_23); +x_26 = lean_array_push(x_25, x_24); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_5); +return x_28; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(lean_object* x_1) { _start: { if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; return x_2; } else { -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_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); -x_5 = lean_box(0); -x_6 = l_Lean_strLitKind; -x_7 = l_Lean_mkStxLit(x_6, x_3, x_5); -x_8 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24; -x_9 = lean_array_push(x_8, x_7); -x_10 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(x_4); -x_13 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_14 = lean_array_push(x_13, x_11); -x_15 = lean_array_push(x_14, x_12); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_17, 0, x_16); -x_18 = l_Lean_Unhygienic_run___rarg(x_17); -return x_18; +x_5 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1___boxed), 5, 2); +lean_closure_set(x_5, 0, x_3); +lean_closure_set(x_5, 1, x_4); +x_6 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_7, 0, x_6); +lean_closure_set(x_7, 1, x_5); +x_8 = l_Lean_Unhygienic_run___rarg(x_7); +return x_8; } } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1() { +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1(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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___closed__9; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_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; 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; +x_13 = l_Lean_Elab_Term_mkPairsAux___main___closed__4; +x_14 = lean_name_mk_string(x_1, x_13); +x_15 = l_Lean_Elab_Term_mkPairsAux___main___closed__6; +x_16 = lean_name_mk_string(x_14, x_15); +x_17 = lean_name_mk_numeral(x_16, x_10); +x_18 = l_Lean_Elab_Term_mkPairsAux___main___closed__7; +lean_inc(x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_2); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_2); +x_21 = l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3; +x_22 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_22, 0, x_3); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_22, 2, x_17); +lean_ctor_set(x_22, 3, x_20); +lean_inc(x_4); +x_23 = lean_array_push(x_4, x_22); +x_24 = lean_array_push(x_23, x_5); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_6); +lean_ctor_set(x_25, 1, x_24); +x_26 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_7); +lean_inc(x_4); +x_27 = lean_array_push(x_4, x_25); +x_28 = lean_array_push(x_27, x_26); +lean_inc(x_8); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_8); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(x_9); +x_31 = lean_array_push(x_4, x_29); +x_32 = lean_array_push(x_31, x_30); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_8); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_12); +return x_34; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2() { +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__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_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1; -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___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3() { -_start: +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; uint8_t x_22; +x_7 = lean_box(0); +x_8 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4; +x_9 = lean_name_mk_numeral(x_8, x_4); +x_10 = lean_box(0); +x_11 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3; +x_12 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6; +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_9); +lean_ctor_set(x_13, 3, x_12); +x_14 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_15 = lean_array_push(x_14, x_13); +x_16 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_17 = lean_array_push(x_15, x_16); +x_18 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_array_push(x_14, x_19); +x_21 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_1); +x_22 = !lean_is_exclusive(x_2); +if (x_22 == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Prod_HasQuote___rarg___closed__3; -x_3 = l_Lean_Prod_HasQuote___rarg___closed__7; -x_4 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; +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; +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +x_25 = l_Lean_Elab_rootNamespace___closed__2; +x_26 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_27 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1___boxed), 12, 9); +lean_closure_set(x_27, 0, x_25); +lean_closure_set(x_27, 1, x_10); +lean_closure_set(x_27, 2, x_7); +lean_closure_set(x_27, 3, x_14); +lean_closure_set(x_27, 4, x_16); +lean_closure_set(x_27, 5, x_18); +lean_closure_set(x_27, 6, x_23); +lean_closure_set(x_27, 7, x_26); +lean_closure_set(x_27, 8, x_24); +x_28 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_28, 0, x_3); +lean_closure_set(x_28, 1, x_27); +x_29 = l_Lean_Unhygienic_run___rarg(x_28); +x_30 = lean_array_push(x_20, x_29); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_array_push(x_14, x_31); +x_33 = lean_array_push(x_32, x_21); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_26); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_2, 1, x_6); +lean_ctor_set(x_2, 0, x_34); +return x_2; } -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; +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; +x_35 = lean_ctor_get(x_2, 0); +x_36 = lean_ctor_get(x_2, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_2); +x_37 = l_Lean_Elab_rootNamespace___closed__2; +x_38 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_39 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1___boxed), 12, 9); +lean_closure_set(x_39, 0, x_37); +lean_closure_set(x_39, 1, x_10); +lean_closure_set(x_39, 2, x_7); +lean_closure_set(x_39, 3, x_14); +lean_closure_set(x_39, 4, x_16); +lean_closure_set(x_39, 5, x_18); +lean_closure_set(x_39, 6, x_35); +lean_closure_set(x_39, 7, x_38); +lean_closure_set(x_39, 8, x_36); +x_40 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_40, 0, x_3); +lean_closure_set(x_40, 1, x_39); +x_41 = l_Lean_Unhygienic_run___rarg(x_40); +x_42 = lean_array_push(x_20, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_38); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_array_push(x_14, x_43); +x_45 = lean_array_push(x_44, x_21); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_38); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_6); +return x_47; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___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_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} } lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(lean_object* x_1) { _start: @@ -2384,57 +2245,67 @@ _start: if (lean_obj_tag(x_1) == 0) { lean_object* x_2; -x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13; +x_2 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3; return x_2; } else { -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; +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_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); -x_5 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_4); -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_3, 1); -lean_inc(x_7); -lean_dec(x_3); -x_8 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_6); -x_9 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7; -x_10 = lean_array_push(x_9, x_8); -x_11 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5(x_7); -x_14 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_15 = lean_array_push(x_14, x_12); -x_16 = lean_array_push(x_15, x_13); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_11); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_18, 0, x_17); -x_19 = l_Lean_Unhygienic_run___rarg(x_18); -x_20 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_11); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_array_push(x_14, x_22); -x_24 = lean_array_push(x_23, x_5); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_11); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_26, 0, x_25); -x_27 = l_Lean_Unhygienic_run___rarg(x_26); -return x_27; +x_5 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_6 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__2___boxed), 6, 3); +lean_closure_set(x_6, 0, x_4); +lean_closure_set(x_6, 1, x_3); +lean_closure_set(x_6, 2, x_5); +x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_7, 0, x_5); +lean_closure_set(x_7, 1, x_6); +x_8 = l_Lean_Unhygienic_run___rarg(x_7); +return x_8; } } } +lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1(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; 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; +x_6 = l_Lean_Parser_Term_app___elambda__1___closed__1; +lean_inc(x_1); +x_7 = lean_name_mk_string(x_1, x_6); +x_8 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_9 = lean_name_mk_string(x_1, x_8); +x_10 = lean_box(0); +x_11 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__5; +x_12 = lean_name_mk_numeral(x_11, x_3); +x_13 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__3; +x_14 = l_Lean_Array_HasQuote___rarg___lambda__1___closed__8; +x_15 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_14); +x_16 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_17 = lean_array_push(x_16, x_15); +x_18 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_19 = lean_array_push(x_17, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_array_push(x_16, x_20); +x_22 = lean_array_push(x_21, x_2); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_5); +return x_24; +} +} lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__1() { _start: { @@ -2521,58 +2392,49 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string("Lean.nullKind"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__9; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__10; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__10; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__12() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__11; -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* x_1; +x_1 = lean_mk_string("nullKind"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_1 = l_Lean_nameToExprAux___main___closed__4; x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__12; -x_3 = lean_array_push(x_1, x_2); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2581,7 +2443,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2603,75 +2465,55 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__16() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__15; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string("unexpected antiquotation splice"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__17() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__16; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__16; +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_Quotation_6__quoteSyntax___main___closed__18() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__17; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__19() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__18; -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* x_1; +x_1 = lean_mk_string("Lean.Syntax.atom"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__20() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Lean.nullKind"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__19; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__20; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__22() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__20; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2679,21 +2521,33 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__23() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__22() { _start: { lean_object* x_1; -x_1 = lean_mk_string("nullKind"); +x_1 = lean_mk_string("atom"); return x_1; } } +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__5; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nameToExprAux___main___closed__4; +x_1 = lean_box(0); x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__23; -x_3 = lean_name_mk_string(x_1, x_2); +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; } } @@ -2703,7 +2557,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__24; -x_3 = lean_alloc_ctor(0, 2, 0); +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; @@ -2712,278 +2566,27 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__26() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__25; -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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__22; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__24; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__26; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__27; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29; -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_Quotation_6__quoteSyntax___main___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__19; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__30; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__32; -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_Quotation_6__quoteSyntax___main___closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected antiquotation splice"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35; -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_Quotation_6__quoteSyntax___main___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Syntax.atom"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__39; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("atom"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__5; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42; -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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; -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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__46; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47; -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_Quotation_6__quoteSyntax___main___closed__49() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("Option.none"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__27() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__49; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__26; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__49; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__26; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__27; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2991,7 +2594,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29() { _start: { lean_object* x_1; @@ -2999,141 +2602,51 @@ x_1 = lean_mk_string("Option"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__30; x_2 = l_Option_HasRepr___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__55() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__55; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__32; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__57; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; -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_Quotation_6__quoteSyntax___main___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__61; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62; -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_Quotation_6__quoteSyntax___main___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34() { _start: { lean_object* x_1; @@ -3141,22 +2654,22 @@ x_1 = lean_mk_string("Lean.addMacroScope"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__35; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3164,7 +2677,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__37() { _start: { lean_object* x_1; @@ -3172,99 +2685,41 @@ x_1 = lean_mk_string("addMacroScope"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nameToExprAux___main___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__39; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74; -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_Quotation_6__quoteSyntax___main___closed__76() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41() { _start: { lean_object* x_1; @@ -3272,22 +2727,22 @@ x_1 = lean_mk_string("scp"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__42; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3295,65 +2750,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__41; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_2); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83; -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_Quotation_6__quoteSyntax___main___closed__85() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45() { _start: { lean_object* x_1; @@ -3361,22 +2768,22 @@ x_1 = lean_mk_string("Lean.Syntax.ident"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__46() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__45; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__46; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3384,7 +2791,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3394,111 +2801,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__49; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93; -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_Quotation_6__quoteSyntax___main___closed__95() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__95; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96; -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_Quotation_6__quoteSyntax___main___closed__98() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3510,7 +2837,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52() { _start: { lean_object* x_1; @@ -3518,22 +2845,22 @@ x_1 = lean_mk_string("String.toSubstring"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__52; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100; +x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__53; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3541,7 +2868,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__55() { _start: { lean_object* x_1; @@ -3549,99 +2876,41 @@ x_1 = lean_mk_string("toSubstring"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Literal_type___closed__5; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__55; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__57() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__57; 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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101; -x_3 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103; -x_4 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108; -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_Quotation_6__quoteSyntax___main___closed__110() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3653,22 +2922,12 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97; +x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -3711,6 +2970,7 @@ if (x_12 == 0) lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_8); x_17 = lean_unsigned_to_nat(0u); +lean_inc(x_3); x_18 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1(x_1, x_17, x_9, x_3, x_4); if (lean_obj_tag(x_18) == 0) { @@ -3718,115 +2978,204 @@ uint8_t x_19; x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { -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_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; x_20 = lean_ctor_get(x_18, 0); x_21 = l_Array_toList___rarg(x_20); lean_dec(x_20); x_22 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_21); -x_23 = l_Lean_Array_HasQuote___rarg___closed__13; -x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_ctor_set(x_2, 1, x_24); -lean_ctor_set(x_2, 0, x_25); -x_26 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_26, 0, x_2); +x_23 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__2; +x_24 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1___boxed), 5, 2); +lean_closure_set(x_24, 0, x_23); +lean_closure_set(x_24, 1, x_22); +x_25 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_26, 0, x_25); +lean_closure_set(x_26, 1, x_24); x_27 = l_Lean_Unhygienic_run___rarg(x_26); -x_28 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; -x_29 = lean_array_push(x_28, x_16); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_32 = lean_array_push(x_31, x_30); -x_33 = lean_array_push(x_32, x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_18, 0, x_34); +x_28 = lean_ctor_get(x_3, 8); +lean_inc(x_28); +lean_dec(x_3); +x_29 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_28); +lean_dec(x_28); +x_30 = lean_box(0); +x_31 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +x_32 = lean_name_mk_numeral(x_31, x_29); +x_33 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; +x_34 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_35, 2, x_32); +lean_ctor_set(x_35, 3, x_34); +x_36 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_37 = lean_array_push(x_36, x_35); +x_38 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_39 = lean_array_push(x_37, x_38); +x_40 = l_Lean_Parser_Term_id___elambda__1___closed__4; +lean_ctor_set(x_2, 1, x_39); +lean_ctor_set(x_2, 0, x_40); +x_41 = lean_array_push(x_36, x_2); +x_42 = lean_array_push(x_41, x_16); +x_43 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_array_push(x_36, x_44); +x_46 = lean_array_push(x_45, x_27); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_43); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_18, 0, x_47); return x_18; } else { -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; -x_35 = lean_ctor_get(x_18, 0); -x_36 = lean_ctor_get(x_18, 1); -lean_inc(x_36); -lean_inc(x_35); +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; +x_48 = lean_ctor_get(x_18, 0); +x_49 = lean_ctor_get(x_18, 1); +lean_inc(x_49); +lean_inc(x_48); lean_dec(x_18); -x_37 = l_Array_toList___rarg(x_35); -lean_dec(x_35); -x_38 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_37); -x_39 = l_Lean_Array_HasQuote___rarg___closed__13; -x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_ctor_set(x_2, 1, x_40); -lean_ctor_set(x_2, 0, x_41); -x_42 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_42, 0, x_2); -x_43 = l_Lean_Unhygienic_run___rarg(x_42); -x_44 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; -x_45 = lean_array_push(x_44, x_16); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_48 = lean_array_push(x_47, x_46); -x_49 = lean_array_push(x_48, x_43); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_41); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_36); -return x_51; +x_50 = l_Array_toList___rarg(x_48); +lean_dec(x_48); +x_51 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_50); +x_52 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__2; +x_53 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1___boxed), 5, 2); +lean_closure_set(x_53, 0, x_52); +lean_closure_set(x_53, 1, x_51); +x_54 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_55, 0, x_54); +lean_closure_set(x_55, 1, x_53); +x_56 = l_Lean_Unhygienic_run___rarg(x_55); +x_57 = lean_ctor_get(x_3, 8); +lean_inc(x_57); +lean_dec(x_3); +x_58 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_57); +lean_dec(x_57); +x_59 = lean_box(0); +x_60 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +x_61 = lean_name_mk_numeral(x_60, x_58); +x_62 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; +x_63 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; +x_64 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_62); +lean_ctor_set(x_64, 2, x_61); +lean_ctor_set(x_64, 3, x_63); +x_65 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_66 = lean_array_push(x_65, x_64); +x_67 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_68 = lean_array_push(x_66, x_67); +x_69 = l_Lean_Parser_Term_id___elambda__1___closed__4; +lean_ctor_set(x_2, 1, x_68); +lean_ctor_set(x_2, 0, x_69); +x_70 = lean_array_push(x_65, x_2); +x_71 = lean_array_push(x_70, x_16); +x_72 = l_Lean_Parser_Term_app___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_65, x_73); +x_75 = lean_array_push(x_74, x_56); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_72); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_49); +return x_77; } } else { -uint8_t x_52; +uint8_t x_78; lean_dec(x_16); lean_free_object(x_2); -x_52 = !lean_is_exclusive(x_18); -if (x_52 == 0) +lean_dec(x_3); +x_78 = !lean_is_exclusive(x_18); +if (x_78 == 0) { return x_18; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_18, 0); -x_54 = lean_ctor_get(x_18, 1); -lean_inc(x_54); -lean_inc(x_53); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_18, 0); +x_80 = lean_ctor_get(x_18, 1); +lean_inc(x_80); +lean_inc(x_79); lean_dec(x_18); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } else { -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_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_dec(x_8); -lean_dec(x_3); -x_56 = l_Lean_stxInh; -x_57 = lean_unsigned_to_nat(0u); -x_58 = lean_array_get(x_56, x_9, x_57); +x_82 = l_Lean_stxInh; +x_83 = lean_unsigned_to_nat(0u); +x_84 = lean_array_get(x_82, x_9, x_83); lean_dec(x_9); -x_59 = lean_unsigned_to_nat(1u); -x_60 = l_Lean_Syntax_getArg(x_58, x_59); -lean_dec(x_58); -x_61 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34; -x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_ctor_set(x_2, 1, x_62); -lean_ctor_set(x_2, 0, x_63); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_2); -lean_ctor_set(x_64, 1, x_4); -return x_64; +x_85 = lean_unsigned_to_nat(1u); +x_86 = l_Lean_Syntax_getArg(x_84, x_85); +lean_dec(x_84); +x_87 = lean_ctor_get(x_3, 8); +lean_inc(x_87); +lean_dec(x_3); +x_88 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_87); +lean_dec(x_87); +x_89 = lean_box(0); +x_90 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +lean_inc(x_88); +x_91 = lean_name_mk_numeral(x_90, x_88); +x_92 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; +x_93 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; +x_94 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_93); +x_95 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_96 = lean_array_push(x_95, x_94); +x_97 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_98 = lean_array_push(x_96, x_97); +x_99 = l_Lean_Parser_Term_id___elambda__1___closed__4; +lean_ctor_set(x_2, 1, x_98); +lean_ctor_set(x_2, 0, x_99); +x_100 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; +x_101 = lean_name_mk_numeral(x_100, x_88); +x_102 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__11; +x_103 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__15; +x_104 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_104, 0, x_89); +lean_ctor_set(x_104, 1, x_102); +lean_ctor_set(x_104, 2, x_101); +lean_ctor_set(x_104, 3, x_103); +x_105 = lean_array_push(x_95, x_104); +x_106 = lean_array_push(x_105, x_97); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_99); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_array_push(x_95, x_2); +x_109 = lean_array_push(x_108, x_107); +x_110 = l_Lean_Parser_Term_app___elambda__1___closed__2; +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_95, x_111); +x_113 = lean_array_push(x_112, x_86); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_110); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_4); +return x_115; } } else @@ -3834,357 +3183,865 @@ else lean_dec(x_2); if (x_12 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_8); -x_66 = lean_unsigned_to_nat(0u); -x_67 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1(x_1, x_66, x_9, x_3, x_4); -if (lean_obj_tag(x_67) == 0) +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_8); +x_117 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +x_118 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__1(x_1, x_117, x_9, x_3, x_4); +if (lean_obj_tag(x_118) == 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_70 = x_67; +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; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_121 = x_118; } else { - lean_dec_ref(x_67); - x_70 = lean_box(0); + lean_dec_ref(x_118); + x_121 = lean_box(0); } -x_71 = l_Array_toList___rarg(x_68); -lean_dec(x_68); -x_72 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_71); -x_73 = l_Lean_Array_HasQuote___rarg___closed__13; -x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Term_app___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_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_77, 0, x_76); -x_78 = l_Lean_Unhygienic_run___rarg(x_77); -x_79 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; -x_80 = lean_array_push(x_79, x_65); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_75); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_83 = lean_array_push(x_82, x_81); -x_84 = lean_array_push(x_83, x_78); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_75); -lean_ctor_set(x_85, 1, x_84); -if (lean_is_scalar(x_70)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_70; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_69); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_65); -x_87 = lean_ctor_get(x_67, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_67, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_89 = x_67; -} else { - lean_dec_ref(x_67); - 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 -{ -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_dec(x_8); +x_122 = l_Array_toList___rarg(x_119); +lean_dec(x_119); +x_123 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2(x_122); +x_124 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__2; +x_125 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1___boxed), 5, 2); +lean_closure_set(x_125, 0, x_124); +lean_closure_set(x_125, 1, x_123); +x_126 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_127 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_127, 0, x_126); +lean_closure_set(x_127, 1, x_125); +x_128 = l_Lean_Unhygienic_run___rarg(x_127); +x_129 = lean_ctor_get(x_3, 8); +lean_inc(x_129); lean_dec(x_3); -x_91 = l_Lean_stxInh; -x_92 = lean_unsigned_to_nat(0u); -x_93 = lean_array_get(x_91, x_9, x_92); +x_130 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_129); +lean_dec(x_129); +x_131 = lean_box(0); +x_132 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +x_133 = lean_name_mk_numeral(x_132, x_130); +x_134 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; +x_135 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; +x_136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_136, 0, x_131); +lean_ctor_set(x_136, 1, x_134); +lean_ctor_set(x_136, 2, x_133); +lean_ctor_set(x_136, 3, x_135); +x_137 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_138 = lean_array_push(x_137, x_136); +x_139 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_140 = lean_array_push(x_138, x_139); +x_141 = l_Lean_Parser_Term_id___elambda__1___closed__4; +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_137, x_142); +x_144 = lean_array_push(x_143, x_116); +x_145 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_array_push(x_137, x_146); +x_148 = lean_array_push(x_147, x_128); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_145); +lean_ctor_set(x_149, 1, x_148); +if (lean_is_scalar(x_121)) { + x_150 = lean_alloc_ctor(0, 2, 0); +} else { + x_150 = x_121; +} +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_120); +return x_150; +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_116); +lean_dec(x_3); +x_151 = lean_ctor_get(x_118, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_118, 1); +lean_inc(x_152); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_153 = x_118; +} else { + lean_dec_ref(x_118); + x_153 = lean_box(0); +} +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(1, 2, 0); +} else { + x_154 = x_153; +} +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_152); +return x_154; +} +} +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_dec(x_8); +x_155 = l_Lean_stxInh; +x_156 = lean_unsigned_to_nat(0u); +x_157 = lean_array_get(x_155, x_9, x_156); lean_dec(x_9); -x_94 = lean_unsigned_to_nat(1u); -x_95 = l_Lean_Syntax_getArg(x_93, x_94); -lean_dec(x_93); -x_96 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__34; -x_97 = lean_array_push(x_96, x_95); -x_98 = l_Lean_Parser_Term_app___elambda__1___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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_4); -return x_100; +x_158 = lean_unsigned_to_nat(1u); +x_159 = l_Lean_Syntax_getArg(x_157, x_158); +lean_dec(x_157); +x_160 = lean_ctor_get(x_3, 8); +lean_inc(x_160); +lean_dec(x_3); +x_161 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_160); +lean_dec(x_160); +x_162 = lean_box(0); +x_163 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__6; +lean_inc(x_161); +x_164 = lean_name_mk_numeral(x_163, x_161); +x_165 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__3; +x_166 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__8; +x_167 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_167, 0, x_162); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set(x_167, 2, x_164); +lean_ctor_set(x_167, 3, x_166); +x_168 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_169 = lean_array_push(x_168, x_167); +x_170 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_171 = lean_array_push(x_169, x_170); +x_172 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__13; +x_175 = lean_name_mk_numeral(x_174, x_161); +x_176 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__11; +x_177 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__15; +x_178 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_178, 0, x_162); +lean_ctor_set(x_178, 1, x_176); +lean_ctor_set(x_178, 2, x_175); +lean_ctor_set(x_178, 3, x_177); +x_179 = lean_array_push(x_168, x_178); +x_180 = lean_array_push(x_179, x_170); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_172); +lean_ctor_set(x_181, 1, x_180); +x_182 = lean_array_push(x_168, x_173); +x_183 = lean_array_push(x_182, x_181); +x_184 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_183); +x_186 = lean_array_push(x_168, x_185); +x_187 = lean_array_push(x_186, x_159); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_184); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_4); +return x_189; } } } else { -uint8_t x_101; +uint8_t x_190; lean_dec(x_9); lean_dec(x_8); -x_101 = l___private_Init_Lean_Elab_Quotation_4__isAntiquotSplice(x_2); -if (x_101 == 0) +x_190 = l___private_Init_Lean_Elab_Quotation_4__isAntiquotSplice(x_2); +if (x_190 == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_dec(x_3); -x_102 = lean_unsigned_to_nat(1u); -x_103 = l_Lean_Syntax_getArg(x_2, x_102); +x_191 = lean_unsigned_to_nat(1u); +x_192 = l_Lean_Syntax_getArg(x_2, x_191); lean_dec(x_2); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_4); -return x_104; +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_4); +return x_193; } else { -lean_object* x_105; lean_object* x_106; -x_105 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__37; -x_106 = l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3(x_2, x_105, x_3, x_4); +lean_object* x_194; lean_object* x_195; +x_194 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__18; +x_195 = l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3(x_2, x_194, x_3, x_4); lean_dec(x_3); lean_dec(x_2); -return x_106; +return x_195; } } } case 2: { -uint8_t x_107; -lean_dec(x_3); -x_107 = !lean_is_exclusive(x_2); -if (x_107 == 0) +uint8_t x_196; +x_196 = !lean_is_exclusive(x_2); +if (x_196 == 0) { -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; -x_108 = lean_ctor_get(x_2, 1); -x_109 = lean_ctor_get(x_2, 0); -lean_dec(x_109); -x_110 = lean_box(0); -x_111 = l_Lean_strLitKind; -x_112 = l_Lean_mkStxLit(x_111, x_108, x_110); -x_113 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64; -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Parser_Term_app___elambda__1___closed__2; +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; +x_197 = lean_ctor_get(x_2, 1); +x_198 = lean_ctor_get(x_2, 0); +lean_dec(x_198); +x_199 = lean_ctor_get(x_3, 8); +lean_inc(x_199); +lean_dec(x_3); +x_200 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_199); +lean_dec(x_199); +x_201 = lean_box(0); +x_202 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__23; +lean_inc(x_200); +x_203 = lean_name_mk_numeral(x_202, x_200); +x_204 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21; +x_205 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__25; +x_206 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_206, 0, x_201); +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 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_208 = lean_array_push(x_207, x_206); +x_209 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_210 = lean_array_push(x_208, x_209); +x_211 = l_Lean_Parser_Term_id___elambda__1___closed__4; lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 1, x_114); -lean_ctor_set(x_2, 0, x_115); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_2); -lean_ctor_set(x_116, 1, x_4); -return x_116; +lean_ctor_set(x_2, 1, x_210); +lean_ctor_set(x_2, 0, x_211); +x_212 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; +x_213 = lean_name_mk_numeral(x_212, x_200); +x_214 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; +x_215 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; +x_216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_216, 0, x_201); +lean_ctor_set(x_216, 1, x_214); +lean_ctor_set(x_216, 2, x_213); +lean_ctor_set(x_216, 3, x_215); +x_217 = lean_array_push(x_207, x_216); +x_218 = lean_array_push(x_217, x_209); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_211); +lean_ctor_set(x_219, 1, x_218); +x_220 = lean_array_push(x_207, x_2); +x_221 = lean_array_push(x_220, x_219); +x_222 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = l_Lean_strLitKind; +x_225 = l_Lean_mkStxLit(x_224, x_197, x_201); +x_226 = lean_array_push(x_207, x_223); +x_227 = lean_array_push(x_226, x_225); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_222); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_4); +return x_229; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_117 = lean_ctor_get(x_2, 1); -lean_inc(x_117); +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; +x_230 = lean_ctor_get(x_2, 1); +lean_inc(x_230); lean_dec(x_2); -x_118 = lean_box(0); -x_119 = l_Lean_strLitKind; -x_120 = l_Lean_mkStxLit(x_119, x_117, x_118); -x_121 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64; -x_122 = lean_array_push(x_121, x_120); -x_123 = l_Lean_Parser_Term_app___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); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_4); -return x_125; +x_231 = lean_ctor_get(x_3, 8); +lean_inc(x_231); +lean_dec(x_3); +x_232 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_231); +lean_dec(x_231); +x_233 = lean_box(0); +x_234 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__23; +lean_inc(x_232); +x_235 = lean_name_mk_numeral(x_234, x_232); +x_236 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__21; +x_237 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__25; +x_238 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_238, 0, x_233); +lean_ctor_set(x_238, 1, x_236); +lean_ctor_set(x_238, 2, x_235); +lean_ctor_set(x_238, 3, x_237); +x_239 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_240 = lean_array_push(x_239, x_238); +x_241 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_242 = lean_array_push(x_240, x_241); +x_243 = l_Lean_Parser_Term_id___elambda__1___closed__4; +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 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; +x_246 = lean_name_mk_numeral(x_245, x_232); +x_247 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; +x_248 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; +x_249 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_249, 0, x_233); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_249, 2, x_246); +lean_ctor_set(x_249, 3, x_248); +x_250 = lean_array_push(x_239, x_249); +x_251 = lean_array_push(x_250, x_241); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_243); +lean_ctor_set(x_252, 1, x_251); +x_253 = lean_array_push(x_239, x_244); +x_254 = lean_array_push(x_253, x_252); +x_255 = l_Lean_Parser_Term_app___elambda__1___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 = l_Lean_strLitKind; +x_258 = l_Lean_mkStxLit(x_257, x_230, x_233); +x_259 = lean_array_push(x_239, x_256); +x_260 = lean_array_push(x_259, x_258); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_255); +lean_ctor_set(x_261, 1, x_260); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_4); +return x_262; } } default: { -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; uint8_t x_133; -x_126 = lean_ctor_get(x_2, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_2, 2); -lean_inc(x_127); -x_128 = lean_ctor_get(x_2, 3); -lean_inc(x_128); -lean_dec(x_2); -x_129 = l_Lean_Elab_Term_getCurrNamespace(x_3, x_4); -x_130 = lean_ctor_get(x_129, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = l_Lean_Elab_Term_getOpenDecls(x_3, x_131); -lean_dec(x_3); -x_133 = !lean_is_exclusive(x_132); -if (x_133 == 0) +uint8_t x_263; +x_263 = !lean_is_exclusive(x_2); +if (x_263 == 0) { -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; 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; -x_134 = lean_ctor_get(x_132, 0); -lean_inc(x_127); -x_135 = l_Lean_Elab_resolveGlobalName(x_1, x_130, x_134, x_127); -lean_dec(x_130); -x_136 = l_List_append___rarg(x_135, x_128); -x_137 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_127); -x_138 = lean_box(0); -x_139 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76; -x_140 = lean_array_push(x_139, x_137); -x_141 = l_Lean_Parser_Term_app___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 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_144 = lean_array_push(x_143, x_142); -x_145 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84; -x_146 = lean_array_push(x_144, x_145); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_141); -lean_ctor_set(x_147, 1, x_146); -x_148 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_136); -x_149 = lean_ctor_get(x_126, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_126, 1); -lean_inc(x_150); -x_151 = lean_ctor_get(x_126, 2); -lean_inc(x_151); -lean_dec(x_126); -x_152 = lean_string_utf8_extract(x_149, x_150, x_151); -lean_dec(x_151); -lean_dec(x_150); -lean_dec(x_149); -x_153 = l_Lean_strLitKind; -x_154 = l_Lean_mkStxLit(x_153, x_152, x_138); -x_155 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110; -x_156 = lean_array_push(x_155, x_154); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_141); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_143, x_157); -x_159 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_160 = lean_array_push(x_158, x_159); -x_161 = l_Lean_nullKind___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 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; -x_164 = lean_array_push(x_163, x_162); -x_165 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_166 = lean_array_push(x_164, x_165); -x_167 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -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 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113; -x_170 = lean_array_push(x_169, x_168); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_141); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_array_push(x_143, x_171); -x_173 = lean_array_push(x_172, x_147); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_141); -lean_ctor_set(x_174, 1, x_173); -x_175 = lean_array_push(x_143, x_174); -x_176 = lean_array_push(x_175, x_148); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_141); -lean_ctor_set(x_177, 1, x_176); -lean_ctor_set(x_132, 0, x_177); -return x_132; +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; uint8_t x_272; +x_264 = lean_ctor_get(x_2, 1); +x_265 = lean_ctor_get(x_2, 2); +x_266 = lean_ctor_get(x_2, 3); +x_267 = lean_ctor_get(x_2, 0); +lean_dec(x_267); +x_268 = l_Lean_Elab_Term_getCurrNamespace(x_3, x_4); +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec(x_268); +x_271 = l_Lean_Elab_Term_getOpenDecls(x_3, x_270); +x_272 = !lean_is_exclusive(x_271); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_273 = lean_ctor_get(x_271, 0); +lean_inc(x_265); +x_274 = l_Lean_Elab_resolveGlobalName(x_1, x_269, x_273, x_265); +lean_dec(x_269); +x_275 = l_List_append___rarg(x_274, x_266); +x_276 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_265); +x_277 = lean_ctor_get(x_3, 8); +lean_inc(x_277); +lean_dec(x_3); +x_278 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_277); +lean_dec(x_277); +x_279 = lean_box(0); +x_280 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; +lean_inc(x_278); +x_281 = lean_name_mk_numeral(x_280, x_278); +x_282 = lean_box(0); +x_283 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36; +x_284 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40; +lean_ctor_set(x_2, 3, x_284); +lean_ctor_set(x_2, 2, x_281); +lean_ctor_set(x_2, 1, x_283); +lean_ctor_set(x_2, 0, x_279); +x_285 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_286 = lean_array_push(x_285, x_2); +x_287 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_288 = lean_array_push(x_286, x_287); +x_289 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_288); +x_291 = lean_array_push(x_285, x_290); +x_292 = lean_array_push(x_291, x_276); +x_293 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_292); +x_295 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; +lean_inc(x_278); +x_296 = lean_name_mk_numeral(x_295, x_278); +x_297 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; +x_298 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_298, 0, x_279); +lean_ctor_set(x_298, 1, x_297); +lean_ctor_set(x_298, 2, x_296); +lean_ctor_set(x_298, 3, x_282); +x_299 = lean_array_push(x_285, x_298); +x_300 = lean_array_push(x_299, x_287); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_289); +lean_ctor_set(x_301, 1, x_300); +x_302 = lean_array_push(x_285, x_294); +x_303 = lean_array_push(x_302, x_301); +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_293); +lean_ctor_set(x_304, 1, x_303); +x_305 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_275); +x_306 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; +lean_inc(x_278); +x_307 = lean_name_mk_numeral(x_306, x_278); +x_308 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47; +x_309 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50; +x_310 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_310, 0, x_279); +lean_ctor_set(x_310, 1, x_308); +lean_ctor_set(x_310, 2, x_307); +lean_ctor_set(x_310, 3, x_309); +x_311 = lean_array_push(x_285, x_310); +x_312 = lean_array_push(x_311, x_287); +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_289); +lean_ctor_set(x_313, 1, x_312); +x_314 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; +lean_inc(x_278); +x_315 = lean_name_mk_numeral(x_314, x_278); +x_316 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; +x_317 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; +x_318 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_318, 0, x_279); +lean_ctor_set(x_318, 1, x_316); +lean_ctor_set(x_318, 2, x_315); +lean_ctor_set(x_318, 3, x_317); +x_319 = lean_array_push(x_285, x_318); +x_320 = lean_array_push(x_319, x_287); +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_289); +lean_ctor_set(x_321, 1, x_320); +x_322 = lean_array_push(x_285, x_313); +x_323 = lean_array_push(x_322, x_321); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_293); +lean_ctor_set(x_324, 1, x_323); +x_325 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; +x_326 = lean_name_mk_numeral(x_325, x_278); +x_327 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54; +x_328 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58; +x_329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_329, 0, x_279); +lean_ctor_set(x_329, 1, x_327); +lean_ctor_set(x_329, 2, x_326); +lean_ctor_set(x_329, 3, x_328); +x_330 = lean_array_push(x_285, x_329); +x_331 = lean_array_push(x_330, x_287); +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_289); +lean_ctor_set(x_332, 1, x_331); +x_333 = lean_array_push(x_285, x_332); +x_334 = lean_array_push(x_285, x_324); +x_335 = lean_ctor_get(x_264, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_264, 1); +lean_inc(x_336); +x_337 = lean_ctor_get(x_264, 2); +lean_inc(x_337); +lean_dec(x_264); +x_338 = lean_string_utf8_extract(x_335, x_336, x_337); +lean_dec(x_337); +lean_dec(x_336); +lean_dec(x_335); +x_339 = l_Lean_strLitKind; +x_340 = l_Lean_mkStxLit(x_339, x_338, x_279); +x_341 = lean_array_push(x_333, x_340); +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_293); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_285, x_342); +x_344 = lean_array_push(x_343, x_287); +x_345 = l_Lean_nullKind___closed__2; +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_344); +x_347 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_348 = lean_array_push(x_347, x_346); +x_349 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_350 = lean_array_push(x_348, x_349); +x_351 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_350); +x_353 = lean_array_push(x_334, x_352); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_293); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_array_push(x_285, x_354); +x_356 = lean_array_push(x_355, x_304); +x_357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_357, 0, x_293); +lean_ctor_set(x_357, 1, x_356); +x_358 = lean_array_push(x_285, x_357); +x_359 = lean_array_push(x_358, x_305); +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_293); +lean_ctor_set(x_360, 1, x_359); +lean_ctor_set(x_271, 0, x_360); +return x_271; } else { -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; -x_178 = lean_ctor_get(x_132, 0); -x_179 = lean_ctor_get(x_132, 1); -lean_inc(x_179); -lean_inc(x_178); -lean_dec(x_132); -lean_inc(x_127); -x_180 = l_Lean_Elab_resolveGlobalName(x_1, x_130, x_178, x_127); -lean_dec(x_130); -x_181 = l_List_append___rarg(x_180, x_128); -x_182 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_127); -x_183 = lean_box(0); -x_184 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76; -x_185 = lean_array_push(x_184, x_182); -x_186 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -x_188 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_189 = lean_array_push(x_188, x_187); -x_190 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84; -x_191 = lean_array_push(x_189, x_190); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_186); -lean_ctor_set(x_192, 1, x_191); -x_193 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_181); -x_194 = lean_ctor_get(x_126, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_126, 1); -lean_inc(x_195); -x_196 = lean_ctor_get(x_126, 2); -lean_inc(x_196); -lean_dec(x_126); -x_197 = lean_string_utf8_extract(x_194, x_195, x_196); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_194); -x_198 = l_Lean_strLitKind; -x_199 = l_Lean_mkStxLit(x_198, x_197, x_183); -x_200 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110; -x_201 = lean_array_push(x_200, x_199); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_186); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_188, x_202); -x_204 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_205 = lean_array_push(x_203, x_204); -x_206 = l_Lean_nullKind___closed__2; -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_205); -x_208 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; -x_209 = lean_array_push(x_208, x_207); -x_210 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_211 = lean_array_push(x_209, x_210); -x_212 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -x_214 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113; -x_215 = lean_array_push(x_214, x_213); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_186); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_array_push(x_188, x_216); -x_218 = lean_array_push(x_217, x_192); -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_186); -lean_ctor_set(x_219, 1, x_218); -x_220 = lean_array_push(x_188, x_219); -x_221 = lean_array_push(x_220, x_193); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_186); -lean_ctor_set(x_222, 1, x_221); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_179); -return x_223; +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; 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; +x_361 = lean_ctor_get(x_271, 0); +x_362 = lean_ctor_get(x_271, 1); +lean_inc(x_362); +lean_inc(x_361); +lean_dec(x_271); +lean_inc(x_265); +x_363 = l_Lean_Elab_resolveGlobalName(x_1, x_269, x_361, x_265); +lean_dec(x_269); +x_364 = l_List_append___rarg(x_363, x_266); +x_365 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_265); +x_366 = lean_ctor_get(x_3, 8); +lean_inc(x_366); +lean_dec(x_3); +x_367 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_366); +lean_dec(x_366); +x_368 = lean_box(0); +x_369 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; +lean_inc(x_367); +x_370 = lean_name_mk_numeral(x_369, x_367); +x_371 = lean_box(0); +x_372 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36; +x_373 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40; +lean_ctor_set(x_2, 3, x_373); +lean_ctor_set(x_2, 2, x_370); +lean_ctor_set(x_2, 1, x_372); +lean_ctor_set(x_2, 0, x_368); +x_374 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_375 = lean_array_push(x_374, x_2); +x_376 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_377 = lean_array_push(x_375, x_376); +x_378 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_377); +x_380 = lean_array_push(x_374, x_379); +x_381 = lean_array_push(x_380, x_365); +x_382 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_381); +x_384 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; +lean_inc(x_367); +x_385 = lean_name_mk_numeral(x_384, x_367); +x_386 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; +x_387 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_387, 0, x_368); +lean_ctor_set(x_387, 1, x_386); +lean_ctor_set(x_387, 2, x_385); +lean_ctor_set(x_387, 3, x_371); +x_388 = lean_array_push(x_374, x_387); +x_389 = lean_array_push(x_388, x_376); +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_378); +lean_ctor_set(x_390, 1, x_389); +x_391 = lean_array_push(x_374, x_383); +x_392 = lean_array_push(x_391, x_390); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_382); +lean_ctor_set(x_393, 1, x_392); +x_394 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_364); +x_395 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; +lean_inc(x_367); +x_396 = lean_name_mk_numeral(x_395, x_367); +x_397 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47; +x_398 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50; +x_399 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_399, 0, x_368); +lean_ctor_set(x_399, 1, x_397); +lean_ctor_set(x_399, 2, x_396); +lean_ctor_set(x_399, 3, x_398); +x_400 = lean_array_push(x_374, x_399); +x_401 = lean_array_push(x_400, x_376); +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_378); +lean_ctor_set(x_402, 1, x_401); +x_403 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; +lean_inc(x_367); +x_404 = lean_name_mk_numeral(x_403, x_367); +x_405 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; +x_406 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; +x_407 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_407, 0, x_368); +lean_ctor_set(x_407, 1, x_405); +lean_ctor_set(x_407, 2, x_404); +lean_ctor_set(x_407, 3, x_406); +x_408 = lean_array_push(x_374, x_407); +x_409 = lean_array_push(x_408, x_376); +x_410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_410, 0, x_378); +lean_ctor_set(x_410, 1, x_409); +x_411 = lean_array_push(x_374, x_402); +x_412 = lean_array_push(x_411, x_410); +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_382); +lean_ctor_set(x_413, 1, x_412); +x_414 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; +x_415 = lean_name_mk_numeral(x_414, x_367); +x_416 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54; +x_417 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58; +x_418 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_418, 0, x_368); +lean_ctor_set(x_418, 1, x_416); +lean_ctor_set(x_418, 2, x_415); +lean_ctor_set(x_418, 3, x_417); +x_419 = lean_array_push(x_374, x_418); +x_420 = lean_array_push(x_419, x_376); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_378); +lean_ctor_set(x_421, 1, x_420); +x_422 = lean_array_push(x_374, x_421); +x_423 = lean_array_push(x_374, x_413); +x_424 = lean_ctor_get(x_264, 0); +lean_inc(x_424); +x_425 = lean_ctor_get(x_264, 1); +lean_inc(x_425); +x_426 = lean_ctor_get(x_264, 2); +lean_inc(x_426); +lean_dec(x_264); +x_427 = lean_string_utf8_extract(x_424, x_425, x_426); +lean_dec(x_426); +lean_dec(x_425); +lean_dec(x_424); +x_428 = l_Lean_strLitKind; +x_429 = l_Lean_mkStxLit(x_428, x_427, x_368); +x_430 = lean_array_push(x_422, x_429); +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_382); +lean_ctor_set(x_431, 1, x_430); +x_432 = lean_array_push(x_374, x_431); +x_433 = lean_array_push(x_432, x_376); +x_434 = l_Lean_nullKind___closed__2; +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +x_436 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_437 = lean_array_push(x_436, x_435); +x_438 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_439 = lean_array_push(x_437, x_438); +x_440 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_440); +lean_ctor_set(x_441, 1, x_439); +x_442 = lean_array_push(x_423, x_441); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_382); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_374, x_443); +x_445 = lean_array_push(x_444, x_393); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_382); +lean_ctor_set(x_446, 1, x_445); +x_447 = lean_array_push(x_374, x_446); +x_448 = lean_array_push(x_447, x_394); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_382); +lean_ctor_set(x_449, 1, x_448); +x_450 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_362); +return x_450; +} +} +else +{ +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; +x_451 = lean_ctor_get(x_2, 1); +x_452 = lean_ctor_get(x_2, 2); +x_453 = lean_ctor_get(x_2, 3); +lean_inc(x_453); +lean_inc(x_452); +lean_inc(x_451); +lean_dec(x_2); +x_454 = l_Lean_Elab_Term_getCurrNamespace(x_3, x_4); +x_455 = lean_ctor_get(x_454, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_454, 1); +lean_inc(x_456); +lean_dec(x_454); +x_457 = l_Lean_Elab_Term_getOpenDecls(x_3, x_456); +x_458 = lean_ctor_get(x_457, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_457, 1); +lean_inc(x_459); +if (lean_is_exclusive(x_457)) { + lean_ctor_release(x_457, 0); + lean_ctor_release(x_457, 1); + x_460 = x_457; +} else { + lean_dec_ref(x_457); + x_460 = lean_box(0); +} +lean_inc(x_452); +x_461 = l_Lean_Elab_resolveGlobalName(x_1, x_455, x_458, x_452); +lean_dec(x_455); +x_462 = l_List_append___rarg(x_461, x_453); +x_463 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_452); +x_464 = lean_ctor_get(x_3, 8); +lean_inc(x_464); +lean_dec(x_3); +x_465 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_464); +lean_dec(x_464); +x_466 = lean_box(0); +x_467 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__38; +lean_inc(x_465); +x_468 = lean_name_mk_numeral(x_467, x_465); +x_469 = lean_box(0); +x_470 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__36; +x_471 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__40; +x_472 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_472, 0, x_466); +lean_ctor_set(x_472, 1, x_470); +lean_ctor_set(x_472, 2, x_468); +lean_ctor_set(x_472, 3, x_471); +x_473 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_474 = lean_array_push(x_473, x_472); +x_475 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_476 = lean_array_push(x_474, x_475); +x_477 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_476); +x_479 = lean_array_push(x_473, x_478); +x_480 = lean_array_push(x_479, x_463); +x_481 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_482 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_480); +x_483 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; +lean_inc(x_465); +x_484 = lean_name_mk_numeral(x_483, x_465); +x_485 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; +x_486 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_486, 0, x_466); +lean_ctor_set(x_486, 1, x_485); +lean_ctor_set(x_486, 2, x_484); +lean_ctor_set(x_486, 3, x_469); +x_487 = lean_array_push(x_473, x_486); +x_488 = lean_array_push(x_487, x_475); +x_489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_489, 0, x_477); +lean_ctor_set(x_489, 1, x_488); +x_490 = lean_array_push(x_473, x_482); +x_491 = lean_array_push(x_490, x_489); +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_481); +lean_ctor_set(x_492, 1, x_491); +x_493 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4(x_462); +x_494 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__48; +lean_inc(x_465); +x_495 = lean_name_mk_numeral(x_494, x_465); +x_496 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__47; +x_497 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__50; +x_498 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_498, 0, x_466); +lean_ctor_set(x_498, 1, x_496); +lean_ctor_set(x_498, 2, x_495); +lean_ctor_set(x_498, 3, x_497); +x_499 = lean_array_push(x_473, x_498); +x_500 = lean_array_push(x_499, x_475); +x_501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_501, 0, x_477); +lean_ctor_set(x_501, 1, x_500); +x_502 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__31; +lean_inc(x_465); +x_503 = lean_name_mk_numeral(x_502, x_465); +x_504 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__28; +x_505 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__33; +x_506 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_506, 0, x_466); +lean_ctor_set(x_506, 1, x_504); +lean_ctor_set(x_506, 2, x_503); +lean_ctor_set(x_506, 3, x_505); +x_507 = lean_array_push(x_473, x_506); +x_508 = lean_array_push(x_507, x_475); +x_509 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_509, 0, x_477); +lean_ctor_set(x_509, 1, x_508); +x_510 = lean_array_push(x_473, x_501); +x_511 = lean_array_push(x_510, x_509); +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_481); +lean_ctor_set(x_512, 1, x_511); +x_513 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__56; +x_514 = lean_name_mk_numeral(x_513, x_465); +x_515 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__54; +x_516 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__58; +x_517 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_517, 0, x_466); +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_473, x_517); +x_519 = lean_array_push(x_518, x_475); +x_520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_520, 0, x_477); +lean_ctor_set(x_520, 1, x_519); +x_521 = lean_array_push(x_473, x_520); +x_522 = lean_array_push(x_473, x_512); +x_523 = lean_ctor_get(x_451, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_451, 1); +lean_inc(x_524); +x_525 = lean_ctor_get(x_451, 2); +lean_inc(x_525); +lean_dec(x_451); +x_526 = lean_string_utf8_extract(x_523, x_524, x_525); +lean_dec(x_525); +lean_dec(x_524); +lean_dec(x_523); +x_527 = l_Lean_strLitKind; +x_528 = l_Lean_mkStxLit(x_527, x_526, x_466); +x_529 = lean_array_push(x_521, x_528); +x_530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_530, 0, x_481); +lean_ctor_set(x_530, 1, x_529); +x_531 = lean_array_push(x_473, x_530); +x_532 = lean_array_push(x_531, x_475); +x_533 = l_Lean_nullKind___closed__2; +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___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_536 = lean_array_push(x_535, x_534); +x_537 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_538 = lean_array_push(x_536, x_537); +x_539 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_538); +x_541 = lean_array_push(x_522, x_540); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_481); +lean_ctor_set(x_542, 1, x_541); +x_543 = lean_array_push(x_473, x_542); +x_544 = lean_array_push(x_543, x_492); +x_545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_545, 0, x_481); +lean_ctor_set(x_545, 1, x_544); +x_546 = lean_array_push(x_473, x_545); +x_547 = lean_array_push(x_546, x_493); +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_481); +lean_ctor_set(x_548, 1, x_547); +if (lean_is_scalar(x_460)) { + x_549 = lean_alloc_ctor(0, 2, 0); +} else { + x_549 = x_460; +} +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_459); +return x_549; } } } @@ -4199,6 +4056,15 @@ lean_dec(x_1); return x_6; } } +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1___boxed(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; +x_6 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4209,6 +4075,42 @@ lean_dec(x_1); return x_5; } } +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1___boxed(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; +x_6 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +return x_13; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__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___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1___boxed(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; +x_6 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4329,75 +4231,27 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__3; -x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__7; -x_4 = l_Lean_Elab_Term_stxQuot_expand___closed__9; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__10; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__11; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__12; -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_stxQuot_expand___closed__14() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("Lean.MonadQuotation.getCurrMacroScope"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__15() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__14; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__10; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__16() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__14; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__10; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__15; +x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__11; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4405,7 +4259,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__17() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__13() { _start: { lean_object* x_1; @@ -4413,17 +4267,17 @@ x_1 = lean_mk_string("MonadQuotation"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__18() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nameToExprAux___main___closed__4; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__17; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__19() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__15() { _start: { lean_object* x_1; @@ -4431,167 +4285,41 @@ x_1 = lean_mk_string("getCurrMacroScope"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__20() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__18; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__19; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__14; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__21() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__20; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__16; 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_Term_stxQuot_expand___closed__22() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__21; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__17; 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_Term_stxQuot_expand___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__16; -x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__20; -x_4 = l_Lean_Elab_Term_stxQuot_expand___closed__22; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__23; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__24; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__25; -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_stxQuot_expand___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__13; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__27; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__26; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__28; -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_stxQuot_expand___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_fun___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_stxQuot_expand___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_FileMap_ofString___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__31; -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_stxQuot_expand___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_fun___elambda__1___closed__8; -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_stxQuot_expand___closed__34() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__19() { _start: { lean_object* x_1; @@ -4599,22 +4327,22 @@ x_1 = lean_mk_string("HasPure.pure"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__35() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__34; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__19; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__36() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__34; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__19; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__35; +x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__20; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4622,7 +4350,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__37() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__22() { _start: { lean_object* x_1; @@ -4630,17 +4358,17 @@ x_1 = lean_mk_string("HasPure"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__38() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___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_Term_stxQuot_expand___closed__37; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__39() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__24() { _start: { lean_object* x_1; @@ -4648,144 +4376,47 @@ x_1 = lean_mk_string("pure"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__40() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__38; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__39; +x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__23; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__41() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__40; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__25; 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_Term_stxQuot_expand___closed__42() { +lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___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_Term_stxQuot_expand___closed__41; +x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__26; 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_Term_stxQuot_expand___closed__43() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__36; -x_3 = l_Lean_Elab_Term_stxQuot_expand___closed__40; -x_4 = l_Lean_Elab_Term_stxQuot_expand___closed__42; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__43; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__44; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__45; -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_stxQuot_expand___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__46; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__48() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__49() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__48; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__32; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_stxQuot_expand___closed__49; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Elab_Term_stxQuot_expand___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_Lean_Elab_Term_stxQuot_expand___closed__29; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_stxQuot_expand(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; x_5 = lean_unsigned_to_nat(1u); x_6 = l_Lean_Syntax_getArg(x_2, x_5); +lean_inc(x_3); x_7 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main(x_1, x_6, x_3, x_4); if (lean_obj_tag(x_7) == 0) { @@ -4793,111 +4424,270 @@ uint8_t x_8; x_8 = !lean_is_exclusive(x_7); if (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; 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_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; 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; x_9 = lean_ctor_get(x_7, 0); -x_10 = l_Lean_Elab_Term_stxQuot_expand___closed__47; -x_11 = lean_array_push(x_10, x_9); -x_12 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_Term_stxQuot_expand___closed__50; -x_15 = lean_array_push(x_14, x_13); -x_16 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_19 = lean_array_push(x_18, x_17); -x_20 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_21 = lean_array_push(x_19, x_20); -x_22 = l_Lean_nullKind___closed__2; -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -x_24 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; -x_25 = lean_array_push(x_24, x_23); -x_26 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_27 = lean_array_push(x_25, x_26); -x_28 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); +x_10 = lean_ctor_get(x_3, 8); +lean_inc(x_10); +lean_dec(x_3); +x_11 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_10); +lean_dec(x_10); +x_12 = lean_box(0); +x_13 = l_Lean_Elab_Term_stxQuot_expand___closed__7; +lean_inc(x_11); +x_14 = lean_name_mk_numeral(x_13, x_11); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Term_stxQuot_expand___closed__3; +x_17 = l_Lean_Elab_Term_stxQuot_expand___closed__9; +x_18 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_14); +lean_ctor_set(x_18, 3, x_17); +x_19 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_20 = lean_array_push(x_19, x_18); +x_21 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_22 = lean_array_push(x_20, x_21); +x_23 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_Elab_Term_stxQuot_expand___closed__16; +lean_inc(x_11); +x_26 = lean_name_mk_numeral(x_25, x_11); +x_27 = l_Lean_Elab_Term_stxQuot_expand___closed__12; +x_28 = l_Lean_Elab_Term_stxQuot_expand___closed__18; +x_29 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_Elab_Term_stxQuot_expand___closed__51; -x_31 = lean_array_push(x_30, x_29); +lean_ctor_set(x_29, 2, x_26); +lean_ctor_set(x_29, 3, x_28); +x_30 = lean_array_push(x_19, x_29); +x_31 = lean_array_push(x_30, x_21); x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_12); +lean_ctor_set(x_32, 0, x_23); lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_7, 0, x_32); +x_33 = lean_array_push(x_19, x_24); +x_34 = lean_array_push(x_33, x_32); +x_35 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; +lean_inc(x_11); +x_38 = lean_name_mk_numeral(x_37, x_11); +x_39 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; +x_40 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_40, 0, x_12); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_15); +x_41 = lean_array_push(x_19, x_40); +x_42 = lean_array_push(x_41, x_21); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_23); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_FileMap_ofString___closed__1; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_Lean_nullKind___closed__2; +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_Term_stxQuot_expand___closed__25; +x_49 = lean_name_mk_numeral(x_48, x_11); +x_50 = l_Lean_Elab_Term_stxQuot_expand___closed__21; +x_51 = l_Lean_Elab_Term_stxQuot_expand___closed__27; +x_52 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_52, 0, x_12); +lean_ctor_set(x_52, 1, x_50); +lean_ctor_set(x_52, 2, x_49); +lean_ctor_set(x_52, 3, x_51); +x_53 = lean_array_push(x_19, x_52); +x_54 = lean_array_push(x_53, x_21); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_23); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_19, x_55); +x_57 = lean_array_push(x_56, x_9); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_35); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_60 = lean_array_push(x_59, x_47); +x_61 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_62 = lean_array_push(x_60, x_61); +x_63 = lean_array_push(x_62, x_58); +x_64 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = lean_array_push(x_19, x_65); +x_67 = lean_array_push(x_66, x_21); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_46); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_70 = lean_array_push(x_69, x_68); +x_71 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_72 = lean_array_push(x_70, x_71); +x_73 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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_19, x_36); +x_76 = lean_array_push(x_75, x_74); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_35); +lean_ctor_set(x_77, 1, x_76); +lean_ctor_set(x_7, 0, x_77); return x_7; } else { -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; -x_33 = lean_ctor_get(x_7, 0); -x_34 = lean_ctor_get(x_7, 1); -lean_inc(x_34); -lean_inc(x_33); +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; +x_78 = lean_ctor_get(x_7, 0); +x_79 = lean_ctor_get(x_7, 1); +lean_inc(x_79); +lean_inc(x_78); lean_dec(x_7); -x_35 = l_Lean_Elab_Term_stxQuot_expand___closed__47; -x_36 = lean_array_push(x_35, x_33); -x_37 = l_Lean_Parser_Term_app___elambda__1___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); -x_39 = l_Lean_Elab_Term_stxQuot_expand___closed__50; -x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_44 = lean_array_push(x_43, x_42); -x_45 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_46 = lean_array_push(x_44, x_45); -x_47 = l_Lean_nullKind___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); -x_49 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; -x_50 = lean_array_push(x_49, x_48); -x_51 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_52 = lean_array_push(x_50, x_51); -x_53 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = l_Lean_Elab_Term_stxQuot_expand___closed__51; -x_56 = lean_array_push(x_55, x_54); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_37); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_34); -return x_58; +x_80 = lean_ctor_get(x_3, 8); +lean_inc(x_80); +lean_dec(x_3); +x_81 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_80); +lean_dec(x_80); +x_82 = lean_box(0); +x_83 = l_Lean_Elab_Term_stxQuot_expand___closed__7; +lean_inc(x_81); +x_84 = lean_name_mk_numeral(x_83, x_81); +x_85 = lean_box(0); +x_86 = l_Lean_Elab_Term_stxQuot_expand___closed__3; +x_87 = l_Lean_Elab_Term_stxQuot_expand___closed__9; +x_88 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_86); +lean_ctor_set(x_88, 2, x_84); +lean_ctor_set(x_88, 3, x_87); +x_89 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_90 = lean_array_push(x_89, x_88); +x_91 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_92 = lean_array_push(x_90, x_91); +x_93 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l_Lean_Elab_Term_stxQuot_expand___closed__16; +lean_inc(x_81); +x_96 = lean_name_mk_numeral(x_95, x_81); +x_97 = l_Lean_Elab_Term_stxQuot_expand___closed__12; +x_98 = l_Lean_Elab_Term_stxQuot_expand___closed__18; +x_99 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_99, 0, x_82); +lean_ctor_set(x_99, 1, x_97); +lean_ctor_set(x_99, 2, x_96); +lean_ctor_set(x_99, 3, x_98); +x_100 = lean_array_push(x_89, x_99); +x_101 = lean_array_push(x_100, x_91); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_93); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_push(x_89, x_94); +x_104 = lean_array_push(x_103, x_102); +x_105 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__44; +lean_inc(x_81); +x_108 = lean_name_mk_numeral(x_107, x_81); +x_109 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__43; +x_110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_110, 0, x_82); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_110, 3, x_85); +x_111 = lean_array_push(x_89, x_110); +x_112 = lean_array_push(x_111, x_91); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_93); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_FileMap_ofString___closed__1; +x_115 = lean_array_push(x_114, x_113); +x_116 = l_Lean_nullKind___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 = l_Lean_Elab_Term_stxQuot_expand___closed__25; +x_119 = lean_name_mk_numeral(x_118, x_81); +x_120 = l_Lean_Elab_Term_stxQuot_expand___closed__21; +x_121 = l_Lean_Elab_Term_stxQuot_expand___closed__27; +x_122 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_122, 0, x_82); +lean_ctor_set(x_122, 1, x_120); +lean_ctor_set(x_122, 2, x_119); +lean_ctor_set(x_122, 3, x_121); +x_123 = lean_array_push(x_89, x_122); +x_124 = lean_array_push(x_123, x_91); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_93); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_89, x_125); +x_127 = lean_array_push(x_126, x_78); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_105); +lean_ctor_set(x_128, 1, x_127); +x_129 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_130 = lean_array_push(x_129, x_117); +x_131 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_132 = lean_array_push(x_130, x_131); +x_133 = lean_array_push(x_132, x_128); +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 = lean_array_push(x_89, x_135); +x_137 = lean_array_push(x_136, x_91); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_116); +lean_ctor_set(x_138, 1, x_137); +x_139 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_140 = lean_array_push(x_139, x_138); +x_141 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_142 = lean_array_push(x_140, x_141); +x_143 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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 = lean_array_push(x_89, x_106); +x_146 = lean_array_push(x_145, x_144); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_105); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_79); +return x_148; } } else { -uint8_t x_59; -x_59 = !lean_is_exclusive(x_7); -if (x_59 == 0) +uint8_t x_149; +lean_dec(x_3); +x_149 = !lean_is_exclusive(x_7); +if (x_149 == 0) { return x_7; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_7, 0); -x_61 = lean_ctor_get(x_7, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_7, 0); +x_151 = lean_ctor_get(x_7, 1); +lean_inc(x_151); +lean_inc(x_150); lean_dec(x_7); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; } } } @@ -5121,75 +4911,27 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; -x_4 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__10; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__12; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; -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_Quotation_8__isVarPat_x3f___elambda__1___closed__15() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("discr"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15; +x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15; +x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__12; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5197,97 +4939,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15; +x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; -x_4 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_2); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21; -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_Quotation_8__isVarPat_x3f___elambda__1___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__23; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24; -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_Quotation_8__isVarPat_x3f___elambda__1___closed__26() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15() { _start: { lean_object* x_1; @@ -5295,19 +4957,19 @@ x_1 = lean_mk_string(";"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__26; +x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__15; 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___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5320,118 +4982,127 @@ return x_3; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1(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; 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; -x_5 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_6 = lean_array_push(x_5, x_1); -x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_8 = lean_array_push(x_6, x_7); -x_9 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_10 = lean_array_push(x_8, x_9); -x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25; -x_12 = lean_array_push(x_10, x_11); -x_13 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__2; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_16 = lean_array_push(x_15, x_14); -x_17 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_18 = lean_array_push(x_16, x_17); -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_4); -return x_22; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; -x_4 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_2); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3; -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* 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; 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; +x_5 = lean_ctor_get(x_3, 8); +x_6 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_5); +x_7 = lean_box(0); +x_8 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +lean_inc(x_6); +x_9 = lean_name_mk_numeral(x_8, x_6); +x_10 = lean_box(0); +x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_12 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__10; +x_13 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_9); +lean_ctor_set(x_13, 3, x_12); +x_14 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_15 = lean_array_push(x_14, x_13); +x_16 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_17 = lean_array_push(x_15, x_16); +x_18 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_21 = lean_name_mk_numeral(x_20, x_6); +x_22 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_23 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +lean_ctor_set(x_23, 3, x_10); +x_24 = lean_array_push(x_14, x_23); +x_25 = lean_array_push(x_24, x_16); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_18); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_array_push(x_14, x_19); +x_28 = lean_array_push(x_27, x_26); +x_29 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_32 = lean_array_push(x_31, x_1); +x_33 = lean_array_push(x_32, x_16); +x_34 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_35 = lean_array_push(x_33, x_34); +x_36 = lean_array_push(x_35, x_30); +x_37 = l_Lean_Parser_Term_letPatDecl___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); +x_39 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_40 = lean_array_push(x_39, x_38); +x_41 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_42 = lean_array_push(x_40, x_41); +x_43 = lean_array_push(x_42, x_2); +x_44 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_43); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_4); +return x_46; } } lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2(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; 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; -x_5 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_6 = lean_array_push(x_5, x_1); -x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_8 = lean_array_push(x_6, x_7); -x_9 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_10 = lean_array_push(x_8, x_9); -x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4; -x_12 = lean_array_push(x_10, x_11); -x_13 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__2; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_16 = lean_array_push(x_15, x_14); -x_17 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_18 = lean_array_push(x_16, x_17); -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_4); -return x_22; +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; 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; +x_5 = lean_ctor_get(x_3, 8); +x_6 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_5); +x_7 = lean_box(0); +x_8 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_9 = lean_name_mk_numeral(x_8, x_6); +x_10 = lean_box(0); +x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_12 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_9); +lean_ctor_set(x_12, 3, x_10); +x_13 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_16 = lean_array_push(x_14, x_15); +x_17 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_20 = lean_array_push(x_19, x_1); +x_21 = lean_array_push(x_20, x_15); +x_22 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_23 = lean_array_push(x_21, x_22); +x_24 = lean_array_push(x_23, x_18); +x_25 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___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_24); +x_27 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_28 = lean_array_push(x_27, x_26); +x_29 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_30 = lean_array_push(x_28, x_29); +x_31 = lean_array_push(x_30, x_2); +x_32 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_4); +return x_34; } } lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__3(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; -x_5 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__37; +x_5 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__18; x_6 = l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__3(x_1, x_5, x_3, x_4); return x_6; } @@ -5459,32 +5130,50 @@ return x_4; lean_object* l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__6(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; 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; -x_5 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_6 = lean_array_push(x_5, x_1); -x_7 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_8 = lean_array_push(x_6, x_7); -x_9 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_10 = lean_array_push(x_8, x_9); -x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4; -x_12 = lean_array_push(x_10, x_11); -x_13 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__2; -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_16 = lean_array_push(x_15, x_14); -x_17 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_18 = lean_array_push(x_16, x_17); -x_19 = lean_array_push(x_18, x_2); -x_20 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_4); -return x_22; +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; 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; +x_5 = lean_ctor_get(x_3, 8); +x_6 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_5); +x_7 = lean_box(0); +x_8 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_9 = lean_name_mk_numeral(x_8, x_6); +x_10 = lean_box(0); +x_11 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_12 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_9); +lean_ctor_set(x_12, 3, x_10); +x_13 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_14 = lean_array_push(x_13, x_12); +x_15 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_16 = lean_array_push(x_14, x_15); +x_17 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_20 = lean_array_push(x_19, x_1); +x_21 = lean_array_push(x_20, x_15); +x_22 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_23 = lean_array_push(x_21, x_22); +x_24 = lean_array_push(x_23, x_18); +x_25 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___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_24); +x_27 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_28 = lean_array_push(x_27, x_26); +x_29 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_30 = lean_array_push(x_28, x_29); +x_31 = lean_array_push(x_30, x_2); +x_32 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_4); +return x_34; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__1() { @@ -6533,96 +6222,6 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__3; -x_3 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__5; -x_4 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10; -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_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13; -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_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -6641,88 +6240,166 @@ uint8_t x_6; x_6 = !lean_is_exclusive(x_1); if (x_6 == 0) { -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; uint8_t x_18; +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; 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; x_7 = lean_ctor_get(x_1, 0); x_8 = lean_ctor_get(x_1, 1); -x_9 = lean_box(0); -x_10 = l_Nat_repr(x_7); -x_11 = l_Lean_numLitKind; -x_12 = l_Lean_mkStxLit(x_11, x_10, x_9); -x_13 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15; -x_14 = lean_array_push(x_13, x_12); -x_15 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_8, x_2, x_3); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +x_9 = lean_ctor_get(x_2, 8); +x_10 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_9); +x_11 = lean_box(0); +x_12 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__5; +lean_inc(x_10); +x_13 = lean_name_mk_numeral(x_12, x_10); +x_14 = lean_box(0); +x_15 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__3; +x_16 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7; +x_17 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_13); +lean_ctor_set(x_17, 3, x_16); +x_18 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_19 = lean_array_push(x_18, x_17); +x_20 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_21 = lean_array_push(x_19, x_20); +x_22 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_25 = lean_name_mk_numeral(x_24, x_10); +x_26 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_11); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_25); +lean_ctor_set(x_27, 3, x_14); +x_28 = lean_array_push(x_18, x_27); +x_29 = lean_array_push(x_28, x_20); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_array_push(x_18, x_23); +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Nat_repr(x_7); +x_36 = l_Lean_numLitKind; +x_37 = l_Lean_mkStxLit(x_36, x_35, x_11); +x_38 = lean_array_push(x_18, x_34); +x_39 = lean_array_push(x_38, x_37); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_8, x_2, x_3); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 0); -lean_ctor_set(x_1, 1, x_19); -lean_ctor_set(x_1, 0, x_16); -lean_ctor_set(x_17, 0, x_1); -return x_17; +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_ctor_set(x_1, 1, x_43); +lean_ctor_set(x_1, 0, x_40); +lean_ctor_set(x_41, 0, x_1); +return x_41; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_17, 0); -x_21 = lean_ctor_get(x_17, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_17); -lean_ctor_set(x_1, 1, x_20); -lean_ctor_set(x_1, 0, x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_1); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 0); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_1, 1, x_44); +lean_ctor_set(x_1, 0, x_40); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_1); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_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; -x_23 = lean_ctor_get(x_1, 0); -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -lean_inc(x_23); +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; +x_47 = lean_ctor_get(x_1, 0); +x_48 = lean_ctor_get(x_1, 1); +lean_inc(x_48); +lean_inc(x_47); lean_dec(x_1); -x_25 = lean_box(0); -x_26 = l_Nat_repr(x_23); -x_27 = l_Lean_numLitKind; -x_28 = l_Lean_mkStxLit(x_27, x_26, x_25); -x_29 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15; -x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_24, x_2, x_3); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_36 = x_33; +x_49 = lean_ctor_get(x_2, 8); +x_50 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_49); +x_51 = lean_box(0); +x_52 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__5; +lean_inc(x_50); +x_53 = lean_name_mk_numeral(x_52, x_50); +x_54 = lean_box(0); +x_55 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__3; +x_56 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7; +x_57 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_57, 0, x_51); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_57, 2, x_53); +lean_ctor_set(x_57, 3, x_56); +x_58 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_59 = lean_array_push(x_58, x_57); +x_60 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_61 = lean_array_push(x_59, x_60); +x_62 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_65 = lean_name_mk_numeral(x_64, x_50); +x_66 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_67 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_67, 0, x_51); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_54); +x_68 = lean_array_push(x_58, x_67); +x_69 = lean_array_push(x_68, x_60); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_62); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_array_push(x_58, x_63); +x_72 = lean_array_push(x_71, x_70); +x_73 = l_Lean_Parser_Term_app___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 = l_Nat_repr(x_47); +x_76 = l_Lean_numLitKind; +x_77 = l_Lean_mkStxLit(x_76, x_75, x_51); +x_78 = lean_array_push(x_58, x_74); +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_73); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_48, x_2, x_3); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_84 = x_81; } else { - lean_dec_ref(x_33); - x_36 = lean_box(0); + lean_dec_ref(x_81); + x_84 = lean_box(0); } -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_32); -lean_ctor_set(x_37, 1, x_34); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_80); +lean_ctor_set(x_85, 1, x_82); +if (lean_is_scalar(x_84)) { + x_86 = lean_alloc_ctor(0, 2, 0); } else { - x_38 = x_36; + x_86 = x_84; } -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_83); +return x_86; } } } @@ -7298,65 +6975,60 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1; -x_3 = lean_array_push(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_if___elambda__1___rarg___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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__5; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Lean.Syntax.isOfKind"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__6; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__7; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__6; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; -x_4 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_1); -return x_5; +lean_object* x_1; +x_1 = lean_mk_string("isOfKind"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__5; x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__9; -x_3 = lean_array_push(x_1, x_2); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -7364,9 +7036,11 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +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; } } @@ -7374,20 +7048,20 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__11; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); +x_1 = lean_box(0); +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__11; +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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("&&"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14() { @@ -7395,7 +7069,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -7406,7 +7080,7 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.Syntax.isOfKind"); +x_1 = lean_mk_string("Array.size"); return x_1; } } @@ -7437,7 +7111,7 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; -x_1 = lean_mk_string("isOfKind"); +x_1 = lean_mk_string("Array"); return x_1; } } @@ -7445,7 +7119,7 @@ lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___ma _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__5; +x_1 = lean_box(0); x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -7454,309 +7128,46 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__20() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__19; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("size"); +return x_1; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__19; x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__20; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__22() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; -x_3 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__19; -x_4 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__22; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__24; -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_Quotation_12__compileStxMatch___main___closed__26() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__9; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__26; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; -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_Quotation_12__compileStxMatch___main___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__30() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__30; -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_Quotation_12__compileStxMatch___main___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("&&"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33; -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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Array.size"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Array"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("size"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; 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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__22; 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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37; -x_3 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41; -x_4 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46; -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_Quotation_12__compileStxMatch___main___closed__48() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7768,195 +7179,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__48; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__24; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; -x_3 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; -x_4 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set(x_5, 3, x_4); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52; -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_Quotation_12__compileStxMatch___main___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__54; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55; -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_Quotation_12__compileStxMatch___main___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__57; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59() { -_start: -{ -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_Quotation_12__compileStxMatch___main___closed__58; -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_Quotation_12__compileStxMatch___main___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__60; -x_2 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61; -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_Quotation_12__compileStxMatch___main___closed__63() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__63; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64; -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_Quotation_12__compileStxMatch___main___closed__66() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__26() { _start: { lean_object* x_1; @@ -7964,39 +7199,19 @@ x_1 = lean_mk_string("=="); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__66; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__26; 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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28() { _start: { lean_object* x_1; @@ -8004,19 +7219,19 @@ x_1 = lean_mk_string("then"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__28; 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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__30() { _start: { lean_object* x_1; @@ -8024,19 +7239,19 @@ x_1 = lean_mk_string("else"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__30; 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___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -8045,22 +7260,22 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74; -x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; +x_2 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; +x_1 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33; +x_2 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -8167,6 +7382,7 @@ if (x_31 == 0) { lean_object* x_32; lean_object* x_33; x_32 = lean_ctor_get(x_4, 8); +lean_inc(x_32); lean_ctor_set(x_3, 1, x_32); lean_ctor_set(x_3, 0, x_28); lean_ctor_set(x_4, 8, x_3); @@ -8177,226 +7393,283 @@ uint8_t x_34; x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { -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_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; x_35 = lean_ctor_get(x_33, 0); -x_36 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; -x_37 = lean_array_push(x_36, x_17); -x_38 = l_Lean_Parser_Term_letIdDecl___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 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_41 = lean_array_push(x_40, x_39); -x_42 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_43 = lean_array_push(x_41, x_42); -x_44 = lean_array_push(x_43, x_35); -x_45 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_33, 0, x_46); -return x_33; -} -else -{ -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; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_36 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_32); +lean_dec(x_32); +x_37 = lean_box(0); +x_38 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_39 = lean_name_mk_numeral(x_38, x_36); +x_40 = lean_box(0); +x_41 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_42 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_42, 0, x_37); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_39); +lean_ctor_set(x_42, 3, x_40); +x_43 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_44 = lean_array_push(x_43, x_42); +x_45 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_46 = lean_array_push(x_44, x_45); +x_47 = lean_array_push(x_46, x_45); +x_48 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_49 = lean_array_push(x_47, x_48); x_50 = lean_array_push(x_49, x_17); x_51 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); -x_53 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; +x_53 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; x_54 = lean_array_push(x_53, x_52); -x_55 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; +x_55 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; x_56 = lean_array_push(x_54, x_55); -x_57 = lean_array_push(x_56, x_47); +x_57 = lean_array_push(x_56, x_35); x_58 = l_Lean_Parser_Term_let___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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_48); -return x_60; +lean_ctor_set(x_33, 0, x_59); +return x_33; +} +else +{ +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; +x_60 = lean_ctor_get(x_33, 0); +x_61 = lean_ctor_get(x_33, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_33); +x_62 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_32); +lean_dec(x_32); +x_63 = lean_box(0); +x_64 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_65 = lean_name_mk_numeral(x_64, x_62); +x_66 = lean_box(0); +x_67 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_68 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_65); +lean_ctor_set(x_68, 3, x_66); +x_69 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_70 = lean_array_push(x_69, x_68); +x_71 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_72 = lean_array_push(x_70, x_71); +x_73 = lean_array_push(x_72, x_71); +x_74 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_75 = lean_array_push(x_73, x_74); +x_76 = lean_array_push(x_75, x_17); +x_77 = l_Lean_Parser_Term_letIdDecl___elambda__1___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); +x_79 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_80 = lean_array_push(x_79, x_78); +x_81 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_82 = lean_array_push(x_80, x_81); +x_83 = lean_array_push(x_82, x_60); +x_84 = l_Lean_Parser_Term_let___elambda__1___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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_61); +return x_86; } } else { -uint8_t x_61; +uint8_t x_87; +lean_dec(x_32); lean_dec(x_17); -x_61 = !lean_is_exclusive(x_33); -if (x_61 == 0) +x_87 = !lean_is_exclusive(x_33); +if (x_87 == 0) { return x_33; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_33, 0); -x_63 = lean_ctor_get(x_33, 1); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_33, 0); +x_89 = lean_ctor_get(x_33, 1); +lean_inc(x_89); +lean_inc(x_88); lean_dec(x_33); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -else -{ -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; uint8_t x_74; lean_object* x_75; lean_object* x_76; -x_65 = lean_ctor_get(x_4, 0); -x_66 = lean_ctor_get(x_4, 1); -x_67 = lean_ctor_get(x_4, 2); -x_68 = lean_ctor_get(x_4, 3); -x_69 = lean_ctor_get(x_4, 4); -x_70 = lean_ctor_get(x_4, 5); -x_71 = lean_ctor_get(x_4, 6); -x_72 = lean_ctor_get(x_4, 7); -x_73 = lean_ctor_get(x_4, 8); -x_74 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_inc(x_69); -lean_inc(x_68); -lean_inc(x_67); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_4); -lean_ctor_set(x_3, 1, x_73); -lean_ctor_set(x_3, 0, x_28); -x_75 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_75, 0, x_65); -lean_ctor_set(x_75, 1, x_66); -lean_ctor_set(x_75, 2, x_67); -lean_ctor_set(x_75, 3, x_68); -lean_ctor_set(x_75, 4, x_69); -lean_ctor_set(x_75, 5, x_70); -lean_ctor_set(x_75, 6, x_71); -lean_ctor_set(x_75, 7, x_72); -lean_ctor_set(x_75, 8, x_3); -lean_ctor_set_uint8(x_75, sizeof(void*)*9, x_74); -x_76 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_26, x_75, x_25); -if (lean_obj_tag(x_76) == 0) -{ -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; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_79 = x_76; -} else { - lean_dec_ref(x_76); - x_79 = lean_box(0); -} -x_80 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; -x_81 = lean_array_push(x_80, x_17); -x_82 = l_Lean_Parser_Term_letIdDecl___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 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_85 = lean_array_push(x_84, x_83); -x_86 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_87 = lean_array_push(x_85, x_86); -x_88 = lean_array_push(x_87, x_77); -x_89 = l_Lean_Parser_Term_let___elambda__1___closed__2; x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -if (lean_is_scalar(x_79)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_79; -} -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_78); -return x_91; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_17); -x_92 = lean_ctor_get(x_76, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_76, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_94 = x_76; -} else { - lean_dec_ref(x_76); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); -} else { - x_95 = x_94; -} -lean_ctor_set(x_95, 0, x_92); -lean_ctor_set(x_95, 1, x_93); -return x_95; +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 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; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_96 = lean_ctor_get(x_25, 0); -x_97 = lean_ctor_get(x_25, 1); -x_98 = lean_ctor_get(x_25, 2); -x_99 = lean_ctor_get(x_25, 3); -x_100 = lean_ctor_get(x_25, 4); -x_101 = lean_ctor_get(x_25, 5); -lean_inc(x_101); -lean_inc(x_100); +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; uint8_t x_100; lean_object* x_101; lean_object* x_102; +x_91 = lean_ctor_get(x_4, 0); +x_92 = lean_ctor_get(x_4, 1); +x_93 = lean_ctor_get(x_4, 2); +x_94 = lean_ctor_get(x_4, 3); +x_95 = lean_ctor_get(x_4, 4); +x_96 = lean_ctor_get(x_4, 5); +x_97 = lean_ctor_get(x_4, 6); +x_98 = lean_ctor_get(x_4, 7); +x_99 = lean_ctor_get(x_4, 8); +x_100 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); lean_inc(x_99); lean_inc(x_98); lean_inc(x_97); lean_inc(x_96); +lean_inc(x_95); +lean_inc(x_94); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_4); +lean_inc(x_99); +lean_ctor_set(x_3, 1, x_99); +lean_ctor_set(x_3, 0, x_28); +x_101 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_101, 0, x_91); +lean_ctor_set(x_101, 1, x_92); +lean_ctor_set(x_101, 2, x_93); +lean_ctor_set(x_101, 3, x_94); +lean_ctor_set(x_101, 4, x_95); +lean_ctor_set(x_101, 5, x_96); +lean_ctor_set(x_101, 6, x_97); +lean_ctor_set(x_101, 7, x_98); +lean_ctor_set(x_101, 8, x_3); +lean_ctor_set_uint8(x_101, sizeof(void*)*9, x_100); +x_102 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_26, x_101, x_25); +if (lean_obj_tag(x_102) == 0) +{ +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; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); + x_105 = lean_box(0); +} +x_106 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_99); +lean_dec(x_99); +x_107 = lean_box(0); +x_108 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_109 = lean_name_mk_numeral(x_108, x_106); +x_110 = lean_box(0); +x_111 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_112 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_112, 0, x_107); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_109); +lean_ctor_set(x_112, 3, x_110); +x_113 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_116 = lean_array_push(x_114, x_115); +x_117 = lean_array_push(x_116, x_115); +x_118 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_119 = lean_array_push(x_117, x_118); +x_120 = lean_array_push(x_119, x_17); +x_121 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_124 = lean_array_push(x_123, x_122); +x_125 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_126 = lean_array_push(x_124, x_125); +x_127 = lean_array_push(x_126, x_103); +x_128 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +if (lean_is_scalar(x_105)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_105; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_104); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_99); +lean_dec(x_17); +x_131 = lean_ctor_get(x_102, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_102, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_133 = x_102; +} else { + lean_dec_ref(x_102); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +} +else +{ +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; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_135 = lean_ctor_get(x_25, 0); +x_136 = lean_ctor_get(x_25, 1); +x_137 = lean_ctor_get(x_25, 2); +x_138 = lean_ctor_get(x_25, 3); +x_139 = lean_ctor_get(x_25, 4); +x_140 = lean_ctor_get(x_25, 5); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_138); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); lean_dec(x_25); -x_102 = lean_unsigned_to_nat(1u); -x_103 = lean_nat_add(x_101, x_102); -x_104 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_104, 0, x_96); -lean_ctor_set(x_104, 1, x_97); -lean_ctor_set(x_104, 2, x_98); -lean_ctor_set(x_104, 3, x_99); -lean_ctor_set(x_104, 4, x_100); -lean_ctor_set(x_104, 5, x_103); -x_105 = lean_ctor_get(x_4, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_4, 1); -lean_inc(x_106); -x_107 = lean_ctor_get(x_4, 2); -lean_inc(x_107); -x_108 = lean_ctor_get(x_4, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_4, 4); -lean_inc(x_109); -x_110 = lean_ctor_get(x_4, 5); -lean_inc(x_110); -x_111 = lean_ctor_get(x_4, 6); -lean_inc(x_111); -x_112 = lean_ctor_get(x_4, 7); -lean_inc(x_112); -x_113 = lean_ctor_get(x_4, 8); -lean_inc(x_113); -x_114 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +x_141 = lean_unsigned_to_nat(1u); +x_142 = lean_nat_add(x_140, x_141); +x_143 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_143, 0, x_135); +lean_ctor_set(x_143, 1, x_136); +lean_ctor_set(x_143, 2, x_137); +lean_ctor_set(x_143, 3, x_138); +lean_ctor_set(x_143, 4, x_139); +lean_ctor_set(x_143, 5, x_142); +x_144 = lean_ctor_get(x_4, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_4, 1); +lean_inc(x_145); +x_146 = lean_ctor_get(x_4, 2); +lean_inc(x_146); +x_147 = lean_ctor_get(x_4, 3); +lean_inc(x_147); +x_148 = lean_ctor_get(x_4, 4); +lean_inc(x_148); +x_149 = lean_ctor_get(x_4, 5); +lean_inc(x_149); +x_150 = lean_ctor_get(x_4, 6); +lean_inc(x_150); +x_151 = lean_ctor_get(x_4, 7); +lean_inc(x_151); +x_152 = lean_ctor_get(x_4, 8); +lean_inc(x_152); +x_153 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -8407,119 +7680,139 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_115 = x_4; + x_154 = x_4; } else { lean_dec_ref(x_4); - x_115 = lean_box(0); + x_154 = lean_box(0); } -lean_ctor_set(x_3, 1, x_113); -lean_ctor_set(x_3, 0, x_101); -if (lean_is_scalar(x_115)) { - x_116 = lean_alloc_ctor(0, 9, 1); +lean_inc(x_152); +lean_ctor_set(x_3, 1, x_152); +lean_ctor_set(x_3, 0, x_140); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(0, 9, 1); } else { - x_116 = x_115; + x_155 = x_154; } -lean_ctor_set(x_116, 0, x_105); -lean_ctor_set(x_116, 1, x_106); -lean_ctor_set(x_116, 2, x_107); -lean_ctor_set(x_116, 3, x_108); -lean_ctor_set(x_116, 4, x_109); -lean_ctor_set(x_116, 5, x_110); -lean_ctor_set(x_116, 6, x_111); -lean_ctor_set(x_116, 7, x_112); -lean_ctor_set(x_116, 8, x_3); -lean_ctor_set_uint8(x_116, sizeof(void*)*9, x_114); -x_117 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_26, x_116, x_104); -if (lean_obj_tag(x_117) == 0) +lean_ctor_set(x_155, 0, x_144); +lean_ctor_set(x_155, 1, x_145); +lean_ctor_set(x_155, 2, x_146); +lean_ctor_set(x_155, 3, x_147); +lean_ctor_set(x_155, 4, x_148); +lean_ctor_set(x_155, 5, x_149); +lean_ctor_set(x_155, 6, x_150); +lean_ctor_set(x_155, 7, x_151); +lean_ctor_set(x_155, 8, x_3); +lean_ctor_set_uint8(x_155, sizeof(void*)*9, x_153); +x_156 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_26, x_155, x_143); +if (lean_obj_tag(x_156) == 0) { -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; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_120 = x_117; +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; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_159 = x_156; } else { - lean_dec_ref(x_117); - x_120 = lean_box(0); + lean_dec_ref(x_156); + x_159 = lean_box(0); } -x_121 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; -x_122 = lean_array_push(x_121, x_17); -x_123 = l_Lean_Parser_Term_letIdDecl___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); -x_125 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_126 = lean_array_push(x_125, x_124); -x_127 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_128 = lean_array_push(x_126, x_127); -x_129 = lean_array_push(x_128, x_118); -x_130 = l_Lean_Parser_Term_let___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); -if (lean_is_scalar(x_120)) { - x_132 = lean_alloc_ctor(0, 2, 0); +x_160 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_152); +lean_dec(x_152); +x_161 = lean_box(0); +x_162 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_163 = lean_name_mk_numeral(x_162, x_160); +x_164 = lean_box(0); +x_165 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_166 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_166, 0, x_161); +lean_ctor_set(x_166, 1, x_165); +lean_ctor_set(x_166, 2, x_163); +lean_ctor_set(x_166, 3, x_164); +x_167 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_168 = lean_array_push(x_167, x_166); +x_169 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_170 = lean_array_push(x_168, x_169); +x_171 = lean_array_push(x_170, x_169); +x_172 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_173 = lean_array_push(x_171, x_172); +x_174 = lean_array_push(x_173, x_17); +x_175 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_174); +x_177 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_178 = lean_array_push(x_177, x_176); +x_179 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_180 = lean_array_push(x_178, x_179); +x_181 = lean_array_push(x_180, x_157); +x_182 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +if (lean_is_scalar(x_159)) { + x_184 = lean_alloc_ctor(0, 2, 0); } else { - x_132 = x_120; + x_184 = x_159; } -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_119); -return x_132; +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_158); +return x_184; } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_152); lean_dec(x_17); -x_133 = lean_ctor_get(x_117, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_117, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_135 = x_117; +x_185 = lean_ctor_get(x_156, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_156, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_187 = x_156; } else { - lean_dec_ref(x_117); - x_135 = lean_box(0); + lean_dec_ref(x_156); + x_187 = lean_box(0); } -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 2, 0); } else { - x_136 = x_135; + x_188 = x_187; } -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; } } } else { -uint8_t x_137; +uint8_t x_189; lean_free_object(x_3); lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); -x_137 = !lean_is_exclusive(x_21); -if (x_137 == 0) +x_189 = !lean_is_exclusive(x_21); +if (x_189 == 0) { return x_21; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_21, 0); -x_139 = lean_ctor_get(x_21, 1); -lean_inc(x_139); -lean_inc(x_138); +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_21, 0); +x_191 = lean_ctor_get(x_21, 1); +lean_inc(x_191); +lean_inc(x_190); lean_dec(x_21); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +return x_192; } } } @@ -8528,68 +7821,68 @@ else lean_dec(x_3); if (lean_obj_tag(x_21) == 0) { -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; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_141 = lean_ctor_get(x_21, 1); -lean_inc(x_141); -x_142 = lean_ctor_get(x_21, 0); -lean_inc(x_142); +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; uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_193 = lean_ctor_get(x_21, 1); +lean_inc(x_193); +x_194 = lean_ctor_get(x_21, 0); +lean_inc(x_194); lean_dec(x_21); -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_141, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 2); -lean_inc(x_145); -x_146 = lean_ctor_get(x_141, 3); -lean_inc(x_146); -x_147 = lean_ctor_get(x_141, 4); -lean_inc(x_147); -x_148 = lean_ctor_get(x_141, 5); -lean_inc(x_148); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - lean_ctor_release(x_141, 3); - lean_ctor_release(x_141, 4); - lean_ctor_release(x_141, 5); - x_149 = x_141; +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_193, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_193, 2); +lean_inc(x_197); +x_198 = lean_ctor_get(x_193, 3); +lean_inc(x_198); +x_199 = lean_ctor_get(x_193, 4); +lean_inc(x_199); +x_200 = lean_ctor_get(x_193, 5); +lean_inc(x_200); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + lean_ctor_release(x_193, 4); + lean_ctor_release(x_193, 5); + x_201 = x_193; } else { - lean_dec_ref(x_141); - x_149 = lean_box(0); + lean_dec_ref(x_193); + x_201 = lean_box(0); } -x_150 = lean_unsigned_to_nat(1u); -x_151 = lean_nat_add(x_148, x_150); -if (lean_is_scalar(x_149)) { - x_152 = lean_alloc_ctor(0, 6, 0); +x_202 = lean_unsigned_to_nat(1u); +x_203 = lean_nat_add(x_200, x_202); +if (lean_is_scalar(x_201)) { + x_204 = lean_alloc_ctor(0, 6, 0); } else { - x_152 = x_149; + x_204 = x_201; } -lean_ctor_set(x_152, 0, x_143); -lean_ctor_set(x_152, 1, x_144); -lean_ctor_set(x_152, 2, x_145); -lean_ctor_set(x_152, 3, x_146); -lean_ctor_set(x_152, 4, x_147); -lean_ctor_set(x_152, 5, x_151); -x_153 = lean_ctor_get(x_4, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_4, 1); -lean_inc(x_154); -x_155 = lean_ctor_get(x_4, 2); -lean_inc(x_155); -x_156 = lean_ctor_get(x_4, 3); -lean_inc(x_156); -x_157 = lean_ctor_get(x_4, 4); -lean_inc(x_157); -x_158 = lean_ctor_get(x_4, 5); -lean_inc(x_158); -x_159 = lean_ctor_get(x_4, 6); -lean_inc(x_159); -x_160 = lean_ctor_get(x_4, 7); -lean_inc(x_160); -x_161 = lean_ctor_get(x_4, 8); -lean_inc(x_161); -x_162 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +lean_ctor_set(x_204, 0, x_195); +lean_ctor_set(x_204, 1, x_196); +lean_ctor_set(x_204, 2, x_197); +lean_ctor_set(x_204, 3, x_198); +lean_ctor_set(x_204, 4, x_199); +lean_ctor_set(x_204, 5, x_203); +x_205 = lean_ctor_get(x_4, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_4, 1); +lean_inc(x_206); +x_207 = lean_ctor_get(x_4, 2); +lean_inc(x_207); +x_208 = lean_ctor_get(x_4, 3); +lean_inc(x_208); +x_209 = lean_ctor_get(x_4, 4); +lean_inc(x_209); +x_210 = lean_ctor_get(x_4, 5); +lean_inc(x_210); +x_211 = lean_ctor_get(x_4, 6); +lean_inc(x_211); +x_212 = lean_ctor_get(x_4, 7); +lean_inc(x_212); +x_213 = lean_ctor_get(x_4, 8); +lean_inc(x_213); +x_214 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -8600,1579 +7893,1321 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_163 = x_4; + x_215 = x_4; } else { lean_dec_ref(x_4); - x_163 = lean_box(0); + x_215 = lean_box(0); } -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_148); -lean_ctor_set(x_164, 1, x_161); -if (lean_is_scalar(x_163)) { - x_165 = lean_alloc_ctor(0, 9, 1); +lean_inc(x_213); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_200); +lean_ctor_set(x_216, 1, x_213); +if (lean_is_scalar(x_215)) { + x_217 = lean_alloc_ctor(0, 9, 1); } else { - x_165 = x_163; + x_217 = x_215; } -lean_ctor_set(x_165, 0, x_153); -lean_ctor_set(x_165, 1, x_154); -lean_ctor_set(x_165, 2, x_155); -lean_ctor_set(x_165, 3, x_156); -lean_ctor_set(x_165, 4, x_157); -lean_ctor_set(x_165, 5, x_158); -lean_ctor_set(x_165, 6, x_159); -lean_ctor_set(x_165, 7, x_160); -lean_ctor_set(x_165, 8, x_164); -lean_ctor_set_uint8(x_165, sizeof(void*)*9, x_162); -x_166 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_142, x_165, x_152); -if (lean_obj_tag(x_166) == 0) +lean_ctor_set(x_217, 0, x_205); +lean_ctor_set(x_217, 1, x_206); +lean_ctor_set(x_217, 2, x_207); +lean_ctor_set(x_217, 3, x_208); +lean_ctor_set(x_217, 4, x_209); +lean_ctor_set(x_217, 5, x_210); +lean_ctor_set(x_217, 6, x_211); +lean_ctor_set(x_217, 7, x_212); +lean_ctor_set(x_217, 8, x_216); +lean_ctor_set_uint8(x_217, sizeof(void*)*9, x_214); +x_218 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_18, x_194, x_217, x_204); +if (lean_obj_tag(x_218) == 0) { -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; -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_169 = x_166; +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; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_221 = x_218; } else { - lean_dec_ref(x_166); - x_169 = lean_box(0); + lean_dec_ref(x_218); + x_221 = lean_box(0); } -x_170 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; -x_171 = lean_array_push(x_170, x_17); -x_172 = l_Lean_Parser_Term_letIdDecl___elambda__1___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); -x_174 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_175 = lean_array_push(x_174, x_173); -x_176 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_177 = lean_array_push(x_175, x_176); -x_178 = lean_array_push(x_177, x_167); -x_179 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_178); -if (lean_is_scalar(x_169)) { - x_181 = lean_alloc_ctor(0, 2, 0); +x_222 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_213); +lean_dec(x_213); +x_223 = lean_box(0); +x_224 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +x_225 = lean_name_mk_numeral(x_224, x_222); +x_226 = lean_box(0); +x_227 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_228 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_228, 0, x_223); +lean_ctor_set(x_228, 1, x_227); +lean_ctor_set(x_228, 2, x_225); +lean_ctor_set(x_228, 3, x_226); +x_229 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_230 = lean_array_push(x_229, x_228); +x_231 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_232 = lean_array_push(x_230, x_231); +x_233 = lean_array_push(x_232, x_231); +x_234 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_235 = lean_array_push(x_233, x_234); +x_236 = lean_array_push(x_235, x_17); +x_237 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_236); +x_239 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_240 = lean_array_push(x_239, x_238); +x_241 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_242 = lean_array_push(x_240, x_241); +x_243 = lean_array_push(x_242, x_219); +x_244 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +if (lean_is_scalar(x_221)) { + x_246 = lean_alloc_ctor(0, 2, 0); } else { - x_181 = x_169; + x_246 = x_221; } -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_168); -return x_181; +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_220); +return x_246; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +lean_dec(x_213); lean_dec(x_17); -x_182 = lean_ctor_get(x_166, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_166, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_184 = x_166; +x_247 = lean_ctor_get(x_218, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_218, 1); +lean_inc(x_248); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_249 = x_218; } else { - lean_dec_ref(x_166); - x_184 = lean_box(0); + lean_dec_ref(x_218); + x_249 = lean_box(0); } -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_249)) { + x_250 = lean_alloc_ctor(1, 2, 0); } else { - x_185 = x_184; + x_250 = x_249; } -lean_ctor_set(x_185, 0, x_182); -lean_ctor_set(x_185, 1, x_183); -return x_185; +lean_ctor_set(x_250, 0, x_247); +lean_ctor_set(x_250, 1, x_248); +return x_250; } } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); -x_186 = lean_ctor_get(x_21, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_21, 1); -lean_inc(x_187); +x_251 = lean_ctor_get(x_21, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_21, 1); +lean_inc(x_252); if (lean_is_exclusive(x_21)) { lean_ctor_release(x_21, 0); lean_ctor_release(x_21, 1); - x_188 = x_21; + x_253 = x_21; } else { lean_dec_ref(x_21); - x_188 = lean_box(0); + x_253 = lean_box(0); } -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_253)) { + x_254 = lean_alloc_ctor(1, 2, 0); } else { - x_189 = x_188; + x_254 = x_253; } -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_190 = lean_ctor_get(x_20, 0); -lean_inc(x_190); -lean_dec(x_20); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -x_192 = l___private_Init_Lean_Elab_Quotation_11__nodeShape(x_190); -x_193 = !lean_is_exclusive(x_190); -if (x_193 == 0) -{ -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; -x_194 = lean_ctor_get(x_190, 1); -lean_dec(x_194); -x_195 = lean_ctor_get(x_190, 0); -lean_dec(x_195); -x_196 = lean_array_get_size(x_191); -x_197 = l_List_range(x_196); -x_198 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_197, x_4, x_5); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -lean_dec(x_198); -x_201 = lean_box(0); -lean_inc(x_3); -x_202 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3(x_192, x_3, x_201); -lean_inc(x_4); -x_203 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4(x_191, x_202, x_4, x_200); -lean_dec(x_191); -if (lean_obj_tag(x_203) == 0) -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; -x_204 = lean_ctor_get(x_203, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); -lean_inc(x_205); -lean_dec(x_203); -lean_inc(x_3); -x_206 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__5(x_192, x_3, x_201); -x_207 = !lean_is_exclusive(x_3); -if (x_207 == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -x_208 = lean_ctor_get(x_3, 1); -lean_dec(x_208); -x_209 = lean_ctor_get(x_3, 0); -lean_dec(x_209); -x_210 = l_List_append___rarg(x_199, x_18); -x_211 = !lean_is_exclusive(x_205); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; -x_212 = lean_ctor_get(x_205, 5); -x_213 = lean_unsigned_to_nat(1u); -x_214 = lean_nat_add(x_212, x_213); -lean_ctor_set(x_205, 5, x_214); -x_215 = !lean_is_exclusive(x_4); -if (x_215 == 0) -{ -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; uint8_t x_225; lean_object* x_226; -x_216 = lean_ctor_get(x_4, 0); -x_217 = lean_ctor_get(x_4, 1); -x_218 = lean_ctor_get(x_4, 2); -x_219 = lean_ctor_get(x_4, 3); -x_220 = lean_ctor_get(x_4, 4); -x_221 = lean_ctor_get(x_4, 5); -x_222 = lean_ctor_get(x_4, 6); -x_223 = lean_ctor_get(x_4, 7); -x_224 = lean_ctor_get(x_4, 8); -x_225 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_224); -lean_ctor_set(x_3, 1, x_224); -lean_ctor_set(x_3, 0, x_212); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_ctor_set(x_4, 8, x_3); -x_226 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_210, x_204, x_4, x_205); -if (lean_obj_tag(x_226) == 0) -{ -lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 0); -lean_inc(x_228); -lean_dec(x_226); -x_229 = !lean_is_exclusive(x_227); -if (x_229 == 0) -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_230 = lean_ctor_get(x_227, 5); -x_231 = lean_nat_add(x_230, x_213); -lean_ctor_set(x_227, 5, x_231); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_224); -x_233 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_233, 0, x_216); -lean_ctor_set(x_233, 1, x_217); -lean_ctor_set(x_233, 2, x_218); -lean_ctor_set(x_233, 3, x_219); -lean_ctor_set(x_233, 4, x_220); -lean_ctor_set(x_233, 5, x_221); -lean_ctor_set(x_233, 6, x_222); -lean_ctor_set(x_233, 7, x_223); -lean_ctor_set(x_233, 8, x_232); -lean_ctor_set_uint8(x_233, sizeof(void*)*9, x_225); -x_234 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_206, x_233, x_227); -if (lean_obj_tag(x_234) == 0) -{ -uint8_t x_235; -x_235 = !lean_is_exclusive(x_234); -if (x_235 == 0) -{ -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; -x_236 = lean_ctor_get(x_234, 0); -x_237 = lean_box(0); -x_238 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_239 = lean_array_push(x_238, x_17); -x_240 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_239); -lean_ctor_set(x_190, 0, x_240); -x_241 = lean_ctor_get(x_192, 0); -lean_inc(x_241); -x_242 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_241); -x_243 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_244 = lean_array_push(x_243, x_242); -x_245 = l_Lean_Parser_Term_app___elambda__1___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_ctor_get(x_192, 1); -lean_inc(x_247); -lean_dec(x_192); -x_248 = l_Nat_repr(x_247); -x_249 = l_Lean_numLitKind; -x_250 = l_Lean_mkStxLit(x_249, x_248, x_237); -x_251 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_252 = lean_array_push(x_251, x_250); -x_253 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 0, x_251); lean_ctor_set(x_254, 1, x_252); -x_255 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_256 = lean_array_push(x_255, x_246); -x_257 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_258 = lean_array_push(x_256, x_257); -x_259 = lean_array_push(x_258, x_254); -x_260 = l_Lean_Parser_Term_band___elambda__1___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_Quotation_12__compileStxMatch___main___closed__76; -x_263 = lean_array_push(x_262, x_261); -x_264 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_265 = lean_array_push(x_263, x_264); -x_266 = lean_array_push(x_265, x_228); -x_267 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_268 = lean_array_push(x_266, x_267); -x_269 = lean_array_push(x_268, x_236); -x_270 = l_Lean_Parser_Term_if___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); -x_272 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_273 = lean_array_push(x_272, x_190); -x_274 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_275 = lean_array_push(x_273, x_274); -x_276 = lean_array_push(x_275, x_271); -x_277 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -lean_ctor_set(x_234, 0, x_278); -return x_234; +return x_254; +} +} } else { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; 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; -x_279 = lean_ctor_get(x_234, 0); -x_280 = lean_ctor_get(x_234, 1); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_234); -x_281 = lean_box(0); -x_282 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_283 = lean_array_push(x_282, x_17); -x_284 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_283); -lean_ctor_set(x_190, 0, x_284); -x_285 = lean_ctor_get(x_192, 0); +lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; +x_255 = lean_ctor_get(x_20, 0); +lean_inc(x_255); +lean_dec(x_20); +x_256 = lean_ctor_get(x_255, 1); +lean_inc(x_256); +x_257 = l___private_Init_Lean_Elab_Quotation_11__nodeShape(x_255); +x_258 = !lean_is_exclusive(x_255); +if (x_258 == 0) +{ +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; +x_259 = lean_ctor_get(x_255, 1); +lean_dec(x_259); +x_260 = lean_ctor_get(x_255, 0); +lean_dec(x_260); +x_261 = lean_array_get_size(x_256); +x_262 = l_List_range(x_261); +x_263 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_262, x_4, x_5); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = lean_box(0); +lean_inc(x_3); +x_267 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3(x_257, x_3, x_266); +lean_inc(x_4); +x_268 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4(x_256, x_267, x_4, x_265); +lean_dec(x_256); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec(x_268); +lean_inc(x_3); +x_271 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__5(x_257, x_3, x_266); +x_272 = !lean_is_exclusive(x_3); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; +x_273 = lean_ctor_get(x_3, 1); +lean_dec(x_273); +x_274 = lean_ctor_get(x_3, 0); +lean_dec(x_274); +x_275 = l_List_append___rarg(x_264, x_18); +x_276 = !lean_is_exclusive(x_270); +if (x_276 == 0) +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; +x_277 = lean_ctor_get(x_270, 5); +x_278 = lean_unsigned_to_nat(1u); +x_279 = lean_nat_add(x_277, x_278); +lean_ctor_set(x_270, 5, x_279); +x_280 = !lean_is_exclusive(x_4); +if (x_280 == 0) +{ +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; uint8_t x_290; lean_object* x_291; +x_281 = lean_ctor_get(x_4, 0); +x_282 = lean_ctor_get(x_4, 1); +x_283 = lean_ctor_get(x_4, 2); +x_284 = lean_ctor_get(x_4, 3); +x_285 = lean_ctor_get(x_4, 4); +x_286 = lean_ctor_get(x_4, 5); +x_287 = lean_ctor_get(x_4, 6); +x_288 = lean_ctor_get(x_4, 7); +x_289 = lean_ctor_get(x_4, 8); +x_290 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +lean_inc(x_289); +lean_ctor_set(x_3, 1, x_289); +lean_ctor_set(x_3, 0, x_277); +lean_inc(x_288); +lean_inc(x_287); +lean_inc(x_286); lean_inc(x_285); -x_286 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_285); -x_287 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_288 = lean_array_push(x_287, x_286); -x_289 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -x_291 = lean_ctor_get(x_192, 1); -lean_inc(x_291); -lean_dec(x_192); -x_292 = l_Nat_repr(x_291); -x_293 = l_Lean_numLitKind; -x_294 = l_Lean_mkStxLit(x_293, x_292, x_281); -x_295 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_296 = lean_array_push(x_295, x_294); -x_297 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_298, 0, x_297); -lean_ctor_set(x_298, 1, x_296); -x_299 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_300 = lean_array_push(x_299, x_290); -x_301 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_302 = lean_array_push(x_300, x_301); -x_303 = lean_array_push(x_302, x_298); -x_304 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_305 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_303); -x_306 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_307 = lean_array_push(x_306, x_305); -x_308 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_309 = lean_array_push(x_307, x_308); -x_310 = lean_array_push(x_309, x_228); -x_311 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_312 = lean_array_push(x_310, x_311); -x_313 = lean_array_push(x_312, x_279); -x_314 = l_Lean_Parser_Term_if___elambda__1___rarg___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 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_317 = lean_array_push(x_316, x_190); -x_318 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_319 = lean_array_push(x_317, x_318); -x_320 = lean_array_push(x_319, x_315); -x_321 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_320); -x_323 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_280); -return x_323; -} -} -else +lean_inc(x_284); +lean_inc(x_283); +lean_inc(x_282); +lean_inc(x_281); +lean_ctor_set(x_4, 8, x_3); +x_291 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_275, x_269, x_4, x_270); +if (lean_obj_tag(x_291) == 0) { -uint8_t x_324; -lean_dec(x_228); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -x_324 = !lean_is_exclusive(x_234); -if (x_324 == 0) +lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_292 = lean_ctor_get(x_291, 1); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 0); +lean_inc(x_293); +lean_dec(x_291); +x_294 = !lean_is_exclusive(x_292); +if (x_294 == 0) { -return x_234; -} -else +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_295 = lean_ctor_get(x_292, 5); +x_296 = lean_nat_add(x_295, x_278); +lean_ctor_set(x_292, 5, x_296); +lean_inc(x_289); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_295); +lean_ctor_set(x_297, 1, x_289); +x_298 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_298, 0, x_281); +lean_ctor_set(x_298, 1, x_282); +lean_ctor_set(x_298, 2, x_283); +lean_ctor_set(x_298, 3, x_284); +lean_ctor_set(x_298, 4, x_285); +lean_ctor_set(x_298, 5, x_286); +lean_ctor_set(x_298, 6, x_287); +lean_ctor_set(x_298, 7, x_288); +lean_ctor_set(x_298, 8, x_297); +lean_ctor_set_uint8(x_298, sizeof(void*)*9, x_290); +x_299 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_271, x_298, x_292); +if (lean_obj_tag(x_299) == 0) { -lean_object* x_325; lean_object* x_326; lean_object* x_327; -x_325 = lean_ctor_get(x_234, 0); -x_326 = lean_ctor_get(x_234, 1); -lean_inc(x_326); -lean_inc(x_325); -lean_dec(x_234); -x_327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_327, 0, x_325); -lean_ctor_set(x_327, 1, x_326); -return x_327; -} -} -} -else +uint8_t x_300; +x_300 = !lean_is_exclusive(x_299); +if (x_300 == 0) { -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; -x_328 = lean_ctor_get(x_227, 0); -x_329 = lean_ctor_get(x_227, 1); -x_330 = lean_ctor_get(x_227, 2); -x_331 = lean_ctor_get(x_227, 3); -x_332 = lean_ctor_get(x_227, 4); -x_333 = lean_ctor_get(x_227, 5); -lean_inc(x_333); -lean_inc(x_332); -lean_inc(x_331); -lean_inc(x_330); +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; 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; +x_301 = lean_ctor_get(x_299, 0); +x_302 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_289); +lean_dec(x_289); +x_303 = lean_box(0); +x_304 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_302); +x_305 = lean_name_mk_numeral(x_304, x_302); +x_306 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_307 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_307, 0, x_303); +lean_ctor_set(x_307, 1, x_306); +lean_ctor_set(x_307, 2, x_305); +lean_ctor_set(x_307, 3, x_266); +x_308 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_307); +x_309 = lean_array_push(x_308, x_307); +x_310 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_311 = lean_array_push(x_309, x_310); +x_312 = lean_array_push(x_311, x_310); +x_313 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_314 = lean_array_push(x_312, x_313); +x_315 = lean_array_push(x_314, x_17); +x_316 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_315); +lean_ctor_set(x_255, 0, x_316); +x_317 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_302); +x_318 = lean_name_mk_numeral(x_317, x_302); +x_319 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_320 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_321 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_321, 0, x_303); +lean_ctor_set(x_321, 1, x_319); +lean_ctor_set(x_321, 2, x_318); +lean_ctor_set(x_321, 3, x_320); +x_322 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_323 = lean_array_push(x_322, x_321); +x_324 = lean_array_push(x_323, x_310); +x_325 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_324); +x_327 = lean_array_push(x_322, x_307); +x_328 = lean_array_push(x_327, x_310); +x_329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_329, 0, x_325); +lean_ctor_set(x_329, 1, x_328); +x_330 = lean_array_push(x_322, x_326); lean_inc(x_329); -lean_inc(x_328); -lean_dec(x_227); -x_334 = lean_nat_add(x_333, x_213); -x_335 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_335, 0, x_328); -lean_ctor_set(x_335, 1, x_329); -lean_ctor_set(x_335, 2, x_330); -lean_ctor_set(x_335, 3, x_331); -lean_ctor_set(x_335, 4, x_332); -lean_ctor_set(x_335, 5, x_334); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_333); -lean_ctor_set(x_336, 1, x_224); -x_337 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_337, 0, x_216); -lean_ctor_set(x_337, 1, x_217); -lean_ctor_set(x_337, 2, x_218); -lean_ctor_set(x_337, 3, x_219); -lean_ctor_set(x_337, 4, x_220); -lean_ctor_set(x_337, 5, x_221); -lean_ctor_set(x_337, 6, x_222); -lean_ctor_set(x_337, 7, x_223); -lean_ctor_set(x_337, 8, x_336); -lean_ctor_set_uint8(x_337, sizeof(void*)*9, x_225); -x_338 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_206, x_337, x_335); -if (lean_obj_tag(x_338) == 0) -{ -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; -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 1); -lean_inc(x_340); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - lean_ctor_release(x_338, 1); - x_341 = x_338; -} else { - lean_dec_ref(x_338); - x_341 = lean_box(0); -} -x_342 = lean_box(0); -x_343 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_344 = lean_array_push(x_343, x_17); -x_345 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_344); -lean_ctor_set(x_190, 0, x_345); -x_346 = lean_ctor_get(x_192, 0); -lean_inc(x_346); -x_347 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_346); -x_348 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_349 = lean_array_push(x_348, x_347); -x_350 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); +x_331 = lean_array_push(x_330, x_329); +x_332 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_331); +x_334 = lean_ctor_get(x_257, 0); +lean_inc(x_334); +x_335 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_334); +x_336 = lean_array_push(x_322, x_333); +x_337 = lean_array_push(x_336, x_335); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_332); +lean_ctor_set(x_338, 1, x_337); +x_339 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_302); +x_340 = lean_name_mk_numeral(x_339, x_302); +x_341 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_342 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_343 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_343, 0, x_303); +lean_ctor_set(x_343, 1, x_341); +lean_ctor_set(x_343, 2, x_340); +lean_ctor_set(x_343, 3, x_342); +x_344 = lean_array_push(x_322, x_343); +x_345 = lean_array_push(x_344, x_310); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_325); +lean_ctor_set(x_346, 1, x_345); +x_347 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_348 = lean_name_mk_numeral(x_347, x_302); +x_349 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_350 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_351 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_351, 0, x_303); lean_ctor_set(x_351, 1, x_349); -x_352 = lean_ctor_get(x_192, 1); -lean_inc(x_352); -lean_dec(x_192); -x_353 = l_Nat_repr(x_352); -x_354 = l_Lean_numLitKind; -x_355 = l_Lean_mkStxLit(x_354, x_353, x_342); -x_356 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_357 = lean_array_push(x_356, x_355); -x_358 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_357); -x_360 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_361 = lean_array_push(x_360, x_351); -x_362 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_363 = lean_array_push(x_361, x_362); -x_364 = lean_array_push(x_363, x_359); -x_365 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_364); -x_367 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_368 = lean_array_push(x_367, x_366); -x_369 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_370 = lean_array_push(x_368, x_369); -x_371 = lean_array_push(x_370, x_228); -x_372 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_373 = lean_array_push(x_371, x_372); -x_374 = lean_array_push(x_373, x_339); -x_375 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; -x_376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_374); -x_377 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_378 = lean_array_push(x_377, x_190); -x_379 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_380 = lean_array_push(x_378, x_379); -x_381 = lean_array_push(x_380, x_376); -x_382 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_381); -if (lean_is_scalar(x_341)) { - x_384 = lean_alloc_ctor(0, 2, 0); -} else { - x_384 = x_341; -} -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_340); -return x_384; +lean_ctor_set(x_351, 2, x_348); +lean_ctor_set(x_351, 3, x_350); +x_352 = lean_array_push(x_322, x_351); +x_353 = lean_array_push(x_352, x_310); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_325); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_array_push(x_322, x_354); +x_356 = lean_array_push(x_355, x_329); +x_357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_357, 0, x_332); +lean_ctor_set(x_357, 1, x_356); +x_358 = lean_array_push(x_322, x_357); +x_359 = lean_array_push(x_358, x_310); +x_360 = l_Lean_nullKind___closed__2; +x_361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_361, 0, x_360); +lean_ctor_set(x_361, 1, x_359); +x_362 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_363 = lean_array_push(x_362, x_361); +x_364 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_365 = lean_array_push(x_363, x_364); +x_366 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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_322, x_346); +x_369 = lean_array_push(x_368, x_367); +x_370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_370, 0, x_332); +lean_ctor_set(x_370, 1, x_369); +x_371 = lean_ctor_get(x_257, 1); +lean_inc(x_371); +lean_dec(x_257); +x_372 = l_Nat_repr(x_371); +x_373 = l_Lean_numLitKind; +x_374 = l_Lean_mkStxLit(x_373, x_372, x_303); +x_375 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_376 = lean_array_push(x_375, x_370); +x_377 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_378 = lean_array_push(x_376, x_377); +x_379 = lean_array_push(x_378, x_374); +x_380 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_380); +lean_ctor_set(x_381, 1, x_379); +x_382 = lean_array_push(x_375, x_338); +x_383 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_384 = lean_array_push(x_382, x_383); +x_385 = lean_array_push(x_384, x_381); +x_386 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_386); +lean_ctor_set(x_387, 1, x_385); +x_388 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_389 = lean_array_push(x_388, x_387); +x_390 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_391 = lean_array_push(x_389, x_390); +x_392 = lean_array_push(x_391, x_293); +x_393 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_394 = lean_array_push(x_392, x_393); +x_395 = lean_array_push(x_394, x_301); +x_396 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_399 = lean_array_push(x_398, x_255); +x_400 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_401 = lean_array_push(x_399, x_400); +x_402 = lean_array_push(x_401, x_397); +x_403 = l_Lean_Parser_Term_let___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_299, 0, x_404); +return x_299; } else { -lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -lean_dec(x_228); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -x_385 = lean_ctor_get(x_338, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_338, 1); -lean_inc(x_386); -if (lean_is_exclusive(x_338)) { - lean_ctor_release(x_338, 0); - lean_ctor_release(x_338, 1); - x_387 = x_338; -} else { - lean_dec_ref(x_338); - x_387 = lean_box(0); -} -if (lean_is_scalar(x_387)) { - x_388 = lean_alloc_ctor(1, 2, 0); -} else { - x_388 = x_387; -} -lean_ctor_set(x_388, 0, x_385); -lean_ctor_set(x_388, 1, x_386); -return x_388; -} -} -} -else -{ -uint8_t x_389; -lean_dec(x_224); -lean_dec(x_223); -lean_dec(x_222); -lean_dec(x_221); -lean_dec(x_220); -lean_dec(x_219); -lean_dec(x_218); -lean_dec(x_217); -lean_dec(x_216); -lean_dec(x_206); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -lean_dec(x_2); -x_389 = !lean_is_exclusive(x_226); -if (x_389 == 0) -{ -return x_226; -} -else -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_390 = lean_ctor_get(x_226, 0); -x_391 = lean_ctor_get(x_226, 1); -lean_inc(x_391); -lean_inc(x_390); -lean_dec(x_226); -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -return x_392; -} -} -} -else -{ -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; uint8_t x_402; lean_object* x_403; lean_object* x_404; -x_393 = lean_ctor_get(x_4, 0); -x_394 = lean_ctor_get(x_4, 1); -x_395 = lean_ctor_get(x_4, 2); -x_396 = lean_ctor_get(x_4, 3); -x_397 = lean_ctor_get(x_4, 4); -x_398 = lean_ctor_get(x_4, 5); -x_399 = lean_ctor_get(x_4, 6); -x_400 = lean_ctor_get(x_4, 7); -x_401 = lean_ctor_get(x_4, 8); -x_402 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_401); -lean_inc(x_400); -lean_inc(x_399); -lean_inc(x_398); -lean_inc(x_397); -lean_inc(x_396); -lean_inc(x_395); -lean_inc(x_394); -lean_inc(x_393); -lean_dec(x_4); -lean_inc(x_401); -lean_ctor_set(x_3, 1, x_401); -lean_ctor_set(x_3, 0, x_212); -lean_inc(x_400); -lean_inc(x_399); -lean_inc(x_398); -lean_inc(x_397); -lean_inc(x_396); -lean_inc(x_395); -lean_inc(x_394); -lean_inc(x_393); -x_403 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_403, 0, x_393); -lean_ctor_set(x_403, 1, x_394); -lean_ctor_set(x_403, 2, x_395); -lean_ctor_set(x_403, 3, x_396); -lean_ctor_set(x_403, 4, x_397); -lean_ctor_set(x_403, 5, x_398); -lean_ctor_set(x_403, 6, x_399); -lean_ctor_set(x_403, 7, x_400); -lean_ctor_set(x_403, 8, x_3); -lean_ctor_set_uint8(x_403, sizeof(void*)*9, x_402); -x_404 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_210, x_204, x_403, x_205); -if (lean_obj_tag(x_404) == 0) -{ -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; -x_405 = lean_ctor_get(x_404, 1); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 0); +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_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; +x_405 = lean_ctor_get(x_299, 0); +x_406 = lean_ctor_get(x_299, 1); lean_inc(x_406); -lean_dec(x_404); -x_407 = lean_ctor_get(x_405, 0); +lean_inc(x_405); +lean_dec(x_299); +x_407 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_289); +lean_dec(x_289); +x_408 = lean_box(0); +x_409 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; lean_inc(x_407); -x_408 = lean_ctor_get(x_405, 1); -lean_inc(x_408); -x_409 = lean_ctor_get(x_405, 2); -lean_inc(x_409); -x_410 = lean_ctor_get(x_405, 3); -lean_inc(x_410); -x_411 = lean_ctor_get(x_405, 4); -lean_inc(x_411); -x_412 = lean_ctor_get(x_405, 5); +x_410 = lean_name_mk_numeral(x_409, x_407); +x_411 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_412 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_412, 0, x_408); +lean_ctor_set(x_412, 1, x_411); +lean_ctor_set(x_412, 2, x_410); +lean_ctor_set(x_412, 3, x_266); +x_413 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_inc(x_412); -if (lean_is_exclusive(x_405)) { - lean_ctor_release(x_405, 0); - lean_ctor_release(x_405, 1); - lean_ctor_release(x_405, 2); - lean_ctor_release(x_405, 3); - lean_ctor_release(x_405, 4); - lean_ctor_release(x_405, 5); - x_413 = x_405; -} else { - lean_dec_ref(x_405); - x_413 = lean_box(0); -} -x_414 = lean_nat_add(x_412, x_213); -if (lean_is_scalar(x_413)) { - x_415 = lean_alloc_ctor(0, 6, 0); -} else { - x_415 = x_413; -} -lean_ctor_set(x_415, 0, x_407); -lean_ctor_set(x_415, 1, x_408); -lean_ctor_set(x_415, 2, x_409); -lean_ctor_set(x_415, 3, x_410); -lean_ctor_set(x_415, 4, x_411); -lean_ctor_set(x_415, 5, x_414); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_412); -lean_ctor_set(x_416, 1, x_401); -x_417 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_417, 0, x_393); -lean_ctor_set(x_417, 1, x_394); -lean_ctor_set(x_417, 2, x_395); -lean_ctor_set(x_417, 3, x_396); -lean_ctor_set(x_417, 4, x_397); -lean_ctor_set(x_417, 5, x_398); -lean_ctor_set(x_417, 6, x_399); -lean_ctor_set(x_417, 7, x_400); -lean_ctor_set(x_417, 8, x_416); -lean_ctor_set_uint8(x_417, sizeof(void*)*9, x_402); -x_418 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_206, x_417, x_415); -if (lean_obj_tag(x_418) == 0) -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_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; -x_419 = lean_ctor_get(x_418, 0); -lean_inc(x_419); -x_420 = lean_ctor_get(x_418, 1); -lean_inc(x_420); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_421 = x_418; -} else { - lean_dec_ref(x_418); - x_421 = lean_box(0); -} -x_422 = lean_box(0); -x_423 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_424 = lean_array_push(x_423, x_17); -x_425 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_424); -lean_ctor_set(x_190, 0, x_425); -x_426 = lean_ctor_get(x_192, 0); -lean_inc(x_426); -x_427 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_426); -x_428 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_429 = lean_array_push(x_428, x_427); -x_430 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_414 = lean_array_push(x_413, x_412); +x_415 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_416 = lean_array_push(x_414, x_415); +x_417 = lean_array_push(x_416, x_415); +x_418 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_419 = lean_array_push(x_417, x_418); +x_420 = lean_array_push(x_419, x_17); +x_421 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_420); +lean_ctor_set(x_255, 0, x_421); +x_422 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_407); +x_423 = lean_name_mk_numeral(x_422, x_407); +x_424 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_425 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_426 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_426, 0, x_408); +lean_ctor_set(x_426, 1, x_424); +lean_ctor_set(x_426, 2, x_423); +lean_ctor_set(x_426, 3, x_425); +x_427 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_428 = lean_array_push(x_427, x_426); +x_429 = lean_array_push(x_428, x_415); +x_430 = l_Lean_Parser_Term_id___elambda__1___closed__4; x_431 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_431, 0, x_430); lean_ctor_set(x_431, 1, x_429); -x_432 = lean_ctor_get(x_192, 1); -lean_inc(x_432); -lean_dec(x_192); -x_433 = l_Nat_repr(x_432); -x_434 = l_Lean_numLitKind; -x_435 = l_Lean_mkStxLit(x_434, x_433, x_422); -x_436 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_437 = lean_array_push(x_436, x_435); -x_438 = l_Lean_Parser_Term_beq___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); -x_440 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_441 = lean_array_push(x_440, x_431); -x_442 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_443 = lean_array_push(x_441, x_442); -x_444 = lean_array_push(x_443, x_439); -x_445 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_444); -x_447 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_448 = lean_array_push(x_447, x_446); -x_449 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_450 = lean_array_push(x_448, x_449); -x_451 = lean_array_push(x_450, x_406); -x_452 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_453 = lean_array_push(x_451, x_452); -x_454 = lean_array_push(x_453, x_419); -x_455 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_455); +x_432 = lean_array_push(x_427, x_412); +x_433 = lean_array_push(x_432, x_415); +x_434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_434, 0, x_430); +lean_ctor_set(x_434, 1, x_433); +x_435 = lean_array_push(x_427, x_431); +lean_inc(x_434); +x_436 = lean_array_push(x_435, x_434); +x_437 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_438, 0, x_437); +lean_ctor_set(x_438, 1, x_436); +x_439 = lean_ctor_get(x_257, 0); +lean_inc(x_439); +x_440 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_439); +x_441 = lean_array_push(x_427, x_438); +x_442 = lean_array_push(x_441, x_440); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_437); +lean_ctor_set(x_443, 1, x_442); +x_444 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_407); +x_445 = lean_name_mk_numeral(x_444, x_407); +x_446 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_447 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_448 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_448, 0, x_408); +lean_ctor_set(x_448, 1, x_446); +lean_ctor_set(x_448, 2, x_445); +lean_ctor_set(x_448, 3, x_447); +x_449 = lean_array_push(x_427, x_448); +x_450 = lean_array_push(x_449, x_415); +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_430); +lean_ctor_set(x_451, 1, x_450); +x_452 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_453 = lean_name_mk_numeral(x_452, x_407); +x_454 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_455 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_456 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_456, 0, x_408); lean_ctor_set(x_456, 1, x_454); -x_457 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_458 = lean_array_push(x_457, x_190); -x_459 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_460 = lean_array_push(x_458, x_459); -x_461 = lean_array_push(x_460, x_456); -x_462 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -if (lean_is_scalar(x_421)) { - x_464 = lean_alloc_ctor(0, 2, 0); -} else { - x_464 = x_421; -} -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_420); -return x_464; -} -else -{ -lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; -lean_dec(x_406); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -x_465 = lean_ctor_get(x_418, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_418, 1); -lean_inc(x_466); -if (lean_is_exclusive(x_418)) { - lean_ctor_release(x_418, 0); - lean_ctor_release(x_418, 1); - x_467 = x_418; -} else { - lean_dec_ref(x_418); - x_467 = lean_box(0); -} -if (lean_is_scalar(x_467)) { - x_468 = lean_alloc_ctor(1, 2, 0); -} else { - x_468 = x_467; -} -lean_ctor_set(x_468, 0, x_465); -lean_ctor_set(x_468, 1, x_466); -return x_468; -} -} -else -{ -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_398); -lean_dec(x_397); -lean_dec(x_396); -lean_dec(x_395); -lean_dec(x_394); -lean_dec(x_393); -lean_dec(x_206); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -lean_dec(x_2); -x_469 = lean_ctor_get(x_404, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_404, 1); -lean_inc(x_470); -if (lean_is_exclusive(x_404)) { - lean_ctor_release(x_404, 0); - lean_ctor_release(x_404, 1); - x_471 = x_404; -} else { - lean_dec_ref(x_404); - x_471 = lean_box(0); -} -if (lean_is_scalar(x_471)) { - x_472 = lean_alloc_ctor(1, 2, 0); -} else { - x_472 = x_471; -} -lean_ctor_set(x_472, 0, x_469); +lean_ctor_set(x_456, 2, x_453); +lean_ctor_set(x_456, 3, x_455); +x_457 = lean_array_push(x_427, x_456); +x_458 = lean_array_push(x_457, x_415); +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_430); +lean_ctor_set(x_459, 1, x_458); +x_460 = lean_array_push(x_427, x_459); +x_461 = lean_array_push(x_460, x_434); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_437); +lean_ctor_set(x_462, 1, x_461); +x_463 = lean_array_push(x_427, x_462); +x_464 = lean_array_push(x_463, x_415); +x_465 = l_Lean_nullKind___closed__2; +x_466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_464); +x_467 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_468 = lean_array_push(x_467, x_466); +x_469 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_470 = lean_array_push(x_468, x_469); +x_471 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_471); lean_ctor_set(x_472, 1, x_470); -return x_472; +x_473 = lean_array_push(x_427, x_451); +x_474 = lean_array_push(x_473, x_472); +x_475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_475, 0, x_437); +lean_ctor_set(x_475, 1, x_474); +x_476 = lean_ctor_get(x_257, 1); +lean_inc(x_476); +lean_dec(x_257); +x_477 = l_Nat_repr(x_476); +x_478 = l_Lean_numLitKind; +x_479 = l_Lean_mkStxLit(x_478, x_477, x_408); +x_480 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_481 = lean_array_push(x_480, x_475); +x_482 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_483 = lean_array_push(x_481, x_482); +x_484 = lean_array_push(x_483, x_479); +x_485 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_485); +lean_ctor_set(x_486, 1, x_484); +x_487 = lean_array_push(x_480, x_443); +x_488 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_489 = lean_array_push(x_487, x_488); +x_490 = lean_array_push(x_489, x_486); +x_491 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_490); +x_493 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_494 = lean_array_push(x_493, x_492); +x_495 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_496 = lean_array_push(x_494, x_495); +x_497 = lean_array_push(x_496, x_293); +x_498 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_499 = lean_array_push(x_497, x_498); +x_500 = lean_array_push(x_499, x_405); +x_501 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_500); +x_503 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_504 = lean_array_push(x_503, x_255); +x_505 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_506 = lean_array_push(x_504, x_505); +x_507 = lean_array_push(x_506, x_502); +x_508 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_509 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_509, 0, x_508); +lean_ctor_set(x_509, 1, x_507); +x_510 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_406); +return x_510; +} +} +else +{ +uint8_t x_511; +lean_dec(x_293); +lean_dec(x_289); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +x_511 = !lean_is_exclusive(x_299); +if (x_511 == 0) +{ +return x_299; +} +else +{ +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_299, 0); +x_513 = lean_ctor_get(x_299, 1); +lean_inc(x_513); +lean_inc(x_512); +lean_dec(x_299); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_512); +lean_ctor_set(x_514, 1, x_513); +return x_514; } } } else { -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; uint8_t x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_473 = lean_ctor_get(x_205, 0); -x_474 = lean_ctor_get(x_205, 1); -x_475 = lean_ctor_get(x_205, 2); -x_476 = lean_ctor_get(x_205, 3); -x_477 = lean_ctor_get(x_205, 4); -x_478 = lean_ctor_get(x_205, 5); -lean_inc(x_478); -lean_inc(x_477); -lean_inc(x_476); -lean_inc(x_475); -lean_inc(x_474); -lean_inc(x_473); -lean_dec(x_205); -x_479 = lean_unsigned_to_nat(1u); -x_480 = lean_nat_add(x_478, x_479); -x_481 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_481, 0, x_473); -lean_ctor_set(x_481, 1, x_474); -lean_ctor_set(x_481, 2, x_475); -lean_ctor_set(x_481, 3, x_476); -lean_ctor_set(x_481, 4, x_477); -lean_ctor_set(x_481, 5, x_480); -x_482 = lean_ctor_get(x_4, 0); -lean_inc(x_482); -x_483 = lean_ctor_get(x_4, 1); -lean_inc(x_483); -x_484 = lean_ctor_get(x_4, 2); -lean_inc(x_484); -x_485 = lean_ctor_get(x_4, 3); -lean_inc(x_485); -x_486 = lean_ctor_get(x_4, 4); -lean_inc(x_486); -x_487 = lean_ctor_get(x_4, 5); -lean_inc(x_487); -x_488 = lean_ctor_get(x_4, 6); -lean_inc(x_488); -x_489 = lean_ctor_get(x_4, 7); -lean_inc(x_489); -x_490 = lean_ctor_get(x_4, 8); -lean_inc(x_490); -x_491 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_492 = x_4; -} else { - lean_dec_ref(x_4); - x_492 = lean_box(0); -} -lean_inc(x_490); -lean_ctor_set(x_3, 1, x_490); -lean_ctor_set(x_3, 0, x_478); -lean_inc(x_489); -lean_inc(x_488); -lean_inc(x_487); -lean_inc(x_486); -lean_inc(x_485); -lean_inc(x_484); -lean_inc(x_483); -lean_inc(x_482); -if (lean_is_scalar(x_492)) { - x_493 = lean_alloc_ctor(0, 9, 1); -} else { - x_493 = x_492; -} -lean_ctor_set(x_493, 0, x_482); -lean_ctor_set(x_493, 1, x_483); -lean_ctor_set(x_493, 2, x_484); -lean_ctor_set(x_493, 3, x_485); -lean_ctor_set(x_493, 4, x_486); -lean_ctor_set(x_493, 5, x_487); -lean_ctor_set(x_493, 6, x_488); -lean_ctor_set(x_493, 7, x_489); -lean_ctor_set(x_493, 8, x_3); -lean_ctor_set_uint8(x_493, sizeof(void*)*9, x_491); -x_494 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_210, x_204, x_493, x_481); -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; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_495 = lean_ctor_get(x_494, 1); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 0); -lean_inc(x_496); -lean_dec(x_494); -x_497 = lean_ctor_get(x_495, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_495, 1); -lean_inc(x_498); -x_499 = lean_ctor_get(x_495, 2); -lean_inc(x_499); -x_500 = lean_ctor_get(x_495, 3); -lean_inc(x_500); -x_501 = lean_ctor_get(x_495, 4); -lean_inc(x_501); -x_502 = lean_ctor_get(x_495, 5); -lean_inc(x_502); -if (lean_is_exclusive(x_495)) { - lean_ctor_release(x_495, 0); - lean_ctor_release(x_495, 1); - lean_ctor_release(x_495, 2); - lean_ctor_release(x_495, 3); - lean_ctor_release(x_495, 4); - lean_ctor_release(x_495, 5); - x_503 = x_495; -} else { - lean_dec_ref(x_495); - x_503 = lean_box(0); -} -x_504 = lean_nat_add(x_502, x_479); -if (lean_is_scalar(x_503)) { - x_505 = lean_alloc_ctor(0, 6, 0); -} else { - x_505 = x_503; -} -lean_ctor_set(x_505, 0, x_497); -lean_ctor_set(x_505, 1, x_498); -lean_ctor_set(x_505, 2, x_499); -lean_ctor_set(x_505, 3, x_500); -lean_ctor_set(x_505, 4, x_501); -lean_ctor_set(x_505, 5, x_504); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_502); -lean_ctor_set(x_506, 1, x_490); -x_507 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_507, 0, x_482); -lean_ctor_set(x_507, 1, x_483); -lean_ctor_set(x_507, 2, x_484); -lean_ctor_set(x_507, 3, x_485); -lean_ctor_set(x_507, 4, x_486); -lean_ctor_set(x_507, 5, x_487); -lean_ctor_set(x_507, 6, x_488); -lean_ctor_set(x_507, 7, x_489); -lean_ctor_set(x_507, 8, x_506); -lean_ctor_set_uint8(x_507, sizeof(void*)*9, x_491); -x_508 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_206, x_507, x_505); -if (lean_obj_tag(x_508) == 0) -{ -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; -x_509 = lean_ctor_get(x_508, 0); -lean_inc(x_509); -x_510 = lean_ctor_get(x_508, 1); -lean_inc(x_510); -if (lean_is_exclusive(x_508)) { - lean_ctor_release(x_508, 0); - lean_ctor_release(x_508, 1); - x_511 = x_508; -} else { - lean_dec_ref(x_508); - x_511 = lean_box(0); -} -x_512 = lean_box(0); -x_513 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_514 = lean_array_push(x_513, x_17); -x_515 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_514); -lean_ctor_set(x_190, 0, x_515); -x_516 = lean_ctor_get(x_192, 0); +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; +x_515 = lean_ctor_get(x_292, 0); +x_516 = lean_ctor_get(x_292, 1); +x_517 = lean_ctor_get(x_292, 2); +x_518 = lean_ctor_get(x_292, 3); +x_519 = lean_ctor_get(x_292, 4); +x_520 = lean_ctor_get(x_292, 5); +lean_inc(x_520); +lean_inc(x_519); +lean_inc(x_518); +lean_inc(x_517); lean_inc(x_516); -x_517 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_516); -x_518 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_519 = lean_array_push(x_518, x_517); -x_520 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_519); -x_522 = lean_ctor_get(x_192, 1); -lean_inc(x_522); -lean_dec(x_192); -x_523 = l_Nat_repr(x_522); -x_524 = l_Lean_numLitKind; -x_525 = l_Lean_mkStxLit(x_524, x_523, x_512); -x_526 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_527 = lean_array_push(x_526, x_525); -x_528 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_527); -x_530 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_531 = lean_array_push(x_530, x_521); -x_532 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_533 = lean_array_push(x_531, x_532); -x_534 = lean_array_push(x_533, x_529); -x_535 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_534); -x_537 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_538 = lean_array_push(x_537, x_536); -x_539 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_540 = lean_array_push(x_538, x_539); -x_541 = lean_array_push(x_540, x_496); -x_542 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_543 = lean_array_push(x_541, x_542); -x_544 = lean_array_push(x_543, x_509); -x_545 = l_Lean_Parser_Term_if___elambda__1___rarg___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___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_548 = lean_array_push(x_547, x_190); -x_549 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_550 = lean_array_push(x_548, x_549); -x_551 = lean_array_push(x_550, x_546); -x_552 = l_Lean_Parser_Term_let___elambda__1___closed__2; +lean_inc(x_515); +lean_dec(x_292); +x_521 = lean_nat_add(x_520, x_278); +x_522 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_522, 0, x_515); +lean_ctor_set(x_522, 1, x_516); +lean_ctor_set(x_522, 2, x_517); +lean_ctor_set(x_522, 3, x_518); +lean_ctor_set(x_522, 4, x_519); +lean_ctor_set(x_522, 5, x_521); +lean_inc(x_289); +x_523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_523, 0, x_520); +lean_ctor_set(x_523, 1, x_289); +x_524 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_524, 0, x_281); +lean_ctor_set(x_524, 1, x_282); +lean_ctor_set(x_524, 2, x_283); +lean_ctor_set(x_524, 3, x_284); +lean_ctor_set(x_524, 4, x_285); +lean_ctor_set(x_524, 5, x_286); +lean_ctor_set(x_524, 6, x_287); +lean_ctor_set(x_524, 7, x_288); +lean_ctor_set(x_524, 8, x_523); +lean_ctor_set_uint8(x_524, sizeof(void*)*9, x_290); +x_525 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_271, x_524, x_522); +if (lean_obj_tag(x_525) == 0) +{ +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; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; +x_526 = lean_ctor_get(x_525, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_525, 1); +lean_inc(x_527); +if (lean_is_exclusive(x_525)) { + lean_ctor_release(x_525, 0); + lean_ctor_release(x_525, 1); + x_528 = x_525; +} else { + lean_dec_ref(x_525); + x_528 = lean_box(0); +} +x_529 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_289); +lean_dec(x_289); +x_530 = lean_box(0); +x_531 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_529); +x_532 = lean_name_mk_numeral(x_531, x_529); +x_533 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_534 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_534, 0, x_530); +lean_ctor_set(x_534, 1, x_533); +lean_ctor_set(x_534, 2, x_532); +lean_ctor_set(x_534, 3, x_266); +x_535 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_534); +x_536 = lean_array_push(x_535, x_534); +x_537 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_538 = lean_array_push(x_536, x_537); +x_539 = lean_array_push(x_538, x_537); +x_540 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_541 = lean_array_push(x_539, x_540); +x_542 = lean_array_push(x_541, x_17); +x_543 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_542); +lean_ctor_set(x_255, 0, x_543); +x_544 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_529); +x_545 = lean_name_mk_numeral(x_544, x_529); +x_546 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_547 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_548 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_548, 0, x_530); +lean_ctor_set(x_548, 1, x_546); +lean_ctor_set(x_548, 2, x_545); +lean_ctor_set(x_548, 3, x_547); +x_549 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_550 = lean_array_push(x_549, x_548); +x_551 = lean_array_push(x_550, x_537); +x_552 = l_Lean_Parser_Term_id___elambda__1___closed__4; x_553 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_553, 0, x_552); lean_ctor_set(x_553, 1, x_551); -if (lean_is_scalar(x_511)) { - x_554 = lean_alloc_ctor(0, 2, 0); -} else { - x_554 = x_511; -} -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_510); -return x_554; -} -else -{ -lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_496); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -x_555 = lean_ctor_get(x_508, 0); -lean_inc(x_555); -x_556 = lean_ctor_get(x_508, 1); +x_554 = lean_array_push(x_549, x_534); +x_555 = lean_array_push(x_554, x_537); +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_552); +lean_ctor_set(x_556, 1, x_555); +x_557 = lean_array_push(x_549, x_553); lean_inc(x_556); -if (lean_is_exclusive(x_508)) { - lean_ctor_release(x_508, 0); - lean_ctor_release(x_508, 1); - x_557 = x_508; -} else { - lean_dec_ref(x_508); - x_557 = lean_box(0); -} -if (lean_is_scalar(x_557)) { - x_558 = lean_alloc_ctor(1, 2, 0); -} else { - x_558 = x_557; -} -lean_ctor_set(x_558, 0, x_555); -lean_ctor_set(x_558, 1, x_556); -return x_558; -} -} -else -{ -lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; -lean_dec(x_490); -lean_dec(x_489); -lean_dec(x_488); -lean_dec(x_487); -lean_dec(x_486); -lean_dec(x_485); -lean_dec(x_484); -lean_dec(x_483); -lean_dec(x_482); -lean_dec(x_206); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -lean_dec(x_2); -x_559 = lean_ctor_get(x_494, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_494, 1); -lean_inc(x_560); -if (lean_is_exclusive(x_494)) { - lean_ctor_release(x_494, 0); - lean_ctor_release(x_494, 1); - x_561 = x_494; -} else { - lean_dec_ref(x_494); - x_561 = lean_box(0); -} -if (lean_is_scalar(x_561)) { - x_562 = lean_alloc_ctor(1, 2, 0); -} else { - x_562 = x_561; -} -lean_ctor_set(x_562, 0, x_559); -lean_ctor_set(x_562, 1, x_560); -return x_562; -} -} -} -else -{ -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; uint8_t x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; -lean_dec(x_3); -x_563 = l_List_append___rarg(x_199, x_18); -x_564 = lean_ctor_get(x_205, 0); -lean_inc(x_564); -x_565 = lean_ctor_get(x_205, 1); -lean_inc(x_565); -x_566 = lean_ctor_get(x_205, 2); -lean_inc(x_566); -x_567 = lean_ctor_get(x_205, 3); -lean_inc(x_567); -x_568 = lean_ctor_get(x_205, 4); -lean_inc(x_568); -x_569 = lean_ctor_get(x_205, 5); -lean_inc(x_569); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - lean_ctor_release(x_205, 2); - lean_ctor_release(x_205, 3); - lean_ctor_release(x_205, 4); - lean_ctor_release(x_205, 5); - x_570 = x_205; -} else { - lean_dec_ref(x_205); - x_570 = lean_box(0); -} -x_571 = lean_unsigned_to_nat(1u); -x_572 = lean_nat_add(x_569, x_571); -if (lean_is_scalar(x_570)) { - x_573 = lean_alloc_ctor(0, 6, 0); -} else { - x_573 = x_570; -} -lean_ctor_set(x_573, 0, x_564); -lean_ctor_set(x_573, 1, x_565); -lean_ctor_set(x_573, 2, x_566); -lean_ctor_set(x_573, 3, x_567); -lean_ctor_set(x_573, 4, x_568); -lean_ctor_set(x_573, 5, x_572); -x_574 = lean_ctor_get(x_4, 0); -lean_inc(x_574); -x_575 = lean_ctor_get(x_4, 1); -lean_inc(x_575); -x_576 = lean_ctor_get(x_4, 2); -lean_inc(x_576); -x_577 = lean_ctor_get(x_4, 3); -lean_inc(x_577); -x_578 = lean_ctor_get(x_4, 4); -lean_inc(x_578); -x_579 = lean_ctor_get(x_4, 5); -lean_inc(x_579); -x_580 = lean_ctor_get(x_4, 6); -lean_inc(x_580); -x_581 = lean_ctor_get(x_4, 7); -lean_inc(x_581); -x_582 = lean_ctor_get(x_4, 8); -lean_inc(x_582); -x_583 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_584 = x_4; -} else { - lean_dec_ref(x_4); - x_584 = lean_box(0); -} -lean_inc(x_582); -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_569); -lean_ctor_set(x_585, 1, x_582); -lean_inc(x_581); -lean_inc(x_580); -lean_inc(x_579); -lean_inc(x_578); -lean_inc(x_577); -lean_inc(x_576); -lean_inc(x_575); -lean_inc(x_574); -if (lean_is_scalar(x_584)) { - x_586 = lean_alloc_ctor(0, 9, 1); -} else { - x_586 = x_584; -} -lean_ctor_set(x_586, 0, x_574); -lean_ctor_set(x_586, 1, x_575); -lean_ctor_set(x_586, 2, x_576); -lean_ctor_set(x_586, 3, x_577); -lean_ctor_set(x_586, 4, x_578); -lean_ctor_set(x_586, 5, x_579); -lean_ctor_set(x_586, 6, x_580); -lean_ctor_set(x_586, 7, x_581); -lean_ctor_set(x_586, 8, x_585); -lean_ctor_set_uint8(x_586, sizeof(void*)*9, x_583); -x_587 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_563, x_204, x_586, x_573); -if (lean_obj_tag(x_587) == 0) -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_588 = lean_ctor_get(x_587, 1); -lean_inc(x_588); -x_589 = lean_ctor_get(x_587, 0); -lean_inc(x_589); -lean_dec(x_587); -x_590 = lean_ctor_get(x_588, 0); -lean_inc(x_590); -x_591 = lean_ctor_get(x_588, 1); -lean_inc(x_591); -x_592 = lean_ctor_get(x_588, 2); -lean_inc(x_592); -x_593 = lean_ctor_get(x_588, 3); -lean_inc(x_593); -x_594 = lean_ctor_get(x_588, 4); -lean_inc(x_594); -x_595 = lean_ctor_get(x_588, 5); -lean_inc(x_595); -if (lean_is_exclusive(x_588)) { - lean_ctor_release(x_588, 0); - lean_ctor_release(x_588, 1); - lean_ctor_release(x_588, 2); - lean_ctor_release(x_588, 3); - lean_ctor_release(x_588, 4); - lean_ctor_release(x_588, 5); - x_596 = x_588; -} else { - lean_dec_ref(x_588); - x_596 = lean_box(0); -} -x_597 = lean_nat_add(x_595, x_571); -if (lean_is_scalar(x_596)) { - x_598 = lean_alloc_ctor(0, 6, 0); -} else { - x_598 = x_596; -} -lean_ctor_set(x_598, 0, x_590); -lean_ctor_set(x_598, 1, x_591); -lean_ctor_set(x_598, 2, x_592); -lean_ctor_set(x_598, 3, x_593); -lean_ctor_set(x_598, 4, x_594); -lean_ctor_set(x_598, 5, x_597); -x_599 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_599, 0, x_595); -lean_ctor_set(x_599, 1, x_582); -x_600 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_600, 0, x_574); -lean_ctor_set(x_600, 1, x_575); -lean_ctor_set(x_600, 2, x_576); -lean_ctor_set(x_600, 3, x_577); -lean_ctor_set(x_600, 4, x_578); -lean_ctor_set(x_600, 5, x_579); -lean_ctor_set(x_600, 6, x_580); -lean_ctor_set(x_600, 7, x_581); -lean_ctor_set(x_600, 8, x_599); -lean_ctor_set_uint8(x_600, sizeof(void*)*9, x_583); -x_601 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_206, x_600, x_598); -if (lean_obj_tag(x_601) == 0) -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; -x_602 = lean_ctor_get(x_601, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_601, 1); -lean_inc(x_603); -if (lean_is_exclusive(x_601)) { - lean_ctor_release(x_601, 0); - lean_ctor_release(x_601, 1); - x_604 = x_601; -} else { - lean_dec_ref(x_601); - x_604 = lean_box(0); -} -x_605 = lean_box(0); -x_606 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_607 = lean_array_push(x_606, x_17); -x_608 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -lean_ctor_set(x_190, 1, x_607); -lean_ctor_set(x_190, 0, x_608); -x_609 = lean_ctor_get(x_192, 0); -lean_inc(x_609); -x_610 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_609); -x_611 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_612 = lean_array_push(x_611, x_610); -x_613 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_558 = lean_array_push(x_557, x_556); +x_559 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_560 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_560, 0, x_559); +lean_ctor_set(x_560, 1, x_558); +x_561 = lean_ctor_get(x_257, 0); +lean_inc(x_561); +x_562 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_561); +x_563 = lean_array_push(x_549, x_560); +x_564 = lean_array_push(x_563, x_562); +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_559); +lean_ctor_set(x_565, 1, x_564); +x_566 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_529); +x_567 = lean_name_mk_numeral(x_566, x_529); +x_568 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_569 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_570 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_570, 0, x_530); +lean_ctor_set(x_570, 1, x_568); +lean_ctor_set(x_570, 2, x_567); +lean_ctor_set(x_570, 3, x_569); +x_571 = lean_array_push(x_549, x_570); +x_572 = lean_array_push(x_571, x_537); +x_573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_573, 0, x_552); +lean_ctor_set(x_573, 1, x_572); +x_574 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_575 = lean_name_mk_numeral(x_574, x_529); +x_576 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_577 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_578 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_578, 0, x_530); +lean_ctor_set(x_578, 1, x_576); +lean_ctor_set(x_578, 2, x_575); +lean_ctor_set(x_578, 3, x_577); +x_579 = lean_array_push(x_549, x_578); +x_580 = lean_array_push(x_579, x_537); +x_581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_581, 0, x_552); +lean_ctor_set(x_581, 1, x_580); +x_582 = lean_array_push(x_549, x_581); +x_583 = lean_array_push(x_582, x_556); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_559); +lean_ctor_set(x_584, 1, x_583); +x_585 = lean_array_push(x_549, x_584); +x_586 = lean_array_push(x_585, x_537); +x_587 = l_Lean_nullKind___closed__2; +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_587); +lean_ctor_set(x_588, 1, x_586); +x_589 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_590 = lean_array_push(x_589, x_588); +x_591 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_592 = lean_array_push(x_590, x_591); +x_593 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_592); +x_595 = lean_array_push(x_549, x_573); +x_596 = lean_array_push(x_595, x_594); +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_559); +lean_ctor_set(x_597, 1, x_596); +x_598 = lean_ctor_get(x_257, 1); +lean_inc(x_598); +lean_dec(x_257); +x_599 = l_Nat_repr(x_598); +x_600 = l_Lean_numLitKind; +x_601 = l_Lean_mkStxLit(x_600, x_599, x_530); +x_602 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_603 = lean_array_push(x_602, x_597); +x_604 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_605 = lean_array_push(x_603, x_604); +x_606 = lean_array_push(x_605, x_601); +x_607 = l_Lean_Parser_Term_beq___elambda__1___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 = lean_array_push(x_602, x_565); +x_610 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_611 = lean_array_push(x_609, x_610); +x_612 = lean_array_push(x_611, x_608); +x_613 = l_Lean_Parser_Term_band___elambda__1___closed__2; x_614 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_614, 0, x_613); lean_ctor_set(x_614, 1, x_612); -x_615 = lean_ctor_get(x_192, 1); -lean_inc(x_615); -lean_dec(x_192); -x_616 = l_Nat_repr(x_615); -x_617 = l_Lean_numLitKind; -x_618 = l_Lean_mkStxLit(x_617, x_616, x_605); -x_619 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_620 = lean_array_push(x_619, x_618); -x_621 = l_Lean_Parser_Term_beq___elambda__1___closed__2; -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_621); -lean_ctor_set(x_622, 1, x_620); -x_623 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_624 = lean_array_push(x_623, x_614); -x_625 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_626 = lean_array_push(x_624, x_625); -x_627 = lean_array_push(x_626, x_622); -x_628 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_628); -lean_ctor_set(x_629, 1, x_627); -x_630 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_631 = lean_array_push(x_630, x_629); -x_632 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_633 = lean_array_push(x_631, x_632); -x_634 = lean_array_push(x_633, x_589); -x_635 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_636 = lean_array_push(x_634, x_635); -x_637 = lean_array_push(x_636, x_602); -x_638 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; -x_639 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_639, 0, x_638); -lean_ctor_set(x_639, 1, x_637); -x_640 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_641 = lean_array_push(x_640, x_190); -x_642 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_643 = lean_array_push(x_641, x_642); -x_644 = lean_array_push(x_643, x_639); -x_645 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_645); -lean_ctor_set(x_646, 1, x_644); -if (lean_is_scalar(x_604)) { - x_647 = lean_alloc_ctor(0, 2, 0); +x_615 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_616 = lean_array_push(x_615, x_614); +x_617 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_618 = lean_array_push(x_616, x_617); +x_619 = lean_array_push(x_618, x_293); +x_620 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_621 = lean_array_push(x_619, x_620); +x_622 = lean_array_push(x_621, x_526); +x_623 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_624 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_624, 0, x_623); +lean_ctor_set(x_624, 1, x_622); +x_625 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_626 = lean_array_push(x_625, x_255); +x_627 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_628 = lean_array_push(x_626, x_627); +x_629 = lean_array_push(x_628, x_624); +x_630 = l_Lean_Parser_Term_let___elambda__1___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); +if (lean_is_scalar(x_528)) { + x_632 = lean_alloc_ctor(0, 2, 0); } else { - x_647 = x_604; + x_632 = x_528; } -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_603); -return x_647; +lean_ctor_set(x_632, 0, x_631); +lean_ctor_set(x_632, 1, x_527); +return x_632; } else { -lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -lean_dec(x_589); -lean_free_object(x_190); -lean_dec(x_192); +lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; +lean_dec(x_293); +lean_dec(x_289); +lean_free_object(x_255); +lean_dec(x_257); lean_dec(x_17); -x_648 = lean_ctor_get(x_601, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_601, 1); +x_633 = lean_ctor_get(x_525, 0); +lean_inc(x_633); +x_634 = lean_ctor_get(x_525, 1); +lean_inc(x_634); +if (lean_is_exclusive(x_525)) { + lean_ctor_release(x_525, 0); + lean_ctor_release(x_525, 1); + x_635 = x_525; +} else { + lean_dec_ref(x_525); + x_635 = lean_box(0); +} +if (lean_is_scalar(x_635)) { + x_636 = lean_alloc_ctor(1, 2, 0); +} else { + x_636 = x_635; +} +lean_ctor_set(x_636, 0, x_633); +lean_ctor_set(x_636, 1, x_634); +return x_636; +} +} +} +else +{ +uint8_t x_637; +lean_dec(x_289); +lean_dec(x_288); +lean_dec(x_287); +lean_dec(x_286); +lean_dec(x_285); +lean_dec(x_284); +lean_dec(x_283); +lean_dec(x_282); +lean_dec(x_281); +lean_dec(x_271); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +lean_dec(x_2); +x_637 = !lean_is_exclusive(x_291); +if (x_637 == 0) +{ +return x_291; +} +else +{ +lean_object* x_638; lean_object* x_639; lean_object* x_640; +x_638 = lean_ctor_get(x_291, 0); +x_639 = lean_ctor_get(x_291, 1); +lean_inc(x_639); +lean_inc(x_638); +lean_dec(x_291); +x_640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_640, 0, x_638); +lean_ctor_set(x_640, 1, x_639); +return x_640; +} +} +} +else +{ +lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; uint8_t x_650; lean_object* x_651; lean_object* x_652; +x_641 = lean_ctor_get(x_4, 0); +x_642 = lean_ctor_get(x_4, 1); +x_643 = lean_ctor_get(x_4, 2); +x_644 = lean_ctor_get(x_4, 3); +x_645 = lean_ctor_get(x_4, 4); +x_646 = lean_ctor_get(x_4, 5); +x_647 = lean_ctor_get(x_4, 6); +x_648 = lean_ctor_get(x_4, 7); +x_649 = lean_ctor_get(x_4, 8); +x_650 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); lean_inc(x_649); -if (lean_is_exclusive(x_601)) { - lean_ctor_release(x_601, 0); - lean_ctor_release(x_601, 1); - x_650 = x_601; -} else { - lean_dec_ref(x_601); - x_650 = lean_box(0); -} -if (lean_is_scalar(x_650)) { - x_651 = lean_alloc_ctor(1, 2, 0); -} else { - x_651 = x_650; -} -lean_ctor_set(x_651, 0, x_648); -lean_ctor_set(x_651, 1, x_649); -return x_651; -} -} -else -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; -lean_dec(x_582); -lean_dec(x_581); -lean_dec(x_580); -lean_dec(x_579); -lean_dec(x_578); -lean_dec(x_577); -lean_dec(x_576); -lean_dec(x_575); -lean_dec(x_574); -lean_dec(x_206); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_17); -lean_dec(x_2); -x_652 = lean_ctor_get(x_587, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_587, 1); -lean_inc(x_653); -if (lean_is_exclusive(x_587)) { - lean_ctor_release(x_587, 0); - lean_ctor_release(x_587, 1); - x_654 = x_587; -} else { - lean_dec_ref(x_587); - x_654 = lean_box(0); -} -if (lean_is_scalar(x_654)) { - x_655 = lean_alloc_ctor(1, 2, 0); -} else { - x_655 = x_654; -} -lean_ctor_set(x_655, 0, x_652); -lean_ctor_set(x_655, 1, x_653); -return x_655; -} -} -} -else -{ -uint8_t x_656; -lean_dec(x_199); -lean_free_object(x_190); -lean_dec(x_192); -lean_dec(x_18); -lean_dec(x_17); +lean_inc(x_648); +lean_inc(x_647); +lean_inc(x_646); +lean_inc(x_645); +lean_inc(x_644); +lean_inc(x_643); +lean_inc(x_642); +lean_inc(x_641); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_656 = !lean_is_exclusive(x_203); -if (x_656 == 0) +lean_inc(x_649); +lean_ctor_set(x_3, 1, x_649); +lean_ctor_set(x_3, 0, x_277); +lean_inc(x_648); +lean_inc(x_647); +lean_inc(x_646); +lean_inc(x_645); +lean_inc(x_644); +lean_inc(x_643); +lean_inc(x_642); +lean_inc(x_641); +x_651 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_651, 0, x_641); +lean_ctor_set(x_651, 1, x_642); +lean_ctor_set(x_651, 2, x_643); +lean_ctor_set(x_651, 3, x_644); +lean_ctor_set(x_651, 4, x_645); +lean_ctor_set(x_651, 5, x_646); +lean_ctor_set(x_651, 6, x_647); +lean_ctor_set(x_651, 7, x_648); +lean_ctor_set(x_651, 8, x_3); +lean_ctor_set_uint8(x_651, sizeof(void*)*9, x_650); +x_652 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_275, x_269, x_651, x_270); +if (lean_obj_tag(x_652) == 0) { -return x_203; -} -else -{ -lean_object* x_657; lean_object* x_658; lean_object* x_659; -x_657 = lean_ctor_get(x_203, 0); -x_658 = lean_ctor_get(x_203, 1); -lean_inc(x_658); +lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; +x_653 = lean_ctor_get(x_652, 1); +lean_inc(x_653); +x_654 = lean_ctor_get(x_652, 0); +lean_inc(x_654); +lean_dec(x_652); +x_655 = lean_ctor_get(x_653, 0); +lean_inc(x_655); +x_656 = lean_ctor_get(x_653, 1); +lean_inc(x_656); +x_657 = lean_ctor_get(x_653, 2); lean_inc(x_657); -lean_dec(x_203); -x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_657); -lean_ctor_set(x_659, 1, x_658); -return x_659; +x_658 = lean_ctor_get(x_653, 3); +lean_inc(x_658); +x_659 = lean_ctor_get(x_653, 4); +lean_inc(x_659); +x_660 = lean_ctor_get(x_653, 5); +lean_inc(x_660); +if (lean_is_exclusive(x_653)) { + lean_ctor_release(x_653, 0); + lean_ctor_release(x_653, 1); + lean_ctor_release(x_653, 2); + lean_ctor_release(x_653, 3); + lean_ctor_release(x_653, 4); + lean_ctor_release(x_653, 5); + x_661 = x_653; +} else { + lean_dec_ref(x_653); + x_661 = lean_box(0); +} +x_662 = lean_nat_add(x_660, x_278); +if (lean_is_scalar(x_661)) { + x_663 = lean_alloc_ctor(0, 6, 0); +} else { + x_663 = x_661; +} +lean_ctor_set(x_663, 0, x_655); +lean_ctor_set(x_663, 1, x_656); +lean_ctor_set(x_663, 2, x_657); +lean_ctor_set(x_663, 3, x_658); +lean_ctor_set(x_663, 4, x_659); +lean_ctor_set(x_663, 5, x_662); +lean_inc(x_649); +x_664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_664, 0, x_660); +lean_ctor_set(x_664, 1, x_649); +x_665 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_665, 0, x_641); +lean_ctor_set(x_665, 1, x_642); +lean_ctor_set(x_665, 2, x_643); +lean_ctor_set(x_665, 3, x_644); +lean_ctor_set(x_665, 4, x_645); +lean_ctor_set(x_665, 5, x_646); +lean_ctor_set(x_665, 6, x_647); +lean_ctor_set(x_665, 7, x_648); +lean_ctor_set(x_665, 8, x_664); +lean_ctor_set_uint8(x_665, sizeof(void*)*9, x_650); +x_666 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_271, x_665, x_663); +if (lean_obj_tag(x_666) == 0) +{ +lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_666, 1); +lean_inc(x_668); +if (lean_is_exclusive(x_666)) { + lean_ctor_release(x_666, 0); + lean_ctor_release(x_666, 1); + x_669 = x_666; +} else { + lean_dec_ref(x_666); + x_669 = lean_box(0); +} +x_670 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_649); +lean_dec(x_649); +x_671 = lean_box(0); +x_672 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_670); +x_673 = lean_name_mk_numeral(x_672, x_670); +x_674 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_675 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_675, 0, x_671); +lean_ctor_set(x_675, 1, x_674); +lean_ctor_set(x_675, 2, x_673); +lean_ctor_set(x_675, 3, x_266); +x_676 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_675); +x_677 = lean_array_push(x_676, x_675); +x_678 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_679 = lean_array_push(x_677, x_678); +x_680 = lean_array_push(x_679, x_678); +x_681 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_682 = lean_array_push(x_680, x_681); +x_683 = lean_array_push(x_682, x_17); +x_684 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_683); +lean_ctor_set(x_255, 0, x_684); +x_685 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_670); +x_686 = lean_name_mk_numeral(x_685, x_670); +x_687 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_688 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_689 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_689, 0, x_671); +lean_ctor_set(x_689, 1, x_687); +lean_ctor_set(x_689, 2, x_686); +lean_ctor_set(x_689, 3, x_688); +x_690 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_691 = lean_array_push(x_690, x_689); +x_692 = lean_array_push(x_691, x_678); +x_693 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_692); +x_695 = lean_array_push(x_690, x_675); +x_696 = lean_array_push(x_695, x_678); +x_697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_697, 0, x_693); +lean_ctor_set(x_697, 1, x_696); +x_698 = lean_array_push(x_690, x_694); +lean_inc(x_697); +x_699 = lean_array_push(x_698, x_697); +x_700 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_701, 0, x_700); +lean_ctor_set(x_701, 1, x_699); +x_702 = lean_ctor_get(x_257, 0); +lean_inc(x_702); +x_703 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_702); +x_704 = lean_array_push(x_690, x_701); +x_705 = lean_array_push(x_704, x_703); +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_700); +lean_ctor_set(x_706, 1, x_705); +x_707 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_670); +x_708 = lean_name_mk_numeral(x_707, x_670); +x_709 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_710 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_711 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_711, 0, x_671); +lean_ctor_set(x_711, 1, x_709); +lean_ctor_set(x_711, 2, x_708); +lean_ctor_set(x_711, 3, x_710); +x_712 = lean_array_push(x_690, x_711); +x_713 = lean_array_push(x_712, x_678); +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_693); +lean_ctor_set(x_714, 1, x_713); +x_715 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_716 = lean_name_mk_numeral(x_715, x_670); +x_717 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_718 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_719 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_719, 0, x_671); +lean_ctor_set(x_719, 1, x_717); +lean_ctor_set(x_719, 2, x_716); +lean_ctor_set(x_719, 3, x_718); +x_720 = lean_array_push(x_690, x_719); +x_721 = lean_array_push(x_720, x_678); +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_693); +lean_ctor_set(x_722, 1, x_721); +x_723 = lean_array_push(x_690, x_722); +x_724 = lean_array_push(x_723, x_697); +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_700); +lean_ctor_set(x_725, 1, x_724); +x_726 = lean_array_push(x_690, x_725); +x_727 = lean_array_push(x_726, x_678); +x_728 = l_Lean_nullKind___closed__2; +x_729 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_729, 0, x_728); +lean_ctor_set(x_729, 1, x_727); +x_730 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_731 = lean_array_push(x_730, x_729); +x_732 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_733 = lean_array_push(x_731, x_732); +x_734 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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 = lean_array_push(x_690, x_714); +x_737 = lean_array_push(x_736, x_735); +x_738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_700); +lean_ctor_set(x_738, 1, x_737); +x_739 = lean_ctor_get(x_257, 1); +lean_inc(x_739); +lean_dec(x_257); +x_740 = l_Nat_repr(x_739); +x_741 = l_Lean_numLitKind; +x_742 = l_Lean_mkStxLit(x_741, x_740, x_671); +x_743 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_744 = lean_array_push(x_743, x_738); +x_745 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_746 = lean_array_push(x_744, x_745); +x_747 = lean_array_push(x_746, x_742); +x_748 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_749, 0, x_748); +lean_ctor_set(x_749, 1, x_747); +x_750 = lean_array_push(x_743, x_706); +x_751 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_752 = lean_array_push(x_750, x_751); +x_753 = lean_array_push(x_752, x_749); +x_754 = l_Lean_Parser_Term_band___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); +x_756 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_757 = lean_array_push(x_756, x_755); +x_758 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_759 = lean_array_push(x_757, x_758); +x_760 = lean_array_push(x_759, x_654); +x_761 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_762 = lean_array_push(x_760, x_761); +x_763 = lean_array_push(x_762, x_667); +x_764 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +x_766 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_767 = lean_array_push(x_766, x_255); +x_768 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_769 = lean_array_push(x_767, x_768); +x_770 = lean_array_push(x_769, x_765); +x_771 = l_Lean_Parser_Term_let___elambda__1___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); +if (lean_is_scalar(x_669)) { + x_773 = lean_alloc_ctor(0, 2, 0); +} else { + x_773 = x_669; +} +lean_ctor_set(x_773, 0, x_772); +lean_ctor_set(x_773, 1, x_668); +return x_773; +} +else +{ +lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; +lean_dec(x_654); +lean_dec(x_649); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +x_774 = lean_ctor_get(x_666, 0); +lean_inc(x_774); +x_775 = lean_ctor_get(x_666, 1); +lean_inc(x_775); +if (lean_is_exclusive(x_666)) { + lean_ctor_release(x_666, 0); + lean_ctor_release(x_666, 1); + x_776 = x_666; +} else { + lean_dec_ref(x_666); + x_776 = lean_box(0); +} +if (lean_is_scalar(x_776)) { + x_777 = lean_alloc_ctor(1, 2, 0); +} else { + x_777 = x_776; +} +lean_ctor_set(x_777, 0, x_774); +lean_ctor_set(x_777, 1, x_775); +return x_777; +} +} +else +{ +lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; +lean_dec(x_649); +lean_dec(x_648); +lean_dec(x_647); +lean_dec(x_646); +lean_dec(x_645); +lean_dec(x_644); +lean_dec(x_643); +lean_dec(x_642); +lean_dec(x_641); +lean_dec(x_271); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +lean_dec(x_2); +x_778 = lean_ctor_get(x_652, 0); +lean_inc(x_778); +x_779 = lean_ctor_get(x_652, 1); +lean_inc(x_779); +if (lean_is_exclusive(x_652)) { + lean_ctor_release(x_652, 0); + lean_ctor_release(x_652, 1); + x_780 = x_652; +} else { + lean_dec_ref(x_652); + x_780 = lean_box(0); +} +if (lean_is_scalar(x_780)) { + x_781 = lean_alloc_ctor(1, 2, 0); +} else { + x_781 = x_780; +} +lean_ctor_set(x_781, 0, x_778); +lean_ctor_set(x_781, 1, x_779); +return x_781; } } } else { -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; -lean_dec(x_190); -x_660 = lean_array_get_size(x_191); -x_661 = l_List_range(x_660); -x_662 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_661, x_4, x_5); -x_663 = lean_ctor_get(x_662, 0); -lean_inc(x_663); -x_664 = lean_ctor_get(x_662, 1); -lean_inc(x_664); -lean_dec(x_662); -x_665 = lean_box(0); -lean_inc(x_3); -x_666 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3(x_192, x_3, x_665); -lean_inc(x_4); -x_667 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4(x_191, x_666, x_4, x_664); -lean_dec(x_191); -if (lean_obj_tag(x_667) == 0) -{ -lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; uint8_t x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; -x_668 = lean_ctor_get(x_667, 0); -lean_inc(x_668); -x_669 = lean_ctor_get(x_667, 1); -lean_inc(x_669); -lean_dec(x_667); -lean_inc(x_3); -x_670 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__5(x_192, x_3, x_665); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_671 = x_3; -} else { - lean_dec_ref(x_3); - x_671 = lean_box(0); -} -x_672 = l_List_append___rarg(x_663, x_18); -x_673 = lean_ctor_get(x_669, 0); -lean_inc(x_673); -x_674 = lean_ctor_get(x_669, 1); -lean_inc(x_674); -x_675 = lean_ctor_get(x_669, 2); -lean_inc(x_675); -x_676 = lean_ctor_get(x_669, 3); -lean_inc(x_676); -x_677 = lean_ctor_get(x_669, 4); -lean_inc(x_677); -x_678 = lean_ctor_get(x_669, 5); -lean_inc(x_678); -if (lean_is_exclusive(x_669)) { - lean_ctor_release(x_669, 0); - lean_ctor_release(x_669, 1); - lean_ctor_release(x_669, 2); - lean_ctor_release(x_669, 3); - lean_ctor_release(x_669, 4); - lean_ctor_release(x_669, 5); - x_679 = x_669; -} else { - lean_dec_ref(x_669); - x_679 = lean_box(0); -} -x_680 = lean_unsigned_to_nat(1u); -x_681 = lean_nat_add(x_678, x_680); -if (lean_is_scalar(x_679)) { - x_682 = lean_alloc_ctor(0, 6, 0); -} else { - x_682 = x_679; -} -lean_ctor_set(x_682, 0, x_673); -lean_ctor_set(x_682, 1, x_674); -lean_ctor_set(x_682, 2, x_675); -lean_ctor_set(x_682, 3, x_676); -lean_ctor_set(x_682, 4, x_677); -lean_ctor_set(x_682, 5, x_681); -x_683 = lean_ctor_get(x_4, 0); -lean_inc(x_683); -x_684 = lean_ctor_get(x_4, 1); -lean_inc(x_684); -x_685 = lean_ctor_get(x_4, 2); -lean_inc(x_685); -x_686 = lean_ctor_get(x_4, 3); -lean_inc(x_686); -x_687 = lean_ctor_get(x_4, 4); -lean_inc(x_687); -x_688 = lean_ctor_get(x_4, 5); -lean_inc(x_688); -x_689 = lean_ctor_get(x_4, 6); -lean_inc(x_689); -x_690 = lean_ctor_get(x_4, 7); -lean_inc(x_690); -x_691 = lean_ctor_get(x_4, 8); -lean_inc(x_691); -x_692 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +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; uint8_t x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; +x_782 = lean_ctor_get(x_270, 0); +x_783 = lean_ctor_get(x_270, 1); +x_784 = lean_ctor_get(x_270, 2); +x_785 = lean_ctor_get(x_270, 3); +x_786 = lean_ctor_get(x_270, 4); +x_787 = lean_ctor_get(x_270, 5); +lean_inc(x_787); +lean_inc(x_786); +lean_inc(x_785); +lean_inc(x_784); +lean_inc(x_783); +lean_inc(x_782); +lean_dec(x_270); +x_788 = lean_unsigned_to_nat(1u); +x_789 = lean_nat_add(x_787, x_788); +x_790 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_790, 0, x_782); +lean_ctor_set(x_790, 1, x_783); +lean_ctor_set(x_790, 2, x_784); +lean_ctor_set(x_790, 3, x_785); +lean_ctor_set(x_790, 4, x_786); +lean_ctor_set(x_790, 5, x_789); +x_791 = lean_ctor_get(x_4, 0); +lean_inc(x_791); +x_792 = lean_ctor_get(x_4, 1); +lean_inc(x_792); +x_793 = lean_ctor_get(x_4, 2); +lean_inc(x_793); +x_794 = lean_ctor_get(x_4, 3); +lean_inc(x_794); +x_795 = lean_ctor_get(x_4, 4); +lean_inc(x_795); +x_796 = lean_ctor_get(x_4, 5); +lean_inc(x_796); +x_797 = lean_ctor_get(x_4, 6); +lean_inc(x_797); +x_798 = lean_ctor_get(x_4, 7); +lean_inc(x_798); +x_799 = lean_ctor_get(x_4, 8); +lean_inc(x_799); +x_800 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -10183,280 +9218,1277 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_693 = x_4; + x_801 = x_4; } else { lean_dec_ref(x_4); - x_693 = lean_box(0); + x_801 = lean_box(0); } -lean_inc(x_691); -if (lean_is_scalar(x_671)) { - x_694 = lean_alloc_ctor(1, 2, 0); +lean_inc(x_799); +lean_ctor_set(x_3, 1, x_799); +lean_ctor_set(x_3, 0, x_787); +lean_inc(x_798); +lean_inc(x_797); +lean_inc(x_796); +lean_inc(x_795); +lean_inc(x_794); +lean_inc(x_793); +lean_inc(x_792); +lean_inc(x_791); +if (lean_is_scalar(x_801)) { + x_802 = lean_alloc_ctor(0, 9, 1); } else { - x_694 = x_671; + x_802 = x_801; } -lean_ctor_set(x_694, 0, x_678); -lean_ctor_set(x_694, 1, x_691); -lean_inc(x_690); -lean_inc(x_689); -lean_inc(x_688); -lean_inc(x_687); -lean_inc(x_686); -lean_inc(x_685); -lean_inc(x_684); -lean_inc(x_683); -if (lean_is_scalar(x_693)) { - x_695 = lean_alloc_ctor(0, 9, 1); -} else { - x_695 = x_693; -} -lean_ctor_set(x_695, 0, x_683); -lean_ctor_set(x_695, 1, x_684); -lean_ctor_set(x_695, 2, x_685); -lean_ctor_set(x_695, 3, x_686); -lean_ctor_set(x_695, 4, x_687); -lean_ctor_set(x_695, 5, x_688); -lean_ctor_set(x_695, 6, x_689); -lean_ctor_set(x_695, 7, x_690); -lean_ctor_set(x_695, 8, x_694); -lean_ctor_set_uint8(x_695, sizeof(void*)*9, x_692); -x_696 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_672, x_668, x_695, x_682); -if (lean_obj_tag(x_696) == 0) +lean_ctor_set(x_802, 0, x_791); +lean_ctor_set(x_802, 1, x_792); +lean_ctor_set(x_802, 2, x_793); +lean_ctor_set(x_802, 3, x_794); +lean_ctor_set(x_802, 4, x_795); +lean_ctor_set(x_802, 5, x_796); +lean_ctor_set(x_802, 6, x_797); +lean_ctor_set(x_802, 7, x_798); +lean_ctor_set(x_802, 8, x_3); +lean_ctor_set_uint8(x_802, sizeof(void*)*9, x_800); +x_803 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_275, x_269, x_802, x_790); +if (lean_obj_tag(x_803) == 0) { -lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; -x_697 = lean_ctor_get(x_696, 1); -lean_inc(x_697); -x_698 = lean_ctor_get(x_696, 0); -lean_inc(x_698); -lean_dec(x_696); -x_699 = lean_ctor_get(x_697, 0); -lean_inc(x_699); -x_700 = lean_ctor_get(x_697, 1); -lean_inc(x_700); -x_701 = lean_ctor_get(x_697, 2); -lean_inc(x_701); -x_702 = lean_ctor_get(x_697, 3); -lean_inc(x_702); -x_703 = lean_ctor_get(x_697, 4); -lean_inc(x_703); -x_704 = lean_ctor_get(x_697, 5); -lean_inc(x_704); -if (lean_is_exclusive(x_697)) { - lean_ctor_release(x_697, 0); - lean_ctor_release(x_697, 1); - lean_ctor_release(x_697, 2); - lean_ctor_release(x_697, 3); - lean_ctor_release(x_697, 4); - lean_ctor_release(x_697, 5); - x_705 = x_697; +lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_804 = lean_ctor_get(x_803, 1); +lean_inc(x_804); +x_805 = lean_ctor_get(x_803, 0); +lean_inc(x_805); +lean_dec(x_803); +x_806 = lean_ctor_get(x_804, 0); +lean_inc(x_806); +x_807 = lean_ctor_get(x_804, 1); +lean_inc(x_807); +x_808 = lean_ctor_get(x_804, 2); +lean_inc(x_808); +x_809 = lean_ctor_get(x_804, 3); +lean_inc(x_809); +x_810 = lean_ctor_get(x_804, 4); +lean_inc(x_810); +x_811 = lean_ctor_get(x_804, 5); +lean_inc(x_811); +if (lean_is_exclusive(x_804)) { + lean_ctor_release(x_804, 0); + lean_ctor_release(x_804, 1); + lean_ctor_release(x_804, 2); + lean_ctor_release(x_804, 3); + lean_ctor_release(x_804, 4); + lean_ctor_release(x_804, 5); + x_812 = x_804; } else { - lean_dec_ref(x_697); - x_705 = lean_box(0); + lean_dec_ref(x_804); + x_812 = lean_box(0); } -x_706 = lean_nat_add(x_704, x_680); -if (lean_is_scalar(x_705)) { - x_707 = lean_alloc_ctor(0, 6, 0); +x_813 = lean_nat_add(x_811, x_788); +if (lean_is_scalar(x_812)) { + x_814 = lean_alloc_ctor(0, 6, 0); } else { - x_707 = x_705; + x_814 = x_812; } -lean_ctor_set(x_707, 0, x_699); -lean_ctor_set(x_707, 1, x_700); -lean_ctor_set(x_707, 2, x_701); -lean_ctor_set(x_707, 3, x_702); -lean_ctor_set(x_707, 4, x_703); -lean_ctor_set(x_707, 5, x_706); -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_704); -lean_ctor_set(x_708, 1, x_691); -x_709 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_709, 0, x_683); -lean_ctor_set(x_709, 1, x_684); -lean_ctor_set(x_709, 2, x_685); -lean_ctor_set(x_709, 3, x_686); -lean_ctor_set(x_709, 4, x_687); -lean_ctor_set(x_709, 5, x_688); -lean_ctor_set(x_709, 6, x_689); -lean_ctor_set(x_709, 7, x_690); -lean_ctor_set(x_709, 8, x_708); -lean_ctor_set_uint8(x_709, sizeof(void*)*9, x_692); -x_710 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_670, x_709, x_707); -if (lean_obj_tag(x_710) == 0) +lean_ctor_set(x_814, 0, x_806); +lean_ctor_set(x_814, 1, x_807); +lean_ctor_set(x_814, 2, x_808); +lean_ctor_set(x_814, 3, x_809); +lean_ctor_set(x_814, 4, x_810); +lean_ctor_set(x_814, 5, x_813); +lean_inc(x_799); +x_815 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_815, 0, x_811); +lean_ctor_set(x_815, 1, x_799); +x_816 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_816, 0, x_791); +lean_ctor_set(x_816, 1, x_792); +lean_ctor_set(x_816, 2, x_793); +lean_ctor_set(x_816, 3, x_794); +lean_ctor_set(x_816, 4, x_795); +lean_ctor_set(x_816, 5, x_796); +lean_ctor_set(x_816, 6, x_797); +lean_ctor_set(x_816, 7, x_798); +lean_ctor_set(x_816, 8, x_815); +lean_ctor_set_uint8(x_816, sizeof(void*)*9, x_800); +x_817 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_271, x_816, x_814); +if (lean_obj_tag(x_817) == 0) { -lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_711 = lean_ctor_get(x_710, 0); -lean_inc(x_711); -x_712 = lean_ctor_get(x_710, 1); -lean_inc(x_712); -if (lean_is_exclusive(x_710)) { - lean_ctor_release(x_710, 0); - lean_ctor_release(x_710, 1); - x_713 = x_710; +lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; +x_818 = lean_ctor_get(x_817, 0); +lean_inc(x_818); +x_819 = lean_ctor_get(x_817, 1); +lean_inc(x_819); +if (lean_is_exclusive(x_817)) { + lean_ctor_release(x_817, 0); + lean_ctor_release(x_817, 1); + x_820 = x_817; } else { - lean_dec_ref(x_710); - x_713 = lean_box(0); + lean_dec_ref(x_817); + x_820 = lean_box(0); } -x_714 = lean_box(0); -x_715 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__13; -x_716 = lean_array_push(x_715, x_17); -x_717 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_717); -lean_ctor_set(x_718, 1, x_716); -x_719 = lean_ctor_get(x_192, 0); -lean_inc(x_719); -x_720 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_719); -x_721 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__32; -x_722 = lean_array_push(x_721, x_720); -x_723 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_723); -lean_ctor_set(x_724, 1, x_722); -x_725 = lean_ctor_get(x_192, 1); -lean_inc(x_725); -lean_dec(x_192); -x_726 = l_Nat_repr(x_725); -x_727 = l_Lean_numLitKind; -x_728 = l_Lean_mkStxLit(x_727, x_726, x_714); -x_729 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69; -x_730 = lean_array_push(x_729, x_728); -x_731 = l_Lean_Parser_Term_beq___elambda__1___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 = l_Lean_Parser_declareBuiltinParser___closed__8; -x_734 = lean_array_push(x_733, x_724); -x_735 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; -x_736 = lean_array_push(x_734, x_735); -x_737 = lean_array_push(x_736, x_732); -x_738 = l_Lean_Parser_Term_band___elambda__1___closed__2; -x_739 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_739, 0, x_738); -lean_ctor_set(x_739, 1, x_737); -x_740 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76; -x_741 = lean_array_push(x_740, x_739); -x_742 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71; -x_743 = lean_array_push(x_741, x_742); -x_744 = lean_array_push(x_743, x_698); -x_745 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73; -x_746 = lean_array_push(x_744, x_745); -x_747 = lean_array_push(x_746, x_711); -x_748 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; -x_749 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_749, 0, x_748); -lean_ctor_set(x_749, 1, x_747); -x_750 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28; -x_751 = lean_array_push(x_750, x_718); -x_752 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_753 = lean_array_push(x_751, x_752); -x_754 = lean_array_push(x_753, x_749); -x_755 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_756, 1, x_754); -if (lean_is_scalar(x_713)) { - x_757 = lean_alloc_ctor(0, 2, 0); +x_821 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_799); +lean_dec(x_799); +x_822 = lean_box(0); +x_823 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_821); +x_824 = lean_name_mk_numeral(x_823, x_821); +x_825 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_826 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_826, 0, x_822); +lean_ctor_set(x_826, 1, x_825); +lean_ctor_set(x_826, 2, x_824); +lean_ctor_set(x_826, 3, x_266); +x_827 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_826); +x_828 = lean_array_push(x_827, x_826); +x_829 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_830 = lean_array_push(x_828, x_829); +x_831 = lean_array_push(x_830, x_829); +x_832 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_833 = lean_array_push(x_831, x_832); +x_834 = lean_array_push(x_833, x_17); +x_835 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_834); +lean_ctor_set(x_255, 0, x_835); +x_836 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_821); +x_837 = lean_name_mk_numeral(x_836, x_821); +x_838 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_839 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_840 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_840, 0, x_822); +lean_ctor_set(x_840, 1, x_838); +lean_ctor_set(x_840, 2, x_837); +lean_ctor_set(x_840, 3, x_839); +x_841 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_842 = lean_array_push(x_841, x_840); +x_843 = lean_array_push(x_842, x_829); +x_844 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_845, 0, x_844); +lean_ctor_set(x_845, 1, x_843); +x_846 = lean_array_push(x_841, x_826); +x_847 = lean_array_push(x_846, x_829); +x_848 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_848, 0, x_844); +lean_ctor_set(x_848, 1, x_847); +x_849 = lean_array_push(x_841, x_845); +lean_inc(x_848); +x_850 = lean_array_push(x_849, x_848); +x_851 = l_Lean_Parser_Term_app___elambda__1___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); +x_853 = lean_ctor_get(x_257, 0); +lean_inc(x_853); +x_854 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_853); +x_855 = lean_array_push(x_841, x_852); +x_856 = lean_array_push(x_855, x_854); +x_857 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_857, 0, x_851); +lean_ctor_set(x_857, 1, x_856); +x_858 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_821); +x_859 = lean_name_mk_numeral(x_858, x_821); +x_860 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_861 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_862 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_862, 0, x_822); +lean_ctor_set(x_862, 1, x_860); +lean_ctor_set(x_862, 2, x_859); +lean_ctor_set(x_862, 3, x_861); +x_863 = lean_array_push(x_841, x_862); +x_864 = lean_array_push(x_863, x_829); +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_844); +lean_ctor_set(x_865, 1, x_864); +x_866 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_867 = lean_name_mk_numeral(x_866, x_821); +x_868 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_869 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_870 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_870, 0, x_822); +lean_ctor_set(x_870, 1, x_868); +lean_ctor_set(x_870, 2, x_867); +lean_ctor_set(x_870, 3, x_869); +x_871 = lean_array_push(x_841, x_870); +x_872 = lean_array_push(x_871, x_829); +x_873 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_873, 0, x_844); +lean_ctor_set(x_873, 1, x_872); +x_874 = lean_array_push(x_841, x_873); +x_875 = lean_array_push(x_874, x_848); +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_851); +lean_ctor_set(x_876, 1, x_875); +x_877 = lean_array_push(x_841, x_876); +x_878 = lean_array_push(x_877, x_829); +x_879 = l_Lean_nullKind___closed__2; +x_880 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_880, 0, x_879); +lean_ctor_set(x_880, 1, x_878); +x_881 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_882 = lean_array_push(x_881, x_880); +x_883 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_884 = lean_array_push(x_882, x_883); +x_885 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_886, 0, x_885); +lean_ctor_set(x_886, 1, x_884); +x_887 = lean_array_push(x_841, x_865); +x_888 = lean_array_push(x_887, x_886); +x_889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_889, 0, x_851); +lean_ctor_set(x_889, 1, x_888); +x_890 = lean_ctor_get(x_257, 1); +lean_inc(x_890); +lean_dec(x_257); +x_891 = l_Nat_repr(x_890); +x_892 = l_Lean_numLitKind; +x_893 = l_Lean_mkStxLit(x_892, x_891, x_822); +x_894 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_895 = lean_array_push(x_894, x_889); +x_896 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_897 = lean_array_push(x_895, x_896); +x_898 = lean_array_push(x_897, x_893); +x_899 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_900, 0, x_899); +lean_ctor_set(x_900, 1, x_898); +x_901 = lean_array_push(x_894, x_857); +x_902 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_903 = lean_array_push(x_901, x_902); +x_904 = lean_array_push(x_903, x_900); +x_905 = l_Lean_Parser_Term_band___elambda__1___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 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_908 = lean_array_push(x_907, x_906); +x_909 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_910 = lean_array_push(x_908, x_909); +x_911 = lean_array_push(x_910, x_805); +x_912 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_913 = lean_array_push(x_911, x_912); +x_914 = lean_array_push(x_913, x_818); +x_915 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_916 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_916, 0, x_915); +lean_ctor_set(x_916, 1, x_914); +x_917 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_918 = lean_array_push(x_917, x_255); +x_919 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_920 = lean_array_push(x_918, x_919); +x_921 = lean_array_push(x_920, x_916); +x_922 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_923, 0, x_922); +lean_ctor_set(x_923, 1, x_921); +if (lean_is_scalar(x_820)) { + x_924 = lean_alloc_ctor(0, 2, 0); } else { - x_757 = x_713; + x_924 = x_820; } -lean_ctor_set(x_757, 0, x_756); -lean_ctor_set(x_757, 1, x_712); -return x_757; +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_819); +return x_924; } else { -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -lean_dec(x_698); -lean_dec(x_192); +lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; +lean_dec(x_805); +lean_dec(x_799); +lean_free_object(x_255); +lean_dec(x_257); lean_dec(x_17); -x_758 = lean_ctor_get(x_710, 0); -lean_inc(x_758); -x_759 = lean_ctor_get(x_710, 1); -lean_inc(x_759); -if (lean_is_exclusive(x_710)) { - lean_ctor_release(x_710, 0); - lean_ctor_release(x_710, 1); - x_760 = x_710; +x_925 = lean_ctor_get(x_817, 0); +lean_inc(x_925); +x_926 = lean_ctor_get(x_817, 1); +lean_inc(x_926); +if (lean_is_exclusive(x_817)) { + lean_ctor_release(x_817, 0); + lean_ctor_release(x_817, 1); + x_927 = x_817; } else { - lean_dec_ref(x_710); - x_760 = lean_box(0); + lean_dec_ref(x_817); + x_927 = lean_box(0); } -if (lean_is_scalar(x_760)) { - x_761 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_927)) { + x_928 = lean_alloc_ctor(1, 2, 0); } else { - x_761 = x_760; + x_928 = x_927; } -lean_ctor_set(x_761, 0, x_758); -lean_ctor_set(x_761, 1, x_759); -return x_761; +lean_ctor_set(x_928, 0, x_925); +lean_ctor_set(x_928, 1, x_926); +return x_928; } } else { -lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; -lean_dec(x_691); -lean_dec(x_690); -lean_dec(x_689); -lean_dec(x_688); -lean_dec(x_687); -lean_dec(x_686); -lean_dec(x_685); -lean_dec(x_684); -lean_dec(x_683); -lean_dec(x_670); -lean_dec(x_192); +lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; +lean_dec(x_799); +lean_dec(x_798); +lean_dec(x_797); +lean_dec(x_796); +lean_dec(x_795); +lean_dec(x_794); +lean_dec(x_793); +lean_dec(x_792); +lean_dec(x_791); +lean_dec(x_271); +lean_free_object(x_255); +lean_dec(x_257); lean_dec(x_17); lean_dec(x_2); -x_762 = lean_ctor_get(x_696, 0); -lean_inc(x_762); -x_763 = lean_ctor_get(x_696, 1); -lean_inc(x_763); -if (lean_is_exclusive(x_696)) { - lean_ctor_release(x_696, 0); - lean_ctor_release(x_696, 1); - x_764 = x_696; +x_929 = lean_ctor_get(x_803, 0); +lean_inc(x_929); +x_930 = lean_ctor_get(x_803, 1); +lean_inc(x_930); +if (lean_is_exclusive(x_803)) { + lean_ctor_release(x_803, 0); + lean_ctor_release(x_803, 1); + x_931 = x_803; } else { - lean_dec_ref(x_696); - x_764 = lean_box(0); + lean_dec_ref(x_803); + x_931 = lean_box(0); } -if (lean_is_scalar(x_764)) { - x_765 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_931)) { + x_932 = lean_alloc_ctor(1, 2, 0); } else { - x_765 = x_764; + x_932 = x_931; +} +lean_ctor_set(x_932, 0, x_929); +lean_ctor_set(x_932, 1, x_930); +return x_932; } -lean_ctor_set(x_765, 0, x_762); -lean_ctor_set(x_765, 1, x_763); -return x_765; } } else { -lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; -lean_dec(x_663); -lean_dec(x_192); +lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; uint8_t x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; +lean_dec(x_3); +x_933 = l_List_append___rarg(x_264, x_18); +x_934 = lean_ctor_get(x_270, 0); +lean_inc(x_934); +x_935 = lean_ctor_get(x_270, 1); +lean_inc(x_935); +x_936 = lean_ctor_get(x_270, 2); +lean_inc(x_936); +x_937 = lean_ctor_get(x_270, 3); +lean_inc(x_937); +x_938 = lean_ctor_get(x_270, 4); +lean_inc(x_938); +x_939 = lean_ctor_get(x_270, 5); +lean_inc(x_939); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + lean_ctor_release(x_270, 2); + lean_ctor_release(x_270, 3); + lean_ctor_release(x_270, 4); + lean_ctor_release(x_270, 5); + x_940 = x_270; +} else { + lean_dec_ref(x_270); + x_940 = lean_box(0); +} +x_941 = lean_unsigned_to_nat(1u); +x_942 = lean_nat_add(x_939, x_941); +if (lean_is_scalar(x_940)) { + x_943 = lean_alloc_ctor(0, 6, 0); +} else { + x_943 = x_940; +} +lean_ctor_set(x_943, 0, x_934); +lean_ctor_set(x_943, 1, x_935); +lean_ctor_set(x_943, 2, x_936); +lean_ctor_set(x_943, 3, x_937); +lean_ctor_set(x_943, 4, x_938); +lean_ctor_set(x_943, 5, x_942); +x_944 = lean_ctor_get(x_4, 0); +lean_inc(x_944); +x_945 = lean_ctor_get(x_4, 1); +lean_inc(x_945); +x_946 = lean_ctor_get(x_4, 2); +lean_inc(x_946); +x_947 = lean_ctor_get(x_4, 3); +lean_inc(x_947); +x_948 = lean_ctor_get(x_4, 4); +lean_inc(x_948); +x_949 = lean_ctor_get(x_4, 5); +lean_inc(x_949); +x_950 = lean_ctor_get(x_4, 6); +lean_inc(x_950); +x_951 = lean_ctor_get(x_4, 7); +lean_inc(x_951); +x_952 = lean_ctor_get(x_4, 8); +lean_inc(x_952); +x_953 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + lean_ctor_release(x_4, 6); + lean_ctor_release(x_4, 7); + lean_ctor_release(x_4, 8); + x_954 = x_4; +} else { + lean_dec_ref(x_4); + x_954 = lean_box(0); +} +lean_inc(x_952); +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_939); +lean_ctor_set(x_955, 1, x_952); +lean_inc(x_951); +lean_inc(x_950); +lean_inc(x_949); +lean_inc(x_948); +lean_inc(x_947); +lean_inc(x_946); +lean_inc(x_945); +lean_inc(x_944); +if (lean_is_scalar(x_954)) { + x_956 = lean_alloc_ctor(0, 9, 1); +} else { + x_956 = x_954; +} +lean_ctor_set(x_956, 0, x_944); +lean_ctor_set(x_956, 1, x_945); +lean_ctor_set(x_956, 2, x_946); +lean_ctor_set(x_956, 3, x_947); +lean_ctor_set(x_956, 4, x_948); +lean_ctor_set(x_956, 5, x_949); +lean_ctor_set(x_956, 6, x_950); +lean_ctor_set(x_956, 7, x_951); +lean_ctor_set(x_956, 8, x_955); +lean_ctor_set_uint8(x_956, sizeof(void*)*9, x_953); +x_957 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_933, x_269, x_956, x_943); +if (lean_obj_tag(x_957) == 0) +{ +lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; +x_958 = lean_ctor_get(x_957, 1); +lean_inc(x_958); +x_959 = lean_ctor_get(x_957, 0); +lean_inc(x_959); +lean_dec(x_957); +x_960 = lean_ctor_get(x_958, 0); +lean_inc(x_960); +x_961 = lean_ctor_get(x_958, 1); +lean_inc(x_961); +x_962 = lean_ctor_get(x_958, 2); +lean_inc(x_962); +x_963 = lean_ctor_get(x_958, 3); +lean_inc(x_963); +x_964 = lean_ctor_get(x_958, 4); +lean_inc(x_964); +x_965 = lean_ctor_get(x_958, 5); +lean_inc(x_965); +if (lean_is_exclusive(x_958)) { + lean_ctor_release(x_958, 0); + lean_ctor_release(x_958, 1); + lean_ctor_release(x_958, 2); + lean_ctor_release(x_958, 3); + lean_ctor_release(x_958, 4); + lean_ctor_release(x_958, 5); + x_966 = x_958; +} else { + lean_dec_ref(x_958); + x_966 = lean_box(0); +} +x_967 = lean_nat_add(x_965, x_941); +if (lean_is_scalar(x_966)) { + x_968 = lean_alloc_ctor(0, 6, 0); +} else { + x_968 = x_966; +} +lean_ctor_set(x_968, 0, x_960); +lean_ctor_set(x_968, 1, x_961); +lean_ctor_set(x_968, 2, x_962); +lean_ctor_set(x_968, 3, x_963); +lean_ctor_set(x_968, 4, x_964); +lean_ctor_set(x_968, 5, x_967); +lean_inc(x_952); +x_969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_969, 0, x_965); +lean_ctor_set(x_969, 1, x_952); +x_970 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_970, 0, x_944); +lean_ctor_set(x_970, 1, x_945); +lean_ctor_set(x_970, 2, x_946); +lean_ctor_set(x_970, 3, x_947); +lean_ctor_set(x_970, 4, x_948); +lean_ctor_set(x_970, 5, x_949); +lean_ctor_set(x_970, 6, x_950); +lean_ctor_set(x_970, 7, x_951); +lean_ctor_set(x_970, 8, x_969); +lean_ctor_set_uint8(x_970, sizeof(void*)*9, x_953); +x_971 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_271, x_970, x_968); +if (lean_obj_tag(x_971) == 0) +{ +lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; 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; 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; 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; +x_972 = lean_ctor_get(x_971, 0); +lean_inc(x_972); +x_973 = lean_ctor_get(x_971, 1); +lean_inc(x_973); +if (lean_is_exclusive(x_971)) { + lean_ctor_release(x_971, 0); + lean_ctor_release(x_971, 1); + x_974 = x_971; +} else { + lean_dec_ref(x_971); + x_974 = lean_box(0); +} +x_975 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_952); +lean_dec(x_952); +x_976 = lean_box(0); +x_977 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_975); +x_978 = lean_name_mk_numeral(x_977, x_975); +x_979 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_980 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_980, 0, x_976); +lean_ctor_set(x_980, 1, x_979); +lean_ctor_set(x_980, 2, x_978); +lean_ctor_set(x_980, 3, x_266); +x_981 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_980); +x_982 = lean_array_push(x_981, x_980); +x_983 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_984 = lean_array_push(x_982, x_983); +x_985 = lean_array_push(x_984, x_983); +x_986 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_987 = lean_array_push(x_985, x_986); +x_988 = lean_array_push(x_987, x_17); +x_989 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +lean_ctor_set(x_255, 1, x_988); +lean_ctor_set(x_255, 0, x_989); +x_990 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_975); +x_991 = lean_name_mk_numeral(x_990, x_975); +x_992 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_993 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_994 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_994, 0, x_976); +lean_ctor_set(x_994, 1, x_992); +lean_ctor_set(x_994, 2, x_991); +lean_ctor_set(x_994, 3, x_993); +x_995 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_996 = lean_array_push(x_995, x_994); +x_997 = lean_array_push(x_996, x_983); +x_998 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_999 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_999, 0, x_998); +lean_ctor_set(x_999, 1, x_997); +x_1000 = lean_array_push(x_995, x_980); +x_1001 = lean_array_push(x_1000, x_983); +x_1002 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1002, 0, x_998); +lean_ctor_set(x_1002, 1, x_1001); +x_1003 = lean_array_push(x_995, x_999); +lean_inc(x_1002); +x_1004 = lean_array_push(x_1003, x_1002); +x_1005 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1006 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1006, 0, x_1005); +lean_ctor_set(x_1006, 1, x_1004); +x_1007 = lean_ctor_get(x_257, 0); +lean_inc(x_1007); +x_1008 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1007); +x_1009 = lean_array_push(x_995, x_1006); +x_1010 = lean_array_push(x_1009, x_1008); +x_1011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1011, 0, x_1005); +lean_ctor_set(x_1011, 1, x_1010); +x_1012 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_975); +x_1013 = lean_name_mk_numeral(x_1012, x_975); +x_1014 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_1015 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_1016 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1016, 0, x_976); +lean_ctor_set(x_1016, 1, x_1014); +lean_ctor_set(x_1016, 2, x_1013); +lean_ctor_set(x_1016, 3, x_1015); +x_1017 = lean_array_push(x_995, x_1016); +x_1018 = lean_array_push(x_1017, x_983); +x_1019 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1019, 0, x_998); +lean_ctor_set(x_1019, 1, x_1018); +x_1020 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_1021 = lean_name_mk_numeral(x_1020, x_975); +x_1022 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_1023 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_1024 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1024, 0, x_976); +lean_ctor_set(x_1024, 1, x_1022); +lean_ctor_set(x_1024, 2, x_1021); +lean_ctor_set(x_1024, 3, x_1023); +x_1025 = lean_array_push(x_995, x_1024); +x_1026 = lean_array_push(x_1025, x_983); +x_1027 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1027, 0, x_998); +lean_ctor_set(x_1027, 1, x_1026); +x_1028 = lean_array_push(x_995, x_1027); +x_1029 = lean_array_push(x_1028, x_1002); +x_1030 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1030, 0, x_1005); +lean_ctor_set(x_1030, 1, x_1029); +x_1031 = lean_array_push(x_995, x_1030); +x_1032 = lean_array_push(x_1031, x_983); +x_1033 = l_Lean_nullKind___closed__2; +x_1034 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1034, 0, x_1033); +lean_ctor_set(x_1034, 1, x_1032); +x_1035 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_1036 = lean_array_push(x_1035, x_1034); +x_1037 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_1038 = lean_array_push(x_1036, x_1037); +x_1039 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_1040 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1040, 0, x_1039); +lean_ctor_set(x_1040, 1, x_1038); +x_1041 = lean_array_push(x_995, x_1019); +x_1042 = lean_array_push(x_1041, x_1040); +x_1043 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1043, 0, x_1005); +lean_ctor_set(x_1043, 1, x_1042); +x_1044 = lean_ctor_get(x_257, 1); +lean_inc(x_1044); +lean_dec(x_257); +x_1045 = l_Nat_repr(x_1044); +x_1046 = l_Lean_numLitKind; +x_1047 = l_Lean_mkStxLit(x_1046, x_1045, x_976); +x_1048 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_1049 = lean_array_push(x_1048, x_1043); +x_1050 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_1051 = lean_array_push(x_1049, x_1050); +x_1052 = lean_array_push(x_1051, x_1047); +x_1053 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_1054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1054, 0, x_1053); +lean_ctor_set(x_1054, 1, x_1052); +x_1055 = lean_array_push(x_1048, x_1011); +x_1056 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_1057 = lean_array_push(x_1055, x_1056); +x_1058 = lean_array_push(x_1057, x_1054); +x_1059 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_1060 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1060, 0, x_1059); +lean_ctor_set(x_1060, 1, x_1058); +x_1061 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_1062 = lean_array_push(x_1061, x_1060); +x_1063 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_1064 = lean_array_push(x_1062, x_1063); +x_1065 = lean_array_push(x_1064, x_959); +x_1066 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_1067 = lean_array_push(x_1065, x_1066); +x_1068 = lean_array_push(x_1067, x_972); +x_1069 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_1070 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1070, 0, x_1069); +lean_ctor_set(x_1070, 1, x_1068); +x_1071 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_1072 = lean_array_push(x_1071, x_255); +x_1073 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_1074 = lean_array_push(x_1072, x_1073); +x_1075 = lean_array_push(x_1074, x_1070); +x_1076 = l_Lean_Parser_Term_let___elambda__1___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); +if (lean_is_scalar(x_974)) { + x_1078 = lean_alloc_ctor(0, 2, 0); +} else { + x_1078 = x_974; +} +lean_ctor_set(x_1078, 0, x_1077); +lean_ctor_set(x_1078, 1, x_973); +return x_1078; +} +else +{ +lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; +lean_dec(x_959); +lean_dec(x_952); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +x_1079 = lean_ctor_get(x_971, 0); +lean_inc(x_1079); +x_1080 = lean_ctor_get(x_971, 1); +lean_inc(x_1080); +if (lean_is_exclusive(x_971)) { + lean_ctor_release(x_971, 0); + lean_ctor_release(x_971, 1); + x_1081 = x_971; +} else { + lean_dec_ref(x_971); + x_1081 = lean_box(0); +} +if (lean_is_scalar(x_1081)) { + x_1082 = lean_alloc_ctor(1, 2, 0); +} else { + x_1082 = x_1081; +} +lean_ctor_set(x_1082, 0, x_1079); +lean_ctor_set(x_1082, 1, x_1080); +return x_1082; +} +} +else +{ +lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; +lean_dec(x_952); +lean_dec(x_951); +lean_dec(x_950); +lean_dec(x_949); +lean_dec(x_948); +lean_dec(x_947); +lean_dec(x_946); +lean_dec(x_945); +lean_dec(x_944); +lean_dec(x_271); +lean_free_object(x_255); +lean_dec(x_257); +lean_dec(x_17); +lean_dec(x_2); +x_1083 = lean_ctor_get(x_957, 0); +lean_inc(x_1083); +x_1084 = lean_ctor_get(x_957, 1); +lean_inc(x_1084); +if (lean_is_exclusive(x_957)) { + lean_ctor_release(x_957, 0); + lean_ctor_release(x_957, 1); + x_1085 = x_957; +} else { + lean_dec_ref(x_957); + x_1085 = lean_box(0); +} +if (lean_is_scalar(x_1085)) { + x_1086 = lean_alloc_ctor(1, 2, 0); +} else { + x_1086 = x_1085; +} +lean_ctor_set(x_1086, 0, x_1083); +lean_ctor_set(x_1086, 1, x_1084); +return x_1086; +} +} +} +else +{ +uint8_t x_1087; +lean_dec(x_264); +lean_free_object(x_255); +lean_dec(x_257); lean_dec(x_18); lean_dec(x_17); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_766 = lean_ctor_get(x_667, 0); -lean_inc(x_766); -x_767 = lean_ctor_get(x_667, 1); -lean_inc(x_767); -if (lean_is_exclusive(x_667)) { - lean_ctor_release(x_667, 0); - lean_ctor_release(x_667, 1); - x_768 = x_667; -} else { - lean_dec_ref(x_667); - x_768 = lean_box(0); +x_1087 = !lean_is_exclusive(x_268); +if (x_1087 == 0) +{ +return x_268; } -if (lean_is_scalar(x_768)) { - x_769 = lean_alloc_ctor(1, 2, 0); -} else { - x_769 = x_768; +else +{ +lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; +x_1088 = lean_ctor_get(x_268, 0); +x_1089 = lean_ctor_get(x_268, 1); +lean_inc(x_1089); +lean_inc(x_1088); +lean_dec(x_268); +x_1090 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1090, 0, x_1088); +lean_ctor_set(x_1090, 1, x_1089); +return x_1090; } -lean_ctor_set(x_769, 0, x_766); -lean_ctor_set(x_769, 1, x_767); -return x_769; +} +} +else +{ +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_dec(x_255); +x_1091 = lean_array_get_size(x_256); +x_1092 = l_List_range(x_1091); +x_1093 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2(x_1092, x_4, x_5); +x_1094 = lean_ctor_get(x_1093, 0); +lean_inc(x_1094); +x_1095 = lean_ctor_get(x_1093, 1); +lean_inc(x_1095); +lean_dec(x_1093); +x_1096 = lean_box(0); +lean_inc(x_3); +x_1097 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__3(x_257, x_3, x_1096); +lean_inc(x_4); +x_1098 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__4(x_256, x_1097, x_4, x_1095); +lean_dec(x_256); +if (lean_obj_tag(x_1098) == 0) +{ +lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; 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; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; +x_1099 = lean_ctor_get(x_1098, 0); +lean_inc(x_1099); +x_1100 = lean_ctor_get(x_1098, 1); +lean_inc(x_1100); +lean_dec(x_1098); +lean_inc(x_3); +x_1101 = l_List_filterAux___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__5(x_257, x_3, x_1096); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + x_1102 = x_3; +} else { + lean_dec_ref(x_3); + x_1102 = lean_box(0); +} +x_1103 = l_List_append___rarg(x_1094, x_18); +x_1104 = lean_ctor_get(x_1100, 0); +lean_inc(x_1104); +x_1105 = lean_ctor_get(x_1100, 1); +lean_inc(x_1105); +x_1106 = lean_ctor_get(x_1100, 2); +lean_inc(x_1106); +x_1107 = lean_ctor_get(x_1100, 3); +lean_inc(x_1107); +x_1108 = lean_ctor_get(x_1100, 4); +lean_inc(x_1108); +x_1109 = lean_ctor_get(x_1100, 5); +lean_inc(x_1109); +if (lean_is_exclusive(x_1100)) { + lean_ctor_release(x_1100, 0); + lean_ctor_release(x_1100, 1); + lean_ctor_release(x_1100, 2); + lean_ctor_release(x_1100, 3); + lean_ctor_release(x_1100, 4); + lean_ctor_release(x_1100, 5); + x_1110 = x_1100; +} else { + lean_dec_ref(x_1100); + x_1110 = lean_box(0); +} +x_1111 = lean_unsigned_to_nat(1u); +x_1112 = lean_nat_add(x_1109, x_1111); +if (lean_is_scalar(x_1110)) { + x_1113 = lean_alloc_ctor(0, 6, 0); +} else { + x_1113 = x_1110; +} +lean_ctor_set(x_1113, 0, x_1104); +lean_ctor_set(x_1113, 1, x_1105); +lean_ctor_set(x_1113, 2, x_1106); +lean_ctor_set(x_1113, 3, x_1107); +lean_ctor_set(x_1113, 4, x_1108); +lean_ctor_set(x_1113, 5, x_1112); +x_1114 = lean_ctor_get(x_4, 0); +lean_inc(x_1114); +x_1115 = lean_ctor_get(x_4, 1); +lean_inc(x_1115); +x_1116 = lean_ctor_get(x_4, 2); +lean_inc(x_1116); +x_1117 = lean_ctor_get(x_4, 3); +lean_inc(x_1117); +x_1118 = lean_ctor_get(x_4, 4); +lean_inc(x_1118); +x_1119 = lean_ctor_get(x_4, 5); +lean_inc(x_1119); +x_1120 = lean_ctor_get(x_4, 6); +lean_inc(x_1120); +x_1121 = lean_ctor_get(x_4, 7); +lean_inc(x_1121); +x_1122 = lean_ctor_get(x_4, 8); +lean_inc(x_1122); +x_1123 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + lean_ctor_release(x_4, 6); + lean_ctor_release(x_4, 7); + lean_ctor_release(x_4, 8); + x_1124 = x_4; +} else { + lean_dec_ref(x_4); + x_1124 = lean_box(0); +} +lean_inc(x_1122); +if (lean_is_scalar(x_1102)) { + x_1125 = lean_alloc_ctor(1, 2, 0); +} else { + x_1125 = x_1102; +} +lean_ctor_set(x_1125, 0, x_1109); +lean_ctor_set(x_1125, 1, x_1122); +lean_inc(x_1121); +lean_inc(x_1120); +lean_inc(x_1119); +lean_inc(x_1118); +lean_inc(x_1117); +lean_inc(x_1116); +lean_inc(x_1115); +lean_inc(x_1114); +if (lean_is_scalar(x_1124)) { + x_1126 = lean_alloc_ctor(0, 9, 1); +} else { + x_1126 = x_1124; +} +lean_ctor_set(x_1126, 0, x_1114); +lean_ctor_set(x_1126, 1, x_1115); +lean_ctor_set(x_1126, 2, x_1116); +lean_ctor_set(x_1126, 3, x_1117); +lean_ctor_set(x_1126, 4, x_1118); +lean_ctor_set(x_1126, 5, x_1119); +lean_ctor_set(x_1126, 6, x_1120); +lean_ctor_set(x_1126, 7, x_1121); +lean_ctor_set(x_1126, 8, x_1125); +lean_ctor_set_uint8(x_1126, sizeof(void*)*9, x_1123); +x_1127 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_1103, x_1099, x_1126, x_1113); +if (lean_obj_tag(x_1127) == 0) +{ +lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; +x_1128 = lean_ctor_get(x_1127, 1); +lean_inc(x_1128); +x_1129 = lean_ctor_get(x_1127, 0); +lean_inc(x_1129); +lean_dec(x_1127); +x_1130 = lean_ctor_get(x_1128, 0); +lean_inc(x_1130); +x_1131 = lean_ctor_get(x_1128, 1); +lean_inc(x_1131); +x_1132 = lean_ctor_get(x_1128, 2); +lean_inc(x_1132); +x_1133 = lean_ctor_get(x_1128, 3); +lean_inc(x_1133); +x_1134 = lean_ctor_get(x_1128, 4); +lean_inc(x_1134); +x_1135 = lean_ctor_get(x_1128, 5); +lean_inc(x_1135); +if (lean_is_exclusive(x_1128)) { + lean_ctor_release(x_1128, 0); + lean_ctor_release(x_1128, 1); + lean_ctor_release(x_1128, 2); + lean_ctor_release(x_1128, 3); + lean_ctor_release(x_1128, 4); + lean_ctor_release(x_1128, 5); + x_1136 = x_1128; +} else { + lean_dec_ref(x_1128); + x_1136 = lean_box(0); +} +x_1137 = lean_nat_add(x_1135, x_1111); +if (lean_is_scalar(x_1136)) { + x_1138 = lean_alloc_ctor(0, 6, 0); +} else { + x_1138 = x_1136; +} +lean_ctor_set(x_1138, 0, x_1130); +lean_ctor_set(x_1138, 1, x_1131); +lean_ctor_set(x_1138, 2, x_1132); +lean_ctor_set(x_1138, 3, x_1133); +lean_ctor_set(x_1138, 4, x_1134); +lean_ctor_set(x_1138, 5, x_1137); +lean_inc(x_1122); +x_1139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1139, 0, x_1135); +lean_ctor_set(x_1139, 1, x_1122); +x_1140 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_1140, 0, x_1114); +lean_ctor_set(x_1140, 1, x_1115); +lean_ctor_set(x_1140, 2, x_1116); +lean_ctor_set(x_1140, 3, x_1117); +lean_ctor_set(x_1140, 4, x_1118); +lean_ctor_set(x_1140, 5, x_1119); +lean_ctor_set(x_1140, 6, x_1120); +lean_ctor_set(x_1140, 7, x_1121); +lean_ctor_set(x_1140, 8, x_1139); +lean_ctor_set_uint8(x_1140, sizeof(void*)*9, x_1123); +x_1141 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main(x_1, x_2, x_1101, x_1140, x_1138); +if (lean_obj_tag(x_1141) == 0) +{ +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; 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; 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; 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; +x_1142 = lean_ctor_get(x_1141, 0); +lean_inc(x_1142); +x_1143 = lean_ctor_get(x_1141, 1); +lean_inc(x_1143); +if (lean_is_exclusive(x_1141)) { + lean_ctor_release(x_1141, 0); + lean_ctor_release(x_1141, 1); + x_1144 = x_1141; +} else { + lean_dec_ref(x_1141); + x_1144 = lean_box(0); +} +x_1145 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_1122); +lean_dec(x_1122); +x_1146 = lean_box(0); +x_1147 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__14; +lean_inc(x_1145); +x_1148 = lean_name_mk_numeral(x_1147, x_1145); +x_1149 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__13; +x_1150 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1150, 0, x_1146); +lean_ctor_set(x_1150, 1, x_1149); +lean_ctor_set(x_1150, 2, x_1148); +lean_ctor_set(x_1150, 3, x_1096); +x_1151 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +lean_inc(x_1150); +x_1152 = lean_array_push(x_1151, x_1150); +x_1153 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1154 = lean_array_push(x_1152, x_1153); +x_1155 = lean_array_push(x_1154, x_1153); +x_1156 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_1157 = lean_array_push(x_1155, x_1156); +x_1158 = lean_array_push(x_1157, x_17); +x_1159 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_1160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1160, 0, x_1159); +lean_ctor_set(x_1160, 1, x_1158); +x_1161 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__10; +lean_inc(x_1145); +x_1162 = lean_name_mk_numeral(x_1161, x_1145); +x_1163 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__8; +x_1164 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__12; +x_1165 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1165, 0, x_1146); +lean_ctor_set(x_1165, 1, x_1163); +lean_ctor_set(x_1165, 2, x_1162); +lean_ctor_set(x_1165, 3, x_1164); +x_1166 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_1167 = lean_array_push(x_1166, x_1165); +x_1168 = lean_array_push(x_1167, x_1153); +x_1169 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_1170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1170, 0, x_1169); +lean_ctor_set(x_1170, 1, x_1168); +x_1171 = lean_array_push(x_1166, x_1150); +x_1172 = lean_array_push(x_1171, x_1153); +x_1173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1173, 0, x_1169); +lean_ctor_set(x_1173, 1, x_1172); +x_1174 = lean_array_push(x_1166, x_1170); +lean_inc(x_1173); +x_1175 = lean_array_push(x_1174, x_1173); +x_1176 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1177, 0, x_1176); +lean_ctor_set(x_1177, 1, x_1175); +x_1178 = lean_ctor_get(x_257, 0); +lean_inc(x_1178); +x_1179 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1178); +x_1180 = lean_array_push(x_1166, x_1177); +x_1181 = lean_array_push(x_1180, x_1179); +x_1182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1182, 0, x_1176); +lean_ctor_set(x_1182, 1, x_1181); +x_1183 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__21; +lean_inc(x_1145); +x_1184 = lean_name_mk_numeral(x_1183, x_1145); +x_1185 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__17; +x_1186 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__23; +x_1187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1187, 0, x_1146); +lean_ctor_set(x_1187, 1, x_1185); +lean_ctor_set(x_1187, 2, x_1184); +lean_ctor_set(x_1187, 3, x_1186); +x_1188 = lean_array_push(x_1166, x_1187); +x_1189 = lean_array_push(x_1188, x_1153); +x_1190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1190, 0, x_1169); +lean_ctor_set(x_1190, 1, x_1189); +x_1191 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__8; +x_1192 = lean_name_mk_numeral(x_1191, x_1145); +x_1193 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__6; +x_1194 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__25; +x_1195 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1195, 0, x_1146); +lean_ctor_set(x_1195, 1, x_1193); +lean_ctor_set(x_1195, 2, x_1192); +lean_ctor_set(x_1195, 3, x_1194); +x_1196 = lean_array_push(x_1166, x_1195); +x_1197 = lean_array_push(x_1196, x_1153); +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1169); +lean_ctor_set(x_1198, 1, x_1197); +x_1199 = lean_array_push(x_1166, x_1198); +x_1200 = lean_array_push(x_1199, x_1173); +x_1201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1201, 0, x_1176); +lean_ctor_set(x_1201, 1, x_1200); +x_1202 = lean_array_push(x_1166, x_1201); +x_1203 = lean_array_push(x_1202, x_1153); +x_1204 = l_Lean_nullKind___closed__2; +x_1205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1205, 0, x_1204); +lean_ctor_set(x_1205, 1, x_1203); +x_1206 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60; +x_1207 = lean_array_push(x_1206, x_1205); +x_1208 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_1209 = lean_array_push(x_1207, x_1208); +x_1210 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_1211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1211, 0, x_1210); +lean_ctor_set(x_1211, 1, x_1209); +x_1212 = lean_array_push(x_1166, x_1190); +x_1213 = lean_array_push(x_1212, x_1211); +x_1214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1214, 0, x_1176); +lean_ctor_set(x_1214, 1, x_1213); +x_1215 = lean_ctor_get(x_257, 1); +lean_inc(x_1215); +lean_dec(x_257); +x_1216 = l_Nat_repr(x_1215); +x_1217 = l_Lean_numLitKind; +x_1218 = l_Lean_mkStxLit(x_1217, x_1216, x_1146); +x_1219 = l_Lean_Parser_declareBuiltinParser___closed__8; +x_1220 = lean_array_push(x_1219, x_1214); +x_1221 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__27; +x_1222 = lean_array_push(x_1220, x_1221); +x_1223 = lean_array_push(x_1222, x_1218); +x_1224 = l_Lean_Parser_Term_beq___elambda__1___closed__2; +x_1225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1225, 0, x_1224); +lean_ctor_set(x_1225, 1, x_1223); +x_1226 = lean_array_push(x_1219, x_1182); +x_1227 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__14; +x_1228 = lean_array_push(x_1226, x_1227); +x_1229 = lean_array_push(x_1228, x_1225); +x_1230 = l_Lean_Parser_Term_band___elambda__1___closed__2; +x_1231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1231, 0, x_1230); +lean_ctor_set(x_1231, 1, x_1229); +x_1232 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34; +x_1233 = lean_array_push(x_1232, x_1231); +x_1234 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__29; +x_1235 = lean_array_push(x_1233, x_1234); +x_1236 = lean_array_push(x_1235, x_1129); +x_1237 = l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__31; +x_1238 = lean_array_push(x_1236, x_1237); +x_1239 = lean_array_push(x_1238, x_1142); +x_1240 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__2; +x_1241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1241, 0, x_1240); +lean_ctor_set(x_1241, 1, x_1239); +x_1242 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17; +x_1243 = lean_array_push(x_1242, x_1160); +x_1244 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_1245 = lean_array_push(x_1243, x_1244); +x_1246 = lean_array_push(x_1245, x_1241); +x_1247 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_1248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1248, 0, x_1247); +lean_ctor_set(x_1248, 1, x_1246); +if (lean_is_scalar(x_1144)) { + x_1249 = lean_alloc_ctor(0, 2, 0); +} else { + x_1249 = x_1144; +} +lean_ctor_set(x_1249, 0, x_1248); +lean_ctor_set(x_1249, 1, x_1143); +return x_1249; +} +else +{ +lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; +lean_dec(x_1129); +lean_dec(x_1122); +lean_dec(x_257); +lean_dec(x_17); +x_1250 = lean_ctor_get(x_1141, 0); +lean_inc(x_1250); +x_1251 = lean_ctor_get(x_1141, 1); +lean_inc(x_1251); +if (lean_is_exclusive(x_1141)) { + lean_ctor_release(x_1141, 0); + lean_ctor_release(x_1141, 1); + x_1252 = x_1141; +} else { + lean_dec_ref(x_1141); + 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_dec(x_1122); +lean_dec(x_1121); +lean_dec(x_1120); +lean_dec(x_1119); +lean_dec(x_1118); +lean_dec(x_1117); +lean_dec(x_1116); +lean_dec(x_1115); +lean_dec(x_1114); +lean_dec(x_1101); +lean_dec(x_257); +lean_dec(x_17); +lean_dec(x_2); +x_1254 = lean_ctor_get(x_1127, 0); +lean_inc(x_1254); +x_1255 = lean_ctor_get(x_1127, 1); +lean_inc(x_1255); +if (lean_is_exclusive(x_1127)) { + lean_ctor_release(x_1127, 0); + lean_ctor_release(x_1127, 1); + x_1256 = x_1127; +} else { + lean_dec_ref(x_1127); + 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_1254); +lean_ctor_set(x_1257, 1, x_1255); +return x_1257; +} +} +else +{ +lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; +lean_dec(x_1094); +lean_dec(x_257); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1258 = lean_ctor_get(x_1098, 0); +lean_inc(x_1258); +x_1259 = lean_ctor_get(x_1098, 1); +lean_inc(x_1259); +if (lean_is_exclusive(x_1098)) { + lean_ctor_release(x_1098, 0); + lean_ctor_release(x_1098, 1); + x_1260 = x_1098; +} else { + lean_dec_ref(x_1098); + x_1260 = lean_box(0); +} +if (lean_is_scalar(x_1260)) { + x_1261 = lean_alloc_ctor(1, 2, 0); +} else { + x_1261 = x_1260; +} +lean_ctor_set(x_1261, 0, x_1258); +lean_ctor_set(x_1261, 1, x_1259); +return x_1261; } } } @@ -11387,29 +11419,13 @@ return x_3; lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = lean_box(0); -x_3 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; -x_4 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; -x_5 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set(x_5, 3, x_2); -return x_5; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Term_fun___elambda__1___closed__1; x_2 = l_Lean_mkAtom(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -11418,89 +11434,17 @@ x_2 = l_Lean_mkAtom(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -x_2 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; x_2 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_2 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10; -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_Quotation_15__letBindRhss___main___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; -x_2 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__12; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13; -x_2 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14; -x_2 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -11548,981 +11492,479 @@ lean_dec(x_14); x_17 = l_List_join___main___rarg(x_15); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_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; uint8_t x_48; -x_18 = l_List_redLength___main___rarg(x_17); -x_19 = lean_mk_empty_array_with_capacity(x_18); -x_20 = l_List_toArrayAux___main___rarg(x_17, x_19); -x_21 = l_Lean_nullKind___closed__2; -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_18, x_23); -lean_dec(x_18); -x_25 = lean_nat_add(x_24, x_23); -x_26 = lean_mk_empty_array_with_capacity(x_25); -x_27 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; +uint8_t x_18; +x_18 = !lean_is_exclusive(x_4); +if (x_18 == 0) +{ +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; uint8_t x_56; +x_19 = lean_ctor_get(x_4, 8); +x_20 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_19); +x_21 = lean_box(0); +x_22 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_23 = lean_name_mk_numeral(x_22, x_20); +x_24 = lean_box(0); +x_25 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_26 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_23); +lean_ctor_set(x_26, 3, x_24); +x_27 = l_List_redLength___main___rarg(x_17); +x_28 = lean_mk_empty_array_with_capacity(x_27); +x_29 = l_List_toArrayAux___main___rarg(x_17, x_28); +x_30 = l_Lean_nullKind___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_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_27, x_32); +lean_dec(x_27); +x_34 = lean_nat_add(x_33, x_32); +x_35 = lean_mk_empty_array_with_capacity(x_34); lean_inc(x_26); -x_28 = lean_array_push(x_26, x_27); -lean_inc(x_22); -x_29 = lean_array_push(x_28, x_22); -x_30 = l_List_toArrayAux___main___rarg(x_17, x_29); -x_31 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = lean_nat_add(x_25, x_23); -lean_dec(x_25); -x_34 = lean_mk_empty_array_with_capacity(x_33); -x_35 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98; -x_36 = lean_array_push(x_34, x_35); -lean_inc(x_22); -x_37 = lean_array_push(x_36, x_22); -x_38 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_39 = lean_array_push(x_37, x_38); -x_40 = l_List_toArrayAux___main___rarg(x_17, x_39); -x_41 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_40); -x_43 = lean_array_push(x_26, x_32); -x_44 = lean_array_push(x_43, x_42); -x_45 = l_List_toArrayAux___main___rarg(x_17, x_44); -x_46 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_9, 1, x_47); +lean_inc(x_35); +x_36 = lean_array_push(x_35, x_26); +lean_inc(x_31); +x_37 = lean_array_push(x_36, x_31); +x_38 = l_List_toArrayAux___main___rarg(x_17, x_37); +x_39 = l_Lean_Parser_Term_id___elambda__1___closed__4; +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_nat_add(x_34, x_32); +lean_dec(x_34); +x_42 = lean_mk_empty_array_with_capacity(x_41); +x_43 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; +x_44 = lean_array_push(x_42, x_43); +lean_inc(x_31); +x_45 = lean_array_push(x_44, x_31); +x_46 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_47 = lean_array_push(x_45, x_46); +x_48 = l_List_toArrayAux___main___rarg(x_17, x_47); +x_49 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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_35, x_40); +x_52 = lean_array_push(x_51, x_50); +x_53 = l_List_toArrayAux___main___rarg(x_17, x_52); +x_54 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +lean_ctor_set(x_9, 1, x_55); lean_ctor_set(x_2, 1, x_3); -x_48 = !lean_is_exclusive(x_16); -if (x_48 == 0) +x_56 = !lean_is_exclusive(x_16); +if (x_56 == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_16, 5); -x_50 = lean_nat_add(x_49, x_23); -lean_ctor_set(x_16, 5, x_50); -x_51 = !lean_is_exclusive(x_4); -if (x_51 == 0) +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_16, 5); +x_58 = lean_nat_add(x_57, x_32); +lean_ctor_set(x_16, 5, x_58); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_19); +lean_ctor_set(x_4, 8, x_59); +x_60 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_4, x_16); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_4, 8); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_49); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_4, 8, x_53); -x_54 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_4, x_16); -if (lean_obj_tag(x_54) == 0) +uint8_t x_61; +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) { -uint8_t x_55; -x_55 = !lean_is_exclusive(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_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; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_mk_empty_array_with_capacity(x_24); -lean_dec(x_24); -x_58 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; -lean_inc(x_57); -x_59 = lean_array_push(x_57, x_58); -x_60 = l_List_toArrayAux___main___rarg(x_17, x_59); -x_61 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -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_57, x_62); -x_64 = l_List_toArrayAux___main___rarg(x_17, x_63); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_21); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_nat_add(x_33, x_23); +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; +x_62 = lean_ctor_get(x_60, 0); +x_63 = lean_mk_empty_array_with_capacity(x_33); lean_dec(x_33); -x_67 = lean_mk_empty_array_with_capacity(x_66); -x_68 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_67); -x_69 = lean_array_push(x_67, x_68); -x_70 = lean_array_push(x_69, x_65); -x_71 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_72 = lean_array_push(x_70, x_71); -x_73 = lean_array_push(x_72, x_13); -x_74 = l_List_toArrayAux___main___rarg(x_17, x_73); -x_75 = l_Lean_Parser_Term_fun___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_nat_add(x_66, x_23); -lean_dec(x_66); -x_78 = lean_mk_empty_array_with_capacity(x_77); -lean_dec(x_77); -x_79 = lean_array_push(x_78, x_27); -lean_inc(x_22); -x_80 = lean_array_push(x_79, x_22); -x_81 = lean_array_push(x_80, x_22); -x_82 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_array_push(x_83, x_76); -x_85 = l_List_toArrayAux___main___rarg(x_17, x_84); -x_86 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_89 = lean_array_push(x_67, x_88); -x_90 = lean_array_push(x_89, x_87); -x_91 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_array_push(x_92, x_56); -x_94 = l_List_toArrayAux___main___rarg(x_17, x_93); -x_95 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -lean_ctor_set(x_54, 0, x_96); -return x_54; +x_64 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_63); +x_65 = lean_array_push(x_63, x_64); +x_66 = l_List_toArrayAux___main___rarg(x_17, x_65); +x_67 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; +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_63, x_68); +x_70 = l_List_toArrayAux___main___rarg(x_17, x_69); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_30); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_nat_add(x_41, x_32); +lean_dec(x_41); +x_73 = lean_mk_empty_array_with_capacity(x_72); +x_74 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_73); +x_75 = lean_array_push(x_73, x_74); +x_76 = lean_array_push(x_75, x_71); +x_77 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_78 = lean_array_push(x_76, x_77); +x_79 = lean_array_push(x_78, x_13); +x_80 = l_List_toArrayAux___main___rarg(x_17, x_79); +x_81 = l_Lean_Parser_Term_fun___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); +x_83 = lean_nat_add(x_72, x_32); +lean_dec(x_72); +x_84 = lean_mk_empty_array_with_capacity(x_83); +lean_dec(x_83); +x_85 = lean_array_push(x_84, x_26); +lean_inc(x_31); +x_86 = lean_array_push(x_85, x_31); +x_87 = lean_array_push(x_86, x_31); +x_88 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_89 = lean_array_push(x_87, x_88); +x_90 = lean_array_push(x_89, x_82); +x_91 = l_List_toArrayAux___main___rarg(x_17, x_90); +x_92 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_95 = lean_array_push(x_73, x_94); +x_96 = lean_array_push(x_95, x_93); +x_97 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_98 = lean_array_push(x_96, x_97); +x_99 = lean_array_push(x_98, x_62); +x_100 = l_List_toArrayAux___main___rarg(x_17, x_99); +x_101 = l_Lean_Parser_Term_let___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); +lean_ctor_set(x_60, 0, x_102); +return x_60; } else { -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; -x_97 = lean_ctor_get(x_54, 0); -x_98 = lean_ctor_get(x_54, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_54); -x_99 = lean_mk_empty_array_with_capacity(x_24); -lean_dec(x_24); -x_100 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; -lean_inc(x_99); -x_101 = lean_array_push(x_99, x_100); -x_102 = l_List_toArrayAux___main___rarg(x_17, x_101); -x_103 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_array_push(x_99, x_104); -x_106 = l_List_toArrayAux___main___rarg(x_17, x_105); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_21); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_nat_add(x_33, x_23); +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_103 = lean_ctor_get(x_60, 0); +x_104 = lean_ctor_get(x_60, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_60); +x_105 = lean_mk_empty_array_with_capacity(x_33); lean_dec(x_33); -x_109 = lean_mk_empty_array_with_capacity(x_108); -x_110 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_109); -x_111 = lean_array_push(x_109, x_110); -x_112 = lean_array_push(x_111, x_107); -x_113 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_114 = lean_array_push(x_112, x_113); -x_115 = lean_array_push(x_114, x_13); -x_116 = l_List_toArrayAux___main___rarg(x_17, x_115); -x_117 = l_Lean_Parser_Term_fun___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_nat_add(x_108, x_23); -lean_dec(x_108); -x_120 = lean_mk_empty_array_with_capacity(x_119); -lean_dec(x_119); -x_121 = lean_array_push(x_120, x_27); -lean_inc(x_22); -x_122 = lean_array_push(x_121, x_22); -x_123 = lean_array_push(x_122, x_22); -x_124 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_125 = lean_array_push(x_123, x_124); -x_126 = lean_array_push(x_125, x_118); -x_127 = l_List_toArrayAux___main___rarg(x_17, x_126); -x_128 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_131 = lean_array_push(x_109, x_130); -x_132 = lean_array_push(x_131, x_129); -x_133 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_134 = lean_array_push(x_132, x_133); -x_135 = lean_array_push(x_134, x_97); -x_136 = l_List_toArrayAux___main___rarg(x_17, x_135); -x_137 = l_Lean_Parser_Term_let___elambda__1___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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_98); -return x_139; +x_106 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_105); +x_107 = lean_array_push(x_105, x_106); +x_108 = l_List_toArrayAux___main___rarg(x_17, x_107); +x_109 = l_Lean_Parser_Term_hole___elambda__1___rarg___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_105, x_110); +x_112 = l_List_toArrayAux___main___rarg(x_17, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_30); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_nat_add(x_41, x_32); +lean_dec(x_41); +x_115 = lean_mk_empty_array_with_capacity(x_114); +x_116 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_115); +x_117 = lean_array_push(x_115, x_116); +x_118 = lean_array_push(x_117, x_113); +x_119 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_120 = lean_array_push(x_118, x_119); +x_121 = lean_array_push(x_120, x_13); +x_122 = l_List_toArrayAux___main___rarg(x_17, x_121); +x_123 = l_Lean_Parser_Term_fun___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); +x_125 = lean_nat_add(x_114, x_32); +lean_dec(x_114); +x_126 = lean_mk_empty_array_with_capacity(x_125); +lean_dec(x_125); +x_127 = lean_array_push(x_126, x_26); +lean_inc(x_31); +x_128 = lean_array_push(x_127, x_31); +x_129 = lean_array_push(x_128, x_31); +x_130 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_131 = lean_array_push(x_129, x_130); +x_132 = lean_array_push(x_131, x_124); +x_133 = l_List_toArrayAux___main___rarg(x_17, x_132); +x_134 = l_Lean_Parser_Term_letIdDecl___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___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_137 = lean_array_push(x_115, x_136); +x_138 = lean_array_push(x_137, x_135); +x_139 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_140 = lean_array_push(x_138, x_139); +x_141 = lean_array_push(x_140, x_103); +x_142 = l_List_toArrayAux___main___rarg(x_17, x_141); +x_143 = l_Lean_Parser_Term_let___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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_104); +return x_145; } } else { -uint8_t x_140; +uint8_t x_146; +lean_dec(x_41); lean_dec(x_33); -lean_dec(x_24); -lean_dec(x_22); +lean_dec(x_31); +lean_dec(x_26); lean_dec(x_13); -x_140 = !lean_is_exclusive(x_54); -if (x_140 == 0) +x_146 = !lean_is_exclusive(x_60); +if (x_146 == 0) { -return x_54; +return x_60; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_54, 0); -x_142 = lean_ctor_get(x_54, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_54); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_60, 0); +x_148 = lean_ctor_get(x_60, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_60); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +return x_149; } } } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_144 = lean_ctor_get(x_4, 0); -x_145 = lean_ctor_get(x_4, 1); -x_146 = lean_ctor_get(x_4, 2); -x_147 = lean_ctor_get(x_4, 3); -x_148 = lean_ctor_get(x_4, 4); -x_149 = lean_ctor_get(x_4, 5); -x_150 = lean_ctor_get(x_4, 6); -x_151 = lean_ctor_get(x_4, 7); -x_152 = lean_ctor_get(x_4, 8); -x_153 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +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; +x_150 = lean_ctor_get(x_16, 0); +x_151 = lean_ctor_get(x_16, 1); +x_152 = lean_ctor_get(x_16, 2); +x_153 = lean_ctor_get(x_16, 3); +x_154 = lean_ctor_get(x_16, 4); +x_155 = lean_ctor_get(x_16, 5); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); lean_inc(x_152); lean_inc(x_151); lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_4); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_49); -lean_ctor_set(x_154, 1, x_152); -x_155 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_155, 0, x_144); -lean_ctor_set(x_155, 1, x_145); -lean_ctor_set(x_155, 2, x_146); -lean_ctor_set(x_155, 3, x_147); -lean_ctor_set(x_155, 4, x_148); -lean_ctor_set(x_155, 5, x_149); -lean_ctor_set(x_155, 6, x_150); -lean_ctor_set(x_155, 7, x_151); -lean_ctor_set(x_155, 8, x_154); -lean_ctor_set_uint8(x_155, sizeof(void*)*9, x_153); -x_156 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_155, x_16); -if (lean_obj_tag(x_156) == 0) +lean_dec(x_16); +x_156 = lean_nat_add(x_155, x_32); +x_157 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_157, 0, x_150); +lean_ctor_set(x_157, 1, x_151); +lean_ctor_set(x_157, 2, x_152); +lean_ctor_set(x_157, 3, x_153); +lean_ctor_set(x_157, 4, x_154); +lean_ctor_set(x_157, 5, x_156); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_19); +lean_ctor_set(x_4, 8, x_158); +x_159 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_4, x_157); +if (lean_obj_tag(x_159) == 0) { -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; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_159 = x_156; -} else { - lean_dec_ref(x_156); - x_159 = lean_box(0); -} -x_160 = lean_mk_empty_array_with_capacity(x_24); -lean_dec(x_24); -x_161 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +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; +x_160 = lean_ctor_get(x_159, 0); lean_inc(x_160); -x_162 = lean_array_push(x_160, x_161); -x_163 = l_List_toArrayAux___main___rarg(x_17, x_162); -x_164 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = lean_array_push(x_160, x_165); -x_167 = l_List_toArrayAux___main___rarg(x_17, x_166); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_162 = x_159; +} else { + lean_dec_ref(x_159); + x_162 = lean_box(0); +} +x_163 = lean_mk_empty_array_with_capacity(x_33); +lean_dec(x_33); +x_164 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_163); +x_165 = lean_array_push(x_163, x_164); +x_166 = l_List_toArrayAux___main___rarg(x_17, x_165); +x_167 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_21); -lean_ctor_set(x_168, 1, x_167); -x_169 = lean_nat_add(x_33, x_23); -lean_dec(x_33); -x_170 = lean_mk_empty_array_with_capacity(x_169); -x_171 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_170); -x_172 = lean_array_push(x_170, x_171); -x_173 = lean_array_push(x_172, x_168); -x_174 = l_Lean_Elab_Term_stxQuot_expand___closed__33; +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = lean_array_push(x_163, x_168); +x_170 = l_List_toArrayAux___main___rarg(x_17, x_169); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_30); +lean_ctor_set(x_171, 1, x_170); +x_172 = lean_nat_add(x_41, x_32); +lean_dec(x_41); +x_173 = lean_mk_empty_array_with_capacity(x_172); +x_174 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_173); x_175 = lean_array_push(x_173, x_174); -x_176 = lean_array_push(x_175, x_13); -x_177 = l_List_toArrayAux___main___rarg(x_17, x_176); -x_178 = l_Lean_Parser_Term_fun___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_nat_add(x_169, x_23); -lean_dec(x_169); -x_181 = lean_mk_empty_array_with_capacity(x_180); -lean_dec(x_180); -x_182 = lean_array_push(x_181, x_27); -lean_inc(x_22); -x_183 = lean_array_push(x_182, x_22); -x_184 = lean_array_push(x_183, x_22); -x_185 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_186 = lean_array_push(x_184, x_185); -x_187 = lean_array_push(x_186, x_179); -x_188 = l_List_toArrayAux___main___rarg(x_17, x_187); -x_189 = l_Lean_Parser_Term_letIdDecl___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___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_192 = lean_array_push(x_170, x_191); -x_193 = lean_array_push(x_192, x_190); -x_194 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_195 = lean_array_push(x_193, x_194); -x_196 = lean_array_push(x_195, x_157); -x_197 = l_List_toArrayAux___main___rarg(x_17, x_196); -x_198 = l_Lean_Parser_Term_let___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); -if (lean_is_scalar(x_159)) { - x_200 = lean_alloc_ctor(0, 2, 0); +x_176 = lean_array_push(x_175, x_171); +x_177 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_178 = lean_array_push(x_176, x_177); +x_179 = lean_array_push(x_178, x_13); +x_180 = l_List_toArrayAux___main___rarg(x_17, x_179); +x_181 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_180); +x_183 = lean_nat_add(x_172, x_32); +lean_dec(x_172); +x_184 = lean_mk_empty_array_with_capacity(x_183); +lean_dec(x_183); +x_185 = lean_array_push(x_184, x_26); +lean_inc(x_31); +x_186 = lean_array_push(x_185, x_31); +x_187 = lean_array_push(x_186, x_31); +x_188 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_189 = lean_array_push(x_187, x_188); +x_190 = lean_array_push(x_189, x_182); +x_191 = l_List_toArrayAux___main___rarg(x_17, x_190); +x_192 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +x_194 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_195 = lean_array_push(x_173, x_194); +x_196 = lean_array_push(x_195, x_193); +x_197 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_198 = lean_array_push(x_196, x_197); +x_199 = lean_array_push(x_198, x_160); +x_200 = l_List_toArrayAux___main___rarg(x_17, x_199); +x_201 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +if (lean_is_scalar(x_162)) { + x_203 = lean_alloc_ctor(0, 2, 0); } else { - x_200 = x_159; + x_203 = x_162; } -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_158); -return x_200; +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_161); +return x_203; } else { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_41); lean_dec(x_33); -lean_dec(x_24); -lean_dec(x_22); +lean_dec(x_31); +lean_dec(x_26); lean_dec(x_13); -x_201 = lean_ctor_get(x_156, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_156, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_156)) { - lean_ctor_release(x_156, 0); - lean_ctor_release(x_156, 1); - x_203 = x_156; +x_204 = lean_ctor_get(x_159, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_159, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_206 = x_159; } else { - lean_dec_ref(x_156); - x_203 = lean_box(0); + lean_dec_ref(x_159); + x_206 = lean_box(0); } -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_206)) { + x_207 = lean_alloc_ctor(1, 2, 0); } else { - x_204 = x_203; + x_207 = x_206; } -lean_ctor_set(x_204, 0, x_201); -lean_ctor_set(x_204, 1, x_202); -return x_204; +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_205); +return x_207; } } } else { -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; uint8_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_205 = lean_ctor_get(x_16, 0); -x_206 = lean_ctor_get(x_16, 1); -x_207 = lean_ctor_get(x_16, 2); -x_208 = lean_ctor_get(x_16, 3); -x_209 = lean_ctor_get(x_16, 4); -x_210 = lean_ctor_get(x_16, 5); +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; uint8_t 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; +x_208 = lean_ctor_get(x_4, 0); +x_209 = lean_ctor_get(x_4, 1); +x_210 = lean_ctor_get(x_4, 2); +x_211 = lean_ctor_get(x_4, 3); +x_212 = lean_ctor_get(x_4, 4); +x_213 = lean_ctor_get(x_4, 5); +x_214 = lean_ctor_get(x_4, 6); +x_215 = lean_ctor_get(x_4, 7); +x_216 = lean_ctor_get(x_4, 8); +x_217 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +lean_inc(x_216); +lean_inc(x_215); +lean_inc(x_214); +lean_inc(x_213); +lean_inc(x_212); +lean_inc(x_211); lean_inc(x_210); lean_inc(x_209); lean_inc(x_208); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_16); -x_211 = lean_nat_add(x_210, x_23); -x_212 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_212, 0, x_205); -lean_ctor_set(x_212, 1, x_206); -lean_ctor_set(x_212, 2, x_207); -lean_ctor_set(x_212, 3, x_208); -lean_ctor_set(x_212, 4, x_209); -lean_ctor_set(x_212, 5, x_211); -x_213 = lean_ctor_get(x_4, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_4, 1); -lean_inc(x_214); -x_215 = lean_ctor_get(x_4, 2); -lean_inc(x_215); -x_216 = lean_ctor_get(x_4, 3); -lean_inc(x_216); -x_217 = lean_ctor_get(x_4, 4); -lean_inc(x_217); -x_218 = lean_ctor_get(x_4, 5); -lean_inc(x_218); -x_219 = lean_ctor_get(x_4, 6); -lean_inc(x_219); -x_220 = lean_ctor_get(x_4, 7); -lean_inc(x_220); -x_221 = lean_ctor_get(x_4, 8); -lean_inc(x_221); -x_222 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_223 = x_4; -} else { - lean_dec_ref(x_4); - x_223 = lean_box(0); -} -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_210); -lean_ctor_set(x_224, 1, x_221); -if (lean_is_scalar(x_223)) { - x_225 = lean_alloc_ctor(0, 9, 1); -} else { - x_225 = x_223; -} -lean_ctor_set(x_225, 0, x_213); -lean_ctor_set(x_225, 1, x_214); -lean_ctor_set(x_225, 2, x_215); -lean_ctor_set(x_225, 3, x_216); -lean_ctor_set(x_225, 4, x_217); -lean_ctor_set(x_225, 5, x_218); -lean_ctor_set(x_225, 6, x_219); -lean_ctor_set(x_225, 7, x_220); -lean_ctor_set(x_225, 8, x_224); -lean_ctor_set_uint8(x_225, sizeof(void*)*9, x_222); -x_226 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_225, x_212); -if (lean_obj_tag(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; 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; -x_227 = lean_ctor_get(x_226, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 1); -lean_inc(x_228); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_229 = x_226; -} else { - lean_dec_ref(x_226); - x_229 = lean_box(0); -} -x_230 = lean_mk_empty_array_with_capacity(x_24); -lean_dec(x_24); -x_231 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; -lean_inc(x_230); -x_232 = lean_array_push(x_230, x_231); -x_233 = l_List_toArrayAux___main___rarg(x_17, x_232); -x_234 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = lean_array_push(x_230, x_235); -x_237 = l_List_toArrayAux___main___rarg(x_17, x_236); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_21); -lean_ctor_set(x_238, 1, x_237); -x_239 = lean_nat_add(x_33, x_23); -lean_dec(x_33); -x_240 = lean_mk_empty_array_with_capacity(x_239); -x_241 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_240); -x_242 = lean_array_push(x_240, x_241); -x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_245 = lean_array_push(x_243, x_244); -x_246 = lean_array_push(x_245, x_13); -x_247 = l_List_toArrayAux___main___rarg(x_17, x_246); -x_248 = l_Lean_Parser_Term_fun___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); -x_250 = lean_nat_add(x_239, x_23); -lean_dec(x_239); -x_251 = lean_mk_empty_array_with_capacity(x_250); -lean_dec(x_250); -x_252 = lean_array_push(x_251, x_27); -lean_inc(x_22); -x_253 = lean_array_push(x_252, x_22); -x_254 = lean_array_push(x_253, x_22); -x_255 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_256 = lean_array_push(x_254, x_255); -x_257 = lean_array_push(x_256, x_249); -x_258 = l_List_toArrayAux___main___rarg(x_17, x_257); -x_259 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -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___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_262 = lean_array_push(x_240, x_261); -x_263 = lean_array_push(x_262, x_260); -x_264 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_265 = lean_array_push(x_263, x_264); -x_266 = lean_array_push(x_265, x_227); -x_267 = l_List_toArrayAux___main___rarg(x_17, x_266); -x_268 = l_Lean_Parser_Term_let___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); -if (lean_is_scalar(x_229)) { - x_270 = lean_alloc_ctor(0, 2, 0); -} else { - x_270 = x_229; -} -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_228); -return x_270; -} -else -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_33); -lean_dec(x_24); -lean_dec(x_22); -lean_dec(x_13); -x_271 = lean_ctor_get(x_226, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_226, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_273 = x_226; -} else { - lean_dec_ref(x_226); - x_273 = lean_box(0); -} -if (lean_is_scalar(x_273)) { - x_274 = lean_alloc_ctor(1, 2, 0); -} else { - x_274 = x_273; -} -lean_ctor_set(x_274, 0, x_271); -lean_ctor_set(x_274, 1, x_272); -return x_274; -} -} -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; -x_275 = l_List_redLength___main___rarg(x_17); -x_276 = lean_mk_empty_array_with_capacity(x_275); -lean_dec(x_275); -lean_inc(x_17); -x_277 = l_List_toArrayAux___main___rarg(x_17, x_276); -x_278 = !lean_is_exclusive(x_17); -if (x_278 == 0) -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; -x_279 = lean_ctor_get(x_17, 1); -lean_dec(x_279); -x_280 = lean_ctor_get(x_17, 0); -lean_dec(x_280); -x_281 = l_Lean_nullKind___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_277); -x_283 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; -x_284 = lean_array_push(x_283, x_282); -x_285 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; -x_286 = lean_array_push(x_284, x_285); -x_287 = lean_array_push(x_286, x_13); -x_288 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11; -lean_ctor_set(x_9, 1, x_290); -lean_ctor_set(x_17, 1, x_3); -lean_ctor_set(x_17, 0, x_9); -x_291 = !lean_is_exclusive(x_16); -if (x_291 == 0) -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; -x_292 = lean_ctor_get(x_16, 5); -x_293 = lean_unsigned_to_nat(1u); -x_294 = lean_nat_add(x_292, x_293); -lean_ctor_set(x_16, 5, x_294); -x_295 = !lean_is_exclusive(x_4); -if (x_295 == 0) -{ -lean_object* x_296; lean_object* x_297; -x_296 = lean_ctor_get(x_4, 8); -lean_ctor_set(x_2, 1, x_296); -lean_ctor_set(x_2, 0, x_292); -lean_ctor_set(x_4, 8, x_2); -x_297 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_4, x_16); -if (lean_obj_tag(x_297) == 0) -{ -uint8_t x_298; -x_298 = !lean_is_exclusive(x_297); -if (x_298 == 0) -{ -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; -x_299 = lean_ctor_get(x_297, 0); -x_300 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_301 = lean_array_push(x_300, x_289); -x_302 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); -x_304 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_305 = lean_array_push(x_304, x_303); -x_306 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_307 = lean_array_push(x_305, x_306); -x_308 = lean_array_push(x_307, x_299); -x_309 = l_Lean_Parser_Term_let___elambda__1___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); -lean_ctor_set(x_297, 0, x_310); -return x_297; -} -else -{ -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; -x_311 = lean_ctor_get(x_297, 0); -x_312 = lean_ctor_get(x_297, 1); -lean_inc(x_312); -lean_inc(x_311); -lean_dec(x_297); -x_313 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_314 = lean_array_push(x_313, x_289); -x_315 = l_Lean_Parser_Term_letIdDecl___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 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_318 = lean_array_push(x_317, x_316); -x_319 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_320 = lean_array_push(x_318, x_319); -x_321 = lean_array_push(x_320, x_311); -x_322 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_321); -x_324 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_312); -return x_324; -} -} -else -{ -uint8_t x_325; -lean_dec(x_289); -x_325 = !lean_is_exclusive(x_297); -if (x_325 == 0) -{ -return x_297; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_297, 0); -x_327 = lean_ctor_get(x_297, 1); -lean_inc(x_327); -lean_inc(x_326); -lean_dec(x_297); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_326); -lean_ctor_set(x_328, 1, x_327); -return x_328; -} -} -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; lean_object* x_339; lean_object* x_340; -x_329 = lean_ctor_get(x_4, 0); -x_330 = lean_ctor_get(x_4, 1); -x_331 = lean_ctor_get(x_4, 2); -x_332 = lean_ctor_get(x_4, 3); -x_333 = lean_ctor_get(x_4, 4); -x_334 = lean_ctor_get(x_4, 5); -x_335 = lean_ctor_get(x_4, 6); -x_336 = lean_ctor_get(x_4, 7); -x_337 = lean_ctor_get(x_4, 8); -x_338 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -lean_inc(x_337); -lean_inc(x_336); -lean_inc(x_335); -lean_inc(x_334); -lean_inc(x_333); -lean_inc(x_332); -lean_inc(x_331); -lean_inc(x_330); -lean_inc(x_329); lean_dec(x_4); -lean_ctor_set(x_2, 1, x_337); -lean_ctor_set(x_2, 0, x_292); -x_339 = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(x_339, 0, x_329); -lean_ctor_set(x_339, 1, x_330); -lean_ctor_set(x_339, 2, x_331); -lean_ctor_set(x_339, 3, x_332); -lean_ctor_set(x_339, 4, x_333); -lean_ctor_set(x_339, 5, x_334); -lean_ctor_set(x_339, 6, x_335); -lean_ctor_set(x_339, 7, x_336); -lean_ctor_set(x_339, 8, x_2); -lean_ctor_set_uint8(x_339, sizeof(void*)*9, x_338); -x_340 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_339, x_16); -if (lean_obj_tag(x_340) == 0) -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - lean_ctor_release(x_340, 1); - x_343 = x_340; -} else { - lean_dec_ref(x_340); - x_343 = lean_box(0); -} -x_344 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_345 = lean_array_push(x_344, x_289); -x_346 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_345); -x_348 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_349 = lean_array_push(x_348, x_347); -x_350 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_351 = lean_array_push(x_349, x_350); -x_352 = lean_array_push(x_351, x_341); -x_353 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -if (lean_is_scalar(x_343)) { - x_355 = lean_alloc_ctor(0, 2, 0); -} else { - x_355 = x_343; -} -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_342); -return x_355; -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -lean_dec(x_289); -x_356 = lean_ctor_get(x_340, 0); -lean_inc(x_356); -x_357 = lean_ctor_get(x_340, 1); -lean_inc(x_357); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - lean_ctor_release(x_340, 1); - x_358 = x_340; -} else { - lean_dec_ref(x_340); - x_358 = lean_box(0); -} -if (lean_is_scalar(x_358)) { - x_359 = lean_alloc_ctor(1, 2, 0); -} else { - x_359 = x_358; -} -lean_ctor_set(x_359, 0, x_356); -lean_ctor_set(x_359, 1, x_357); -return x_359; -} -} -} -else -{ -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; uint8_t x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; -x_360 = lean_ctor_get(x_16, 0); -x_361 = lean_ctor_get(x_16, 1); -x_362 = lean_ctor_get(x_16, 2); -x_363 = lean_ctor_get(x_16, 3); -x_364 = lean_ctor_get(x_16, 4); -x_365 = lean_ctor_get(x_16, 5); -lean_inc(x_365); -lean_inc(x_364); -lean_inc(x_363); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_dec(x_16); -x_366 = lean_unsigned_to_nat(1u); -x_367 = lean_nat_add(x_365, x_366); -x_368 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_368, 0, x_360); -lean_ctor_set(x_368, 1, x_361); -lean_ctor_set(x_368, 2, x_362); -lean_ctor_set(x_368, 3, x_363); -lean_ctor_set(x_368, 4, x_364); -lean_ctor_set(x_368, 5, x_367); -x_369 = lean_ctor_get(x_4, 0); -lean_inc(x_369); -x_370 = lean_ctor_get(x_4, 1); -lean_inc(x_370); -x_371 = lean_ctor_get(x_4, 2); -lean_inc(x_371); -x_372 = lean_ctor_get(x_4, 3); -lean_inc(x_372); -x_373 = lean_ctor_get(x_4, 4); -lean_inc(x_373); -x_374 = lean_ctor_get(x_4, 5); -lean_inc(x_374); -x_375 = lean_ctor_get(x_4, 6); -lean_inc(x_375); -x_376 = lean_ctor_get(x_4, 7); -lean_inc(x_376); -x_377 = lean_ctor_get(x_4, 8); -lean_inc(x_377); -x_378 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_379 = x_4; -} else { - lean_dec_ref(x_4); - x_379 = lean_box(0); -} -lean_ctor_set(x_2, 1, x_377); -lean_ctor_set(x_2, 0, x_365); -if (lean_is_scalar(x_379)) { - x_380 = lean_alloc_ctor(0, 9, 1); -} else { - x_380 = x_379; -} -lean_ctor_set(x_380, 0, x_369); -lean_ctor_set(x_380, 1, x_370); -lean_ctor_set(x_380, 2, x_371); -lean_ctor_set(x_380, 3, x_372); -lean_ctor_set(x_380, 4, x_373); -lean_ctor_set(x_380, 5, x_374); -lean_ctor_set(x_380, 6, x_375); -lean_ctor_set(x_380, 7, x_376); -lean_ctor_set(x_380, 8, x_2); -lean_ctor_set_uint8(x_380, sizeof(void*)*9, x_378); -x_381 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_380, x_368); -if (lean_obj_tag(x_381) == 0) -{ -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; -x_382 = lean_ctor_get(x_381, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_381, 1); -lean_inc(x_383); -if (lean_is_exclusive(x_381)) { - lean_ctor_release(x_381, 0); - lean_ctor_release(x_381, 1); - x_384 = x_381; -} else { - lean_dec_ref(x_381); - x_384 = lean_box(0); -} -x_385 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_386 = lean_array_push(x_385, x_289); -x_387 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -x_389 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_390 = lean_array_push(x_389, x_388); -x_391 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_392 = lean_array_push(x_390, x_391); -x_393 = lean_array_push(x_392, x_382); -x_394 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -if (lean_is_scalar(x_384)) { - x_396 = lean_alloc_ctor(0, 2, 0); -} else { - x_396 = x_384; -} -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_383); -return x_396; -} -else -{ -lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -lean_dec(x_289); -x_397 = lean_ctor_get(x_381, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_381, 1); -lean_inc(x_398); -if (lean_is_exclusive(x_381)) { - lean_ctor_release(x_381, 0); - lean_ctor_release(x_381, 1); - x_399 = x_381; -} else { - lean_dec_ref(x_381); - x_399 = lean_box(0); -} -if (lean_is_scalar(x_399)) { - x_400 = lean_alloc_ctor(1, 2, 0); -} else { - x_400 = x_399; -} -lean_ctor_set(x_400, 0, x_397); -lean_ctor_set(x_400, 1, x_398); -return x_400; -} -} -} -else -{ -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; -lean_dec(x_17); -x_401 = l_Lean_nullKind___closed__2; -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_277); -x_403 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; -x_404 = lean_array_push(x_403, x_402); -x_405 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; -x_406 = lean_array_push(x_404, x_405); -x_407 = lean_array_push(x_406, x_13); -x_408 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -x_410 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11; -lean_ctor_set(x_9, 1, x_410); -x_411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_411, 0, x_9); -lean_ctor_set(x_411, 1, x_3); -x_412 = lean_ctor_get(x_16, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_16, 1); -lean_inc(x_413); -x_414 = lean_ctor_get(x_16, 2); -lean_inc(x_414); -x_415 = lean_ctor_get(x_16, 3); -lean_inc(x_415); -x_416 = lean_ctor_get(x_16, 4); -lean_inc(x_416); -x_417 = lean_ctor_get(x_16, 5); -lean_inc(x_417); +x_218 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_216); +x_219 = lean_box(0); +x_220 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_221 = lean_name_mk_numeral(x_220, x_218); +x_222 = lean_box(0); +x_223 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_224 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_224, 0, x_219); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_221); +lean_ctor_set(x_224, 3, x_222); +x_225 = l_List_redLength___main___rarg(x_17); +x_226 = lean_mk_empty_array_with_capacity(x_225); +x_227 = l_List_toArrayAux___main___rarg(x_17, x_226); +x_228 = l_Lean_nullKind___closed__2; +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_227); +x_230 = lean_unsigned_to_nat(1u); +x_231 = lean_nat_add(x_225, x_230); +lean_dec(x_225); +x_232 = lean_nat_add(x_231, x_230); +x_233 = lean_mk_empty_array_with_capacity(x_232); +lean_inc(x_224); +lean_inc(x_233); +x_234 = lean_array_push(x_233, x_224); +lean_inc(x_229); +x_235 = lean_array_push(x_234, x_229); +x_236 = l_List_toArrayAux___main___rarg(x_17, x_235); +x_237 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_236); +x_239 = lean_nat_add(x_232, x_230); +lean_dec(x_232); +x_240 = lean_mk_empty_array_with_capacity(x_239); +x_241 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; +x_242 = lean_array_push(x_240, x_241); +lean_inc(x_229); +x_243 = lean_array_push(x_242, x_229); +x_244 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_245 = lean_array_push(x_243, x_244); +x_246 = l_List_toArrayAux___main___rarg(x_17, x_245); +x_247 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_246); +x_249 = lean_array_push(x_233, x_238); +x_250 = lean_array_push(x_249, x_248); +x_251 = l_List_toArrayAux___main___rarg(x_17, x_250); +x_252 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_251); +lean_ctor_set(x_9, 1, x_253); +lean_ctor_set(x_2, 1, x_3); +x_254 = lean_ctor_get(x_16, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_16, 1); +lean_inc(x_255); +x_256 = lean_ctor_get(x_16, 2); +lean_inc(x_256); +x_257 = lean_ctor_get(x_16, 3); +lean_inc(x_257); +x_258 = lean_ctor_get(x_16, 4); +lean_inc(x_258); +x_259 = lean_ctor_get(x_16, 5); +lean_inc(x_259); if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 0); lean_ctor_release(x_16, 1); @@ -12530,43 +11972,615 @@ if (lean_is_exclusive(x_16)) { lean_ctor_release(x_16, 3); lean_ctor_release(x_16, 4); lean_ctor_release(x_16, 5); - x_418 = x_16; + x_260 = x_16; } else { lean_dec_ref(x_16); - x_418 = lean_box(0); + x_260 = lean_box(0); } -x_419 = lean_unsigned_to_nat(1u); -x_420 = lean_nat_add(x_417, x_419); -if (lean_is_scalar(x_418)) { - x_421 = lean_alloc_ctor(0, 6, 0); +x_261 = lean_nat_add(x_259, x_230); +if (lean_is_scalar(x_260)) { + x_262 = lean_alloc_ctor(0, 6, 0); } else { - x_421 = x_418; + x_262 = x_260; } -lean_ctor_set(x_421, 0, x_412); -lean_ctor_set(x_421, 1, x_413); -lean_ctor_set(x_421, 2, x_414); -lean_ctor_set(x_421, 3, x_415); -lean_ctor_set(x_421, 4, x_416); -lean_ctor_set(x_421, 5, x_420); -x_422 = lean_ctor_get(x_4, 0); -lean_inc(x_422); -x_423 = lean_ctor_get(x_4, 1); -lean_inc(x_423); -x_424 = lean_ctor_get(x_4, 2); -lean_inc(x_424); -x_425 = lean_ctor_get(x_4, 3); -lean_inc(x_425); -x_426 = lean_ctor_get(x_4, 4); -lean_inc(x_426); -x_427 = lean_ctor_get(x_4, 5); -lean_inc(x_427); -x_428 = lean_ctor_get(x_4, 6); -lean_inc(x_428); -x_429 = lean_ctor_get(x_4, 7); -lean_inc(x_429); -x_430 = lean_ctor_get(x_4, 8); +lean_ctor_set(x_262, 0, x_254); +lean_ctor_set(x_262, 1, x_255); +lean_ctor_set(x_262, 2, x_256); +lean_ctor_set(x_262, 3, x_257); +lean_ctor_set(x_262, 4, x_258); +lean_ctor_set(x_262, 5, x_261); +x_263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_263, 0, x_259); +lean_ctor_set(x_263, 1, x_216); +x_264 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_264, 0, x_208); +lean_ctor_set(x_264, 1, x_209); +lean_ctor_set(x_264, 2, x_210); +lean_ctor_set(x_264, 3, x_211); +lean_ctor_set(x_264, 4, x_212); +lean_ctor_set(x_264, 5, x_213); +lean_ctor_set(x_264, 6, x_214); +lean_ctor_set(x_264, 7, x_215); +lean_ctor_set(x_264, 8, x_263); +lean_ctor_set_uint8(x_264, sizeof(void*)*9, x_217); +x_265 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_2, x_264, x_262); +if (lean_obj_tag(x_265) == 0) +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_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; +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_268 = x_265; +} else { + lean_dec_ref(x_265); + x_268 = lean_box(0); +} +x_269 = lean_mk_empty_array_with_capacity(x_231); +lean_dec(x_231); +x_270 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_269); +x_271 = lean_array_push(x_269, x_270); +x_272 = l_List_toArrayAux___main___rarg(x_17, x_271); +x_273 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; +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_269, x_274); +x_276 = l_List_toArrayAux___main___rarg(x_17, x_275); +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_228); +lean_ctor_set(x_277, 1, x_276); +x_278 = lean_nat_add(x_239, x_230); +lean_dec(x_239); +x_279 = lean_mk_empty_array_with_capacity(x_278); +x_280 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_279); +x_281 = lean_array_push(x_279, x_280); +x_282 = lean_array_push(x_281, x_277); +x_283 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_284 = lean_array_push(x_282, x_283); +x_285 = lean_array_push(x_284, x_13); +x_286 = l_List_toArrayAux___main___rarg(x_17, x_285); +x_287 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_287); +lean_ctor_set(x_288, 1, x_286); +x_289 = lean_nat_add(x_278, x_230); +lean_dec(x_278); +x_290 = lean_mk_empty_array_with_capacity(x_289); +lean_dec(x_289); +x_291 = lean_array_push(x_290, x_224); +lean_inc(x_229); +x_292 = lean_array_push(x_291, x_229); +x_293 = lean_array_push(x_292, x_229); +x_294 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_295 = lean_array_push(x_293, x_294); +x_296 = lean_array_push(x_295, x_288); +x_297 = l_List_toArrayAux___main___rarg(x_17, x_296); +x_298 = l_Lean_Parser_Term_letIdDecl___elambda__1___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_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_301 = lean_array_push(x_279, x_300); +x_302 = lean_array_push(x_301, x_299); +x_303 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_304 = lean_array_push(x_302, x_303); +x_305 = lean_array_push(x_304, x_266); +x_306 = l_List_toArrayAux___main___rarg(x_17, x_305); +x_307 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_307); +lean_ctor_set(x_308, 1, x_306); +if (lean_is_scalar(x_268)) { + x_309 = lean_alloc_ctor(0, 2, 0); +} else { + x_309 = x_268; +} +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_267); +return x_309; +} +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +lean_dec(x_239); +lean_dec(x_231); +lean_dec(x_229); +lean_dec(x_224); +lean_dec(x_13); +x_310 = lean_ctor_get(x_265, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_265, 1); +lean_inc(x_311); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_312 = x_265; +} else { + lean_dec_ref(x_265); + x_312 = lean_box(0); +} +if (lean_is_scalar(x_312)) { + x_313 = lean_alloc_ctor(1, 2, 0); +} else { + x_313 = x_312; +} +lean_ctor_set(x_313, 0, x_310); +lean_ctor_set(x_313, 1, x_311); +return x_313; +} +} +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_314 = l_List_redLength___main___rarg(x_17); +x_315 = lean_mk_empty_array_with_capacity(x_314); +lean_dec(x_314); +lean_inc(x_17); +x_316 = l_List_toArrayAux___main___rarg(x_17, x_315); +x_317 = !lean_is_exclusive(x_17); +if (x_317 == 0) +{ +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; uint8_t x_329; +x_318 = lean_ctor_get(x_17, 1); +lean_dec(x_318); +x_319 = lean_ctor_get(x_17, 0); +lean_dec(x_319); +x_320 = l_Lean_nullKind___closed__2; +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_316); +x_322 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; +x_323 = lean_array_push(x_322, x_321); +x_324 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; +x_325 = lean_array_push(x_323, x_324); +x_326 = lean_array_push(x_325, x_13); +x_327 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_326); +x_329 = !lean_is_exclusive(x_4); +if (x_329 == 0) +{ +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; uint8_t x_344; +x_330 = lean_ctor_get(x_4, 8); +x_331 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_330); +x_332 = lean_box(0); +x_333 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_334 = lean_name_mk_numeral(x_333, x_331); +x_335 = lean_box(0); +x_336 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_337 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_337, 0, x_332); +lean_ctor_set(x_337, 1, x_336); +lean_ctor_set(x_337, 2, x_334); +lean_ctor_set(x_337, 3, x_335); +x_338 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_inc(x_337); +x_339 = lean_array_push(x_338, x_337); +x_340 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_341 = lean_array_push(x_339, x_340); +x_342 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_341); +lean_ctor_set(x_9, 1, x_343); +lean_ctor_set(x_17, 1, x_3); +lean_ctor_set(x_17, 0, x_9); +x_344 = !lean_is_exclusive(x_16); +if (x_344 == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_345 = lean_ctor_get(x_16, 5); +x_346 = lean_unsigned_to_nat(1u); +x_347 = lean_nat_add(x_345, x_346); +lean_ctor_set(x_16, 5, x_347); +lean_ctor_set(x_2, 1, x_330); +lean_ctor_set(x_2, 0, x_345); +lean_ctor_set(x_4, 8, x_2); +x_348 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_4, x_16); +if (lean_obj_tag(x_348) == 0) +{ +uint8_t x_349; +x_349 = !lean_is_exclusive(x_348); +if (x_349 == 0) +{ +lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_350 = lean_ctor_get(x_348, 0); +x_351 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_352 = lean_array_push(x_351, x_337); +x_353 = lean_array_push(x_352, x_340); +x_354 = lean_array_push(x_353, x_340); +x_355 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_356 = lean_array_push(x_354, x_355); +x_357 = lean_array_push(x_356, x_328); +x_358 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_358); +lean_ctor_set(x_359, 1, x_357); +x_360 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_361 = lean_array_push(x_360, x_359); +x_362 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_363 = lean_array_push(x_361, x_362); +x_364 = lean_array_push(x_363, x_350); +x_365 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +lean_ctor_set(x_348, 0, x_366); +return x_348; +} +else +{ +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; +x_367 = lean_ctor_get(x_348, 0); +x_368 = lean_ctor_get(x_348, 1); +lean_inc(x_368); +lean_inc(x_367); +lean_dec(x_348); +x_369 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_370 = lean_array_push(x_369, x_337); +x_371 = lean_array_push(x_370, x_340); +x_372 = lean_array_push(x_371, x_340); +x_373 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_374 = lean_array_push(x_372, x_373); +x_375 = lean_array_push(x_374, x_328); +x_376 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_375); +x_378 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_379 = lean_array_push(x_378, x_377); +x_380 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_381 = lean_array_push(x_379, x_380); +x_382 = lean_array_push(x_381, x_367); +x_383 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_382); +x_385 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_368); +return x_385; +} +} +else +{ +uint8_t x_386; +lean_dec(x_337); +lean_dec(x_328); +x_386 = !lean_is_exclusive(x_348); +if (x_386 == 0) +{ +return x_348; +} +else +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_387 = lean_ctor_get(x_348, 0); +x_388 = lean_ctor_get(x_348, 1); +lean_inc(x_388); +lean_inc(x_387); +lean_dec(x_348); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_387); +lean_ctor_set(x_389, 1, x_388); +return x_389; +} +} +} +else +{ +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; +x_390 = lean_ctor_get(x_16, 0); +x_391 = lean_ctor_get(x_16, 1); +x_392 = lean_ctor_get(x_16, 2); +x_393 = lean_ctor_get(x_16, 3); +x_394 = lean_ctor_get(x_16, 4); +x_395 = lean_ctor_get(x_16, 5); +lean_inc(x_395); +lean_inc(x_394); +lean_inc(x_393); +lean_inc(x_392); +lean_inc(x_391); +lean_inc(x_390); +lean_dec(x_16); +x_396 = lean_unsigned_to_nat(1u); +x_397 = lean_nat_add(x_395, x_396); +x_398 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_398, 0, x_390); +lean_ctor_set(x_398, 1, x_391); +lean_ctor_set(x_398, 2, x_392); +lean_ctor_set(x_398, 3, x_393); +lean_ctor_set(x_398, 4, x_394); +lean_ctor_set(x_398, 5, x_397); +lean_ctor_set(x_2, 1, x_330); +lean_ctor_set(x_2, 0, x_395); +lean_ctor_set(x_4, 8, x_2); +x_399 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_4, x_398); +if (lean_obj_tag(x_399) == 0) +{ +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; +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_402 = x_399; +} else { + lean_dec_ref(x_399); + x_402 = lean_box(0); +} +x_403 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_404 = lean_array_push(x_403, x_337); +x_405 = lean_array_push(x_404, x_340); +x_406 = lean_array_push(x_405, x_340); +x_407 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_408 = lean_array_push(x_406, x_407); +x_409 = lean_array_push(x_408, x_328); +x_410 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +x_412 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_413 = lean_array_push(x_412, x_411); +x_414 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_415 = lean_array_push(x_413, x_414); +x_416 = lean_array_push(x_415, x_400); +x_417 = l_Lean_Parser_Term_let___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); +if (lean_is_scalar(x_402)) { + x_419 = lean_alloc_ctor(0, 2, 0); +} else { + x_419 = x_402; +} +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_401); +return x_419; +} +else +{ +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +lean_dec(x_337); +lean_dec(x_328); +x_420 = lean_ctor_get(x_399, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_399, 1); +lean_inc(x_421); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_422 = x_399; +} else { + lean_dec_ref(x_399); + x_422 = lean_box(0); +} +if (lean_is_scalar(x_422)) { + x_423 = lean_alloc_ctor(1, 2, 0); +} else { + x_423 = x_422; +} +lean_ctor_set(x_423, 0, x_420); +lean_ctor_set(x_423, 1, x_421); +return x_423; +} +} +} +else +{ +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; uint8_t 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; +x_424 = lean_ctor_get(x_4, 0); +x_425 = lean_ctor_get(x_4, 1); +x_426 = lean_ctor_get(x_4, 2); +x_427 = lean_ctor_get(x_4, 3); +x_428 = lean_ctor_get(x_4, 4); +x_429 = lean_ctor_get(x_4, 5); +x_430 = lean_ctor_get(x_4, 6); +x_431 = lean_ctor_get(x_4, 7); +x_432 = lean_ctor_get(x_4, 8); +x_433 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +lean_inc(x_432); +lean_inc(x_431); lean_inc(x_430); -x_431 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +lean_inc(x_429); +lean_inc(x_428); +lean_inc(x_427); +lean_inc(x_426); +lean_inc(x_425); +lean_inc(x_424); +lean_dec(x_4); +x_434 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_432); +x_435 = lean_box(0); +x_436 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_437 = lean_name_mk_numeral(x_436, x_434); +x_438 = lean_box(0); +x_439 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_440 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_440, 0, x_435); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set(x_440, 2, x_437); +lean_ctor_set(x_440, 3, x_438); +x_441 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_inc(x_440); +x_442 = lean_array_push(x_441, x_440); +x_443 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_444 = lean_array_push(x_442, x_443); +x_445 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_444); +lean_ctor_set(x_9, 1, x_446); +lean_ctor_set(x_17, 1, x_3); +lean_ctor_set(x_17, 0, x_9); +x_447 = lean_ctor_get(x_16, 0); +lean_inc(x_447); +x_448 = lean_ctor_get(x_16, 1); +lean_inc(x_448); +x_449 = lean_ctor_get(x_16, 2); +lean_inc(x_449); +x_450 = lean_ctor_get(x_16, 3); +lean_inc(x_450); +x_451 = lean_ctor_get(x_16, 4); +lean_inc(x_451); +x_452 = lean_ctor_get(x_16, 5); +lean_inc(x_452); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_453 = x_16; +} else { + lean_dec_ref(x_16); + x_453 = lean_box(0); +} +x_454 = lean_unsigned_to_nat(1u); +x_455 = lean_nat_add(x_452, x_454); +if (lean_is_scalar(x_453)) { + x_456 = lean_alloc_ctor(0, 6, 0); +} else { + x_456 = x_453; +} +lean_ctor_set(x_456, 0, x_447); +lean_ctor_set(x_456, 1, x_448); +lean_ctor_set(x_456, 2, x_449); +lean_ctor_set(x_456, 3, x_450); +lean_ctor_set(x_456, 4, x_451); +lean_ctor_set(x_456, 5, x_455); +lean_ctor_set(x_2, 1, x_432); +lean_ctor_set(x_2, 0, x_452); +x_457 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_457, 0, x_424); +lean_ctor_set(x_457, 1, x_425); +lean_ctor_set(x_457, 2, x_426); +lean_ctor_set(x_457, 3, x_427); +lean_ctor_set(x_457, 4, x_428); +lean_ctor_set(x_457, 5, x_429); +lean_ctor_set(x_457, 6, x_430); +lean_ctor_set(x_457, 7, x_431); +lean_ctor_set(x_457, 8, x_2); +lean_ctor_set_uint8(x_457, sizeof(void*)*9, x_433); +x_458 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_17, x_457, x_456); +if (lean_obj_tag(x_458) == 0) +{ +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; +x_459 = lean_ctor_get(x_458, 0); +lean_inc(x_459); +x_460 = lean_ctor_get(x_458, 1); +lean_inc(x_460); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + x_461 = x_458; +} else { + lean_dec_ref(x_458); + x_461 = lean_box(0); +} +x_462 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_463 = lean_array_push(x_462, x_440); +x_464 = lean_array_push(x_463, x_443); +x_465 = lean_array_push(x_464, x_443); +x_466 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_467 = lean_array_push(x_465, x_466); +x_468 = lean_array_push(x_467, x_328); +x_469 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_469); +lean_ctor_set(x_470, 1, x_468); +x_471 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_472 = lean_array_push(x_471, x_470); +x_473 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_474 = lean_array_push(x_472, x_473); +x_475 = lean_array_push(x_474, x_459); +x_476 = l_Lean_Parser_Term_let___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); +if (lean_is_scalar(x_461)) { + x_478 = lean_alloc_ctor(0, 2, 0); +} else { + x_478 = x_461; +} +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_460); +return x_478; +} +else +{ +lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; +lean_dec(x_440); +lean_dec(x_328); +x_479 = lean_ctor_get(x_458, 0); +lean_inc(x_479); +x_480 = lean_ctor_get(x_458, 1); +lean_inc(x_480); +if (lean_is_exclusive(x_458)) { + lean_ctor_release(x_458, 0); + lean_ctor_release(x_458, 1); + x_481 = x_458; +} else { + lean_dec_ref(x_458); + x_481 = lean_box(0); +} +if (lean_is_scalar(x_481)) { + x_482 = lean_alloc_ctor(1, 2, 0); +} else { + x_482 = x_481; +} +lean_ctor_set(x_482, 0, x_479); +lean_ctor_set(x_482, 1, x_480); +return x_482; +} +} +} +else +{ +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; uint8_t 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_dec(x_17); +x_483 = l_Lean_nullKind___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_316); +x_485 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; +x_486 = lean_array_push(x_485, x_484); +x_487 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; +x_488 = lean_array_push(x_486, x_487); +x_489 = lean_array_push(x_488, x_13); +x_490 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_491, 0, x_490); +lean_ctor_set(x_491, 1, x_489); +x_492 = lean_ctor_get(x_4, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_4, 1); +lean_inc(x_493); +x_494 = lean_ctor_get(x_4, 2); +lean_inc(x_494); +x_495 = lean_ctor_get(x_4, 3); +lean_inc(x_495); +x_496 = lean_ctor_get(x_4, 4); +lean_inc(x_496); +x_497 = lean_ctor_get(x_4, 5); +lean_inc(x_497); +x_498 = lean_ctor_get(x_4, 6); +lean_inc(x_498); +x_499 = lean_ctor_get(x_4, 7); +lean_inc(x_499); +x_500 = lean_ctor_get(x_4, 8); +lean_inc(x_500); +x_501 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -12577,99 +12591,166 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_432 = x_4; + x_502 = x_4; } else { lean_dec_ref(x_4); - x_432 = lean_box(0); + x_502 = lean_box(0); } -lean_ctor_set(x_2, 1, x_430); -lean_ctor_set(x_2, 0, x_417); -if (lean_is_scalar(x_432)) { - x_433 = lean_alloc_ctor(0, 9, 1); +x_503 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_500); +x_504 = lean_box(0); +x_505 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_506 = lean_name_mk_numeral(x_505, x_503); +x_507 = lean_box(0); +x_508 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_509 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_509, 0, x_504); +lean_ctor_set(x_509, 1, x_508); +lean_ctor_set(x_509, 2, x_506); +lean_ctor_set(x_509, 3, x_507); +x_510 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_inc(x_509); +x_511 = lean_array_push(x_510, x_509); +x_512 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_513 = lean_array_push(x_511, x_512); +x_514 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_513); +lean_ctor_set(x_9, 1, x_515); +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_9); +lean_ctor_set(x_516, 1, x_3); +x_517 = lean_ctor_get(x_16, 0); +lean_inc(x_517); +x_518 = lean_ctor_get(x_16, 1); +lean_inc(x_518); +x_519 = lean_ctor_get(x_16, 2); +lean_inc(x_519); +x_520 = lean_ctor_get(x_16, 3); +lean_inc(x_520); +x_521 = lean_ctor_get(x_16, 4); +lean_inc(x_521); +x_522 = lean_ctor_get(x_16, 5); +lean_inc(x_522); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + lean_ctor_release(x_16, 3); + lean_ctor_release(x_16, 4); + lean_ctor_release(x_16, 5); + x_523 = x_16; } else { - x_433 = x_432; + lean_dec_ref(x_16); + x_523 = lean_box(0); } -lean_ctor_set(x_433, 0, x_422); -lean_ctor_set(x_433, 1, x_423); -lean_ctor_set(x_433, 2, x_424); -lean_ctor_set(x_433, 3, x_425); -lean_ctor_set(x_433, 4, x_426); -lean_ctor_set(x_433, 5, x_427); -lean_ctor_set(x_433, 6, x_428); -lean_ctor_set(x_433, 7, x_429); -lean_ctor_set(x_433, 8, x_2); -lean_ctor_set_uint8(x_433, sizeof(void*)*9, x_431); -x_434 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_411, x_433, x_421); -if (lean_obj_tag(x_434) == 0) +x_524 = lean_unsigned_to_nat(1u); +x_525 = lean_nat_add(x_522, x_524); +if (lean_is_scalar(x_523)) { + x_526 = lean_alloc_ctor(0, 6, 0); +} else { + x_526 = x_523; +} +lean_ctor_set(x_526, 0, x_517); +lean_ctor_set(x_526, 1, x_518); +lean_ctor_set(x_526, 2, x_519); +lean_ctor_set(x_526, 3, x_520); +lean_ctor_set(x_526, 4, x_521); +lean_ctor_set(x_526, 5, x_525); +lean_ctor_set(x_2, 1, x_500); +lean_ctor_set(x_2, 0, x_522); +if (lean_is_scalar(x_502)) { + x_527 = lean_alloc_ctor(0, 9, 1); +} else { + x_527 = x_502; +} +lean_ctor_set(x_527, 0, x_492); +lean_ctor_set(x_527, 1, x_493); +lean_ctor_set(x_527, 2, x_494); +lean_ctor_set(x_527, 3, x_495); +lean_ctor_set(x_527, 4, x_496); +lean_ctor_set(x_527, 5, x_497); +lean_ctor_set(x_527, 6, x_498); +lean_ctor_set(x_527, 7, x_499); +lean_ctor_set(x_527, 8, x_2); +lean_ctor_set_uint8(x_527, sizeof(void*)*9, x_501); +x_528 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_11, x_516, x_527, x_526); +if (lean_obj_tag(x_528) == 0) { -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; -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -if (lean_is_exclusive(x_434)) { - lean_ctor_release(x_434, 0); - lean_ctor_release(x_434, 1); - x_437 = x_434; +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; +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); +lean_inc(x_530); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + lean_ctor_release(x_528, 1); + x_531 = x_528; } else { - lean_dec_ref(x_434); - x_437 = lean_box(0); + lean_dec_ref(x_528); + x_531 = lean_box(0); } -x_438 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_439 = lean_array_push(x_438, x_409); -x_440 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_439); -x_442 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_443 = lean_array_push(x_442, x_441); -x_444 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_445 = lean_array_push(x_443, x_444); -x_446 = lean_array_push(x_445, x_435); -x_447 = l_Lean_Parser_Term_let___elambda__1___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); -if (lean_is_scalar(x_437)) { - x_449 = lean_alloc_ctor(0, 2, 0); +x_532 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_533 = lean_array_push(x_532, x_509); +x_534 = lean_array_push(x_533, x_512); +x_535 = lean_array_push(x_534, x_512); +x_536 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_537 = lean_array_push(x_535, x_536); +x_538 = lean_array_push(x_537, x_491); +x_539 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_538); +x_541 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_542 = lean_array_push(x_541, x_540); +x_543 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_544 = lean_array_push(x_542, x_543); +x_545 = lean_array_push(x_544, x_529); +x_546 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_547 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_547, 1, x_545); +if (lean_is_scalar(x_531)) { + x_548 = lean_alloc_ctor(0, 2, 0); } else { - x_449 = x_437; + x_548 = x_531; } -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_436); -return x_449; +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_530); +return x_548; } else { -lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec(x_409); -x_450 = lean_ctor_get(x_434, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_434, 1); -lean_inc(x_451); -if (lean_is_exclusive(x_434)) { - lean_ctor_release(x_434, 0); - lean_ctor_release(x_434, 1); - x_452 = x_434; +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; +lean_dec(x_509); +lean_dec(x_491); +x_549 = lean_ctor_get(x_528, 0); +lean_inc(x_549); +x_550 = lean_ctor_get(x_528, 1); +lean_inc(x_550); +if (lean_is_exclusive(x_528)) { + lean_ctor_release(x_528, 0); + lean_ctor_release(x_528, 1); + x_551 = x_528; } else { - lean_dec_ref(x_434); - x_452 = lean_box(0); + lean_dec_ref(x_528); + x_551 = lean_box(0); } -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_551)) { + x_552 = lean_alloc_ctor(1, 2, 0); } else { - x_453 = x_452; + x_552 = x_551; } -lean_ctor_set(x_453, 0, x_450); -lean_ctor_set(x_453, 1, x_451); -return x_453; +lean_ctor_set(x_552, 0, x_549); +lean_ctor_set(x_552, 1, x_550); +return x_552; } } } } else { -uint8_t x_454; +uint8_t x_553; lean_free_object(x_9); lean_dec(x_13); lean_dec(x_12); @@ -12678,666 +12759,356 @@ lean_dec(x_11); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_454 = !lean_is_exclusive(x_14); -if (x_454 == 0) +x_553 = !lean_is_exclusive(x_14); +if (x_553 == 0) { return x_14; } else { -lean_object* x_455; lean_object* x_456; lean_object* x_457; -x_455 = lean_ctor_get(x_14, 0); -x_456 = lean_ctor_get(x_14, 1); -lean_inc(x_456); -lean_inc(x_455); +lean_object* x_554; lean_object* x_555; lean_object* x_556; +x_554 = lean_ctor_get(x_14, 0); +x_555 = lean_ctor_get(x_14, 1); +lean_inc(x_555); +lean_inc(x_554); lean_dec(x_14); -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_455); -lean_ctor_set(x_457, 1, x_456); -return x_457; +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_554); +lean_ctor_set(x_556, 1, x_555); +return x_556; } } } else { -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; -x_458 = lean_ctor_get(x_2, 1); -x_459 = lean_ctor_get(x_9, 0); -x_460 = lean_ctor_get(x_9, 1); -lean_inc(x_460); -lean_inc(x_459); +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; +x_557 = lean_ctor_get(x_2, 1); +x_558 = lean_ctor_get(x_9, 0); +x_559 = lean_ctor_get(x_9, 1); +lean_inc(x_559); +lean_inc(x_558); lean_dec(x_9); -lean_inc(x_459); -x_461 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1(x_459, x_4, x_5); -if (lean_obj_tag(x_461) == 0) +lean_inc(x_558); +x_560 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1(x_558, x_4, x_5); +if (lean_obj_tag(x_560) == 0) { -lean_object* x_462; lean_object* x_463; lean_object* x_464; -x_462 = lean_ctor_get(x_461, 0); -lean_inc(x_462); -x_463 = lean_ctor_get(x_461, 1); -lean_inc(x_463); -lean_dec(x_461); -x_464 = l_List_join___main___rarg(x_462); -if (lean_obj_tag(x_464) == 0) +lean_object* x_561; lean_object* x_562; lean_object* x_563; +x_561 = lean_ctor_get(x_560, 0); +lean_inc(x_561); +x_562 = lean_ctor_get(x_560, 1); +lean_inc(x_562); +lean_dec(x_560); +x_563 = l_List_join___main___rarg(x_561); +if (lean_obj_tag(x_563) == 0) { -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; uint8_t x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; -x_465 = l_List_redLength___main___rarg(x_464); -x_466 = lean_mk_empty_array_with_capacity(x_465); -x_467 = l_List_toArrayAux___main___rarg(x_464, x_466); -x_468 = l_Lean_nullKind___closed__2; -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_468); -lean_ctor_set(x_469, 1, x_467); -x_470 = lean_unsigned_to_nat(1u); -x_471 = lean_nat_add(x_465, x_470); -lean_dec(x_465); -x_472 = lean_nat_add(x_471, x_470); -x_473 = lean_mk_empty_array_with_capacity(x_472); -x_474 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; -lean_inc(x_473); -x_475 = lean_array_push(x_473, x_474); -lean_inc(x_469); -x_476 = lean_array_push(x_475, x_469); -x_477 = l_List_toArrayAux___main___rarg(x_464, x_476); -x_478 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_479 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_479, 0, x_478); -lean_ctor_set(x_479, 1, x_477); -x_480 = lean_nat_add(x_472, x_470); -lean_dec(x_472); -x_481 = lean_mk_empty_array_with_capacity(x_480); -x_482 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98; -x_483 = lean_array_push(x_481, x_482); -lean_inc(x_469); -x_484 = lean_array_push(x_483, x_469); -x_485 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_486 = lean_array_push(x_484, x_485); -x_487 = l_List_toArrayAux___main___rarg(x_464, x_486); -x_488 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_488); -lean_ctor_set(x_489, 1, x_487); -x_490 = lean_array_push(x_473, x_479); -x_491 = lean_array_push(x_490, x_489); -x_492 = l_List_toArrayAux___main___rarg(x_464, x_491); -x_493 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_492); -x_495 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_495, 0, x_459); -lean_ctor_set(x_495, 1, x_494); -lean_ctor_set(x_2, 1, x_3); -lean_ctor_set(x_2, 0, x_495); -x_496 = lean_ctor_get(x_463, 0); -lean_inc(x_496); -x_497 = lean_ctor_get(x_463, 1); -lean_inc(x_497); -x_498 = lean_ctor_get(x_463, 2); -lean_inc(x_498); -x_499 = lean_ctor_get(x_463, 3); -lean_inc(x_499); -x_500 = lean_ctor_get(x_463, 4); -lean_inc(x_500); -x_501 = lean_ctor_get(x_463, 5); -lean_inc(x_501); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - lean_ctor_release(x_463, 4); - lean_ctor_release(x_463, 5); - x_502 = x_463; -} else { - lean_dec_ref(x_463); - x_502 = lean_box(0); -} -x_503 = lean_nat_add(x_501, x_470); -if (lean_is_scalar(x_502)) { - x_504 = lean_alloc_ctor(0, 6, 0); -} else { - x_504 = x_502; -} -lean_ctor_set(x_504, 0, x_496); -lean_ctor_set(x_504, 1, x_497); -lean_ctor_set(x_504, 2, x_498); -lean_ctor_set(x_504, 3, x_499); -lean_ctor_set(x_504, 4, x_500); -lean_ctor_set(x_504, 5, x_503); -x_505 = lean_ctor_get(x_4, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_4, 1); -lean_inc(x_506); -x_507 = lean_ctor_get(x_4, 2); -lean_inc(x_507); -x_508 = lean_ctor_get(x_4, 3); -lean_inc(x_508); -x_509 = lean_ctor_get(x_4, 4); -lean_inc(x_509); -x_510 = lean_ctor_get(x_4, 5); -lean_inc(x_510); -x_511 = lean_ctor_get(x_4, 6); -lean_inc(x_511); -x_512 = lean_ctor_get(x_4, 7); -lean_inc(x_512); -x_513 = lean_ctor_get(x_4, 8); -lean_inc(x_513); -x_514 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_515 = x_4; -} else { - lean_dec_ref(x_4); - x_515 = lean_box(0); -} -x_516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_516, 0, x_501); -lean_ctor_set(x_516, 1, x_513); -if (lean_is_scalar(x_515)) { - x_517 = lean_alloc_ctor(0, 9, 1); -} else { - x_517 = x_515; -} -lean_ctor_set(x_517, 0, x_505); -lean_ctor_set(x_517, 1, x_506); -lean_ctor_set(x_517, 2, x_507); -lean_ctor_set(x_517, 3, x_508); -lean_ctor_set(x_517, 4, x_509); -lean_ctor_set(x_517, 5, x_510); -lean_ctor_set(x_517, 6, x_511); -lean_ctor_set(x_517, 7, x_512); -lean_ctor_set(x_517, 8, x_516); -lean_ctor_set_uint8(x_517, sizeof(void*)*9, x_514); -x_518 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_458, x_2, x_517, x_504); -if (lean_obj_tag(x_518) == 0) -{ -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; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; -x_519 = lean_ctor_get(x_518, 0); -lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_521 = x_518; -} else { - lean_dec_ref(x_518); - x_521 = lean_box(0); -} -x_522 = lean_mk_empty_array_with_capacity(x_471); -lean_dec(x_471); -x_523 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; -lean_inc(x_522); -x_524 = lean_array_push(x_522, x_523); -x_525 = l_List_toArrayAux___main___rarg(x_464, x_524); -x_526 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -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 = lean_array_push(x_522, x_527); -x_529 = l_List_toArrayAux___main___rarg(x_464, x_528); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_468); -lean_ctor_set(x_530, 1, x_529); -x_531 = lean_nat_add(x_480, x_470); -lean_dec(x_480); -x_532 = lean_mk_empty_array_with_capacity(x_531); -x_533 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_532); -x_534 = lean_array_push(x_532, x_533); -x_535 = lean_array_push(x_534, x_530); -x_536 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_537 = lean_array_push(x_535, x_536); -x_538 = lean_array_push(x_537, x_460); -x_539 = l_List_toArrayAux___main___rarg(x_464, x_538); -x_540 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_541, 0, x_540); -lean_ctor_set(x_541, 1, x_539); -x_542 = lean_nat_add(x_531, x_470); -lean_dec(x_531); -x_543 = lean_mk_empty_array_with_capacity(x_542); -lean_dec(x_542); -x_544 = lean_array_push(x_543, x_474); -lean_inc(x_469); -x_545 = lean_array_push(x_544, x_469); -x_546 = lean_array_push(x_545, x_469); -x_547 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_548 = lean_array_push(x_546, x_547); -x_549 = lean_array_push(x_548, x_541); -x_550 = l_List_toArrayAux___main___rarg(x_464, x_549); -x_551 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_550); -x_553 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_554 = lean_array_push(x_532, x_553); -x_555 = lean_array_push(x_554, x_552); -x_556 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_557 = lean_array_push(x_555, x_556); -x_558 = lean_array_push(x_557, x_519); -x_559 = l_List_toArrayAux___main___rarg(x_464, x_558); -x_560 = l_Lean_Parser_Term_let___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); -if (lean_is_scalar(x_521)) { - x_562 = lean_alloc_ctor(0, 2, 0); -} else { - x_562 = x_521; -} -lean_ctor_set(x_562, 0, x_561); -lean_ctor_set(x_562, 1, x_520); -return x_562; -} -else -{ -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; -lean_dec(x_480); -lean_dec(x_471); -lean_dec(x_469); -lean_dec(x_460); -x_563 = lean_ctor_get(x_518, 0); -lean_inc(x_563); -x_564 = lean_ctor_get(x_518, 1); +lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; lean_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; 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; +x_564 = lean_ctor_get(x_4, 0); lean_inc(x_564); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_565 = x_518; +x_565 = lean_ctor_get(x_4, 1); +lean_inc(x_565); +x_566 = lean_ctor_get(x_4, 2); +lean_inc(x_566); +x_567 = lean_ctor_get(x_4, 3); +lean_inc(x_567); +x_568 = lean_ctor_get(x_4, 4); +lean_inc(x_568); +x_569 = lean_ctor_get(x_4, 5); +lean_inc(x_569); +x_570 = lean_ctor_get(x_4, 6); +lean_inc(x_570); +x_571 = lean_ctor_get(x_4, 7); +lean_inc(x_571); +x_572 = lean_ctor_get(x_4, 8); +lean_inc(x_572); +x_573 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + lean_ctor_release(x_4, 6); + lean_ctor_release(x_4, 7); + lean_ctor_release(x_4, 8); + x_574 = x_4; } else { - lean_dec_ref(x_518); - x_565 = lean_box(0); + lean_dec_ref(x_4); + x_574 = 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; 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; lean_object* x_600; lean_object* x_601; uint8_t x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_567 = l_List_redLength___main___rarg(x_464); -x_568 = lean_mk_empty_array_with_capacity(x_567); -lean_dec(x_567); -lean_inc(x_464); -x_569 = l_List_toArrayAux___main___rarg(x_464, x_568); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - x_570 = x_464; -} else { - lean_dec_ref(x_464); - x_570 = lean_box(0); -} -x_571 = l_Lean_nullKind___closed__2; -x_572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_572, 0, x_571); -lean_ctor_set(x_572, 1, x_569); -x_573 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; -x_574 = lean_array_push(x_573, x_572); -x_575 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; -x_576 = lean_array_push(x_574, x_575); -x_577 = lean_array_push(x_576, x_460); -x_578 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_579, 0, x_578); -lean_ctor_set(x_579, 1, x_577); -x_580 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11; -x_581 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_581, 0, x_459); +x_575 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_572); +x_576 = lean_box(0); +x_577 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_578 = lean_name_mk_numeral(x_577, x_575); +x_579 = lean_box(0); +x_580 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_581 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_581, 0, x_576); lean_ctor_set(x_581, 1, x_580); -if (lean_is_scalar(x_570)) { - x_582 = lean_alloc_ctor(1, 2, 0); -} else { - x_582 = x_570; -} -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_3); -x_583 = lean_ctor_get(x_463, 0); -lean_inc(x_583); -x_584 = lean_ctor_get(x_463, 1); -lean_inc(x_584); -x_585 = lean_ctor_get(x_463, 2); -lean_inc(x_585); -x_586 = lean_ctor_get(x_463, 3); +lean_ctor_set(x_581, 2, x_578); +lean_ctor_set(x_581, 3, x_579); +x_582 = l_List_redLength___main___rarg(x_563); +x_583 = lean_mk_empty_array_with_capacity(x_582); +x_584 = l_List_toArrayAux___main___rarg(x_563, x_583); +x_585 = l_Lean_nullKind___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_unsigned_to_nat(1u); +x_588 = lean_nat_add(x_582, x_587); +lean_dec(x_582); +x_589 = lean_nat_add(x_588, x_587); +x_590 = lean_mk_empty_array_with_capacity(x_589); +lean_inc(x_581); +lean_inc(x_590); +x_591 = lean_array_push(x_590, x_581); lean_inc(x_586); -x_587 = lean_ctor_get(x_463, 4); -lean_inc(x_587); -x_588 = lean_ctor_get(x_463, 5); -lean_inc(x_588); -if (lean_is_exclusive(x_463)) { - lean_ctor_release(x_463, 0); - lean_ctor_release(x_463, 1); - lean_ctor_release(x_463, 2); - lean_ctor_release(x_463, 3); - lean_ctor_release(x_463, 4); - lean_ctor_release(x_463, 5); - x_589 = x_463; +x_592 = lean_array_push(x_591, x_586); +x_593 = l_List_toArrayAux___main___rarg(x_563, x_592); +x_594 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_595, 0, x_594); +lean_ctor_set(x_595, 1, x_593); +x_596 = lean_nat_add(x_589, x_587); +lean_dec(x_589); +x_597 = lean_mk_empty_array_with_capacity(x_596); +x_598 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; +x_599 = lean_array_push(x_597, x_598); +lean_inc(x_586); +x_600 = lean_array_push(x_599, x_586); +x_601 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_602 = lean_array_push(x_600, x_601); +x_603 = l_List_toArrayAux___main___rarg(x_563, x_602); +x_604 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +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_590, x_595); +x_607 = lean_array_push(x_606, x_605); +x_608 = l_List_toArrayAux___main___rarg(x_563, x_607); +x_609 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_608); +x_611 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_611, 0, x_558); +lean_ctor_set(x_611, 1, x_610); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_611); +x_612 = lean_ctor_get(x_562, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_562, 1); +lean_inc(x_613); +x_614 = lean_ctor_get(x_562, 2); +lean_inc(x_614); +x_615 = lean_ctor_get(x_562, 3); +lean_inc(x_615); +x_616 = lean_ctor_get(x_562, 4); +lean_inc(x_616); +x_617 = lean_ctor_get(x_562, 5); +lean_inc(x_617); +if (lean_is_exclusive(x_562)) { + lean_ctor_release(x_562, 0); + lean_ctor_release(x_562, 1); + lean_ctor_release(x_562, 2); + lean_ctor_release(x_562, 3); + lean_ctor_release(x_562, 4); + lean_ctor_release(x_562, 5); + x_618 = x_562; } else { - lean_dec_ref(x_463); - x_589 = lean_box(0); + lean_dec_ref(x_562); + x_618 = lean_box(0); } -x_590 = lean_unsigned_to_nat(1u); -x_591 = lean_nat_add(x_588, x_590); -if (lean_is_scalar(x_589)) { - x_592 = lean_alloc_ctor(0, 6, 0); +x_619 = lean_nat_add(x_617, x_587); +if (lean_is_scalar(x_618)) { + x_620 = lean_alloc_ctor(0, 6, 0); } else { - x_592 = x_589; + x_620 = x_618; } -lean_ctor_set(x_592, 0, x_583); -lean_ctor_set(x_592, 1, x_584); -lean_ctor_set(x_592, 2, x_585); -lean_ctor_set(x_592, 3, x_586); -lean_ctor_set(x_592, 4, x_587); -lean_ctor_set(x_592, 5, x_591); -x_593 = lean_ctor_get(x_4, 0); -lean_inc(x_593); -x_594 = lean_ctor_get(x_4, 1); -lean_inc(x_594); -x_595 = lean_ctor_get(x_4, 2); -lean_inc(x_595); -x_596 = lean_ctor_get(x_4, 3); -lean_inc(x_596); -x_597 = lean_ctor_get(x_4, 4); -lean_inc(x_597); -x_598 = lean_ctor_get(x_4, 5); -lean_inc(x_598); -x_599 = lean_ctor_get(x_4, 6); -lean_inc(x_599); -x_600 = lean_ctor_get(x_4, 7); -lean_inc(x_600); -x_601 = lean_ctor_get(x_4, 8); -lean_inc(x_601); -x_602 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - lean_ctor_release(x_4, 2); - lean_ctor_release(x_4, 3); - lean_ctor_release(x_4, 4); - lean_ctor_release(x_4, 5); - lean_ctor_release(x_4, 6); - lean_ctor_release(x_4, 7); - lean_ctor_release(x_4, 8); - x_603 = x_4; +lean_ctor_set(x_620, 0, x_612); +lean_ctor_set(x_620, 1, x_613); +lean_ctor_set(x_620, 2, x_614); +lean_ctor_set(x_620, 3, x_615); +lean_ctor_set(x_620, 4, x_616); +lean_ctor_set(x_620, 5, x_619); +x_621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_621, 0, x_617); +lean_ctor_set(x_621, 1, x_572); +if (lean_is_scalar(x_574)) { + x_622 = lean_alloc_ctor(0, 9, 1); } else { - lean_dec_ref(x_4); - x_603 = lean_box(0); + x_622 = x_574; } -lean_ctor_set(x_2, 1, x_601); -lean_ctor_set(x_2, 0, x_588); -if (lean_is_scalar(x_603)) { - x_604 = lean_alloc_ctor(0, 9, 1); -} else { - x_604 = x_603; -} -lean_ctor_set(x_604, 0, x_593); -lean_ctor_set(x_604, 1, x_594); -lean_ctor_set(x_604, 2, x_595); -lean_ctor_set(x_604, 3, x_596); -lean_ctor_set(x_604, 4, x_597); -lean_ctor_set(x_604, 5, x_598); -lean_ctor_set(x_604, 6, x_599); -lean_ctor_set(x_604, 7, x_600); -lean_ctor_set(x_604, 8, x_2); -lean_ctor_set_uint8(x_604, sizeof(void*)*9, x_602); -x_605 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_458, x_582, x_604, x_592); -if (lean_obj_tag(x_605) == 0) +lean_ctor_set(x_622, 0, x_564); +lean_ctor_set(x_622, 1, x_565); +lean_ctor_set(x_622, 2, x_566); +lean_ctor_set(x_622, 3, x_567); +lean_ctor_set(x_622, 4, x_568); +lean_ctor_set(x_622, 5, x_569); +lean_ctor_set(x_622, 6, x_570); +lean_ctor_set(x_622, 7, x_571); +lean_ctor_set(x_622, 8, x_621); +lean_ctor_set_uint8(x_622, sizeof(void*)*9, x_573); +x_623 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_557, x_2, x_622, x_620); +if (lean_obj_tag(x_623) == 0) { -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; -x_606 = lean_ctor_get(x_605, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_605, 1); -lean_inc(x_607); -if (lean_is_exclusive(x_605)) { - lean_ctor_release(x_605, 0); - lean_ctor_release(x_605, 1); - x_608 = x_605; -} else { - lean_dec_ref(x_605); - x_608 = lean_box(0); -} -x_609 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_610 = lean_array_push(x_609, x_579); -x_611 = l_Lean_Parser_Term_letIdDecl___elambda__1___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 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_614 = lean_array_push(x_613, x_612); -x_615 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_616 = lean_array_push(x_614, x_615); -x_617 = lean_array_push(x_616, x_606); -x_618 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -if (lean_is_scalar(x_608)) { - x_620 = lean_alloc_ctor(0, 2, 0); -} else { - x_620 = x_608; -} -lean_ctor_set(x_620, 0, x_619); -lean_ctor_set(x_620, 1, x_607); -return x_620; -} -else -{ -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -lean_dec(x_579); -x_621 = lean_ctor_get(x_605, 0); -lean_inc(x_621); -x_622 = lean_ctor_get(x_605, 1); -lean_inc(x_622); -if (lean_is_exclusive(x_605)) { - lean_ctor_release(x_605, 0); - lean_ctor_release(x_605, 1); - x_623 = x_605; -} else { - lean_dec_ref(x_605); - x_623 = lean_box(0); -} -if (lean_is_scalar(x_623)) { - x_624 = lean_alloc_ctor(1, 2, 0); -} else { - x_624 = x_623; -} -lean_ctor_set(x_624, 0, x_621); -lean_ctor_set(x_624, 1, x_622); -return x_624; -} -} -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; -lean_dec(x_460); -lean_dec(x_459); -lean_free_object(x_2); -lean_dec(x_458); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_625 = lean_ctor_get(x_461, 0); +lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); lean_inc(x_625); -x_626 = lean_ctor_get(x_461, 1); -lean_inc(x_626); -if (lean_is_exclusive(x_461)) { - lean_ctor_release(x_461, 0); - lean_ctor_release(x_461, 1); - x_627 = x_461; +if (lean_is_exclusive(x_623)) { + lean_ctor_release(x_623, 0); + lean_ctor_release(x_623, 1); + x_626 = x_623; } else { - lean_dec_ref(x_461); - x_627 = lean_box(0); + lean_dec_ref(x_623); + x_626 = lean_box(0); } -if (lean_is_scalar(x_627)) { - x_628 = lean_alloc_ctor(1, 2, 0); +x_627 = lean_mk_empty_array_with_capacity(x_588); +lean_dec(x_588); +x_628 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_627); +x_629 = lean_array_push(x_627, x_628); +x_630 = l_List_toArrayAux___main___rarg(x_563, x_629); +x_631 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_631); +lean_ctor_set(x_632, 1, x_630); +x_633 = lean_array_push(x_627, x_632); +x_634 = l_List_toArrayAux___main___rarg(x_563, x_633); +x_635 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_635, 0, x_585); +lean_ctor_set(x_635, 1, x_634); +x_636 = lean_nat_add(x_596, x_587); +lean_dec(x_596); +x_637 = lean_mk_empty_array_with_capacity(x_636); +x_638 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_637); +x_639 = lean_array_push(x_637, x_638); +x_640 = lean_array_push(x_639, x_635); +x_641 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_642 = lean_array_push(x_640, x_641); +x_643 = lean_array_push(x_642, x_559); +x_644 = l_List_toArrayAux___main___rarg(x_563, x_643); +x_645 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_644); +x_647 = lean_nat_add(x_636, x_587); +lean_dec(x_636); +x_648 = lean_mk_empty_array_with_capacity(x_647); +lean_dec(x_647); +x_649 = lean_array_push(x_648, x_581); +lean_inc(x_586); +x_650 = lean_array_push(x_649, x_586); +x_651 = lean_array_push(x_650, x_586); +x_652 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_653 = lean_array_push(x_651, x_652); +x_654 = lean_array_push(x_653, x_646); +x_655 = l_List_toArrayAux___main___rarg(x_563, x_654); +x_656 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_655); +x_658 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_659 = lean_array_push(x_637, x_658); +x_660 = lean_array_push(x_659, x_657); +x_661 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_662 = lean_array_push(x_660, x_661); +x_663 = lean_array_push(x_662, x_624); +x_664 = l_List_toArrayAux___main___rarg(x_563, x_663); +x_665 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_665); +lean_ctor_set(x_666, 1, x_664); +if (lean_is_scalar(x_626)) { + x_667 = lean_alloc_ctor(0, 2, 0); } else { - x_628 = x_627; + x_667 = x_626; } -lean_ctor_set(x_628, 0, x_625); -lean_ctor_set(x_628, 1, x_626); -return x_628; +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_625); +return x_667; } +else +{ +lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; +lean_dec(x_596); +lean_dec(x_588); +lean_dec(x_586); +lean_dec(x_581); +lean_dec(x_559); +x_668 = lean_ctor_get(x_623, 0); +lean_inc(x_668); +x_669 = lean_ctor_get(x_623, 1); +lean_inc(x_669); +if (lean_is_exclusive(x_623)) { + lean_ctor_release(x_623, 0); + lean_ctor_release(x_623, 1); + x_670 = x_623; +} else { + lean_dec_ref(x_623); + x_670 = lean_box(0); +} +if (lean_is_scalar(x_670)) { + x_671 = lean_alloc_ctor(1, 2, 0); +} else { + x_671 = x_670; +} +lean_ctor_set(x_671, 0, x_668); +lean_ctor_set(x_671, 1, x_669); +return x_671; } } else { -lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; -x_629 = lean_ctor_get(x_2, 0); -x_630 = lean_ctor_get(x_2, 1); -lean_inc(x_630); -lean_inc(x_629); -lean_dec(x_2); -x_631 = lean_ctor_get(x_629, 0); -lean_inc(x_631); -x_632 = lean_ctor_get(x_629, 1); -lean_inc(x_632); -if (lean_is_exclusive(x_629)) { - lean_ctor_release(x_629, 0); - lean_ctor_release(x_629, 1); - x_633 = x_629; +lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; uint8_t x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_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; +x_672 = l_List_redLength___main___rarg(x_563); +x_673 = lean_mk_empty_array_with_capacity(x_672); +lean_dec(x_672); +lean_inc(x_563); +x_674 = l_List_toArrayAux___main___rarg(x_563, x_673); +if (lean_is_exclusive(x_563)) { + lean_ctor_release(x_563, 0); + lean_ctor_release(x_563, 1); + x_675 = x_563; } else { - lean_dec_ref(x_629); - x_633 = lean_box(0); + lean_dec_ref(x_563); + x_675 = lean_box(0); } -lean_inc(x_631); -x_634 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1(x_631, x_4, x_5); -if (lean_obj_tag(x_634) == 0) -{ -lean_object* x_635; lean_object* x_636; lean_object* x_637; -x_635 = lean_ctor_get(x_634, 0); -lean_inc(x_635); -x_636 = lean_ctor_get(x_634, 1); -lean_inc(x_636); -lean_dec(x_634); -x_637 = l_List_join___main___rarg(x_635); -if (lean_obj_tag(x_637) == 0) -{ -lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; uint8_t x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -x_638 = l_List_redLength___main___rarg(x_637); -x_639 = lean_mk_empty_array_with_capacity(x_638); -x_640 = l_List_toArrayAux___main___rarg(x_637, x_639); -x_641 = l_Lean_nullKind___closed__2; -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_641); -lean_ctor_set(x_642, 1, x_640); -x_643 = lean_unsigned_to_nat(1u); -x_644 = lean_nat_add(x_638, x_643); -lean_dec(x_638); -x_645 = lean_nat_add(x_644, x_643); -x_646 = lean_mk_empty_array_with_capacity(x_645); -x_647 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__5; -lean_inc(x_646); -x_648 = lean_array_push(x_646, x_647); -lean_inc(x_642); -x_649 = lean_array_push(x_648, x_642); -x_650 = l_List_toArrayAux___main___rarg(x_637, x_649); -x_651 = l_Lean_Parser_Term_id___elambda__1___closed__4; -x_652 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_652, 0, x_651); -lean_ctor_set(x_652, 1, x_650); -x_653 = lean_nat_add(x_645, x_643); -lean_dec(x_645); -x_654 = lean_mk_empty_array_with_capacity(x_653); -x_655 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98; -x_656 = lean_array_push(x_654, x_655); -lean_inc(x_642); -x_657 = lean_array_push(x_656, x_642); -x_658 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111; -x_659 = lean_array_push(x_657, x_658); -x_660 = l_List_toArrayAux___main___rarg(x_637, x_659); -x_661 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_661); -lean_ctor_set(x_662, 1, x_660); -x_663 = lean_array_push(x_646, x_652); -x_664 = lean_array_push(x_663, x_662); -x_665 = l_List_toArrayAux___main___rarg(x_637, x_664); -x_666 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_667, 0, x_666); -lean_ctor_set(x_667, 1, x_665); -if (lean_is_scalar(x_633)) { - x_668 = lean_alloc_ctor(0, 2, 0); -} else { - x_668 = x_633; -} -lean_ctor_set(x_668, 0, x_631); -lean_ctor_set(x_668, 1, x_667); -x_669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_3); -x_670 = lean_ctor_get(x_636, 0); -lean_inc(x_670); -x_671 = lean_ctor_get(x_636, 1); -lean_inc(x_671); -x_672 = lean_ctor_get(x_636, 2); -lean_inc(x_672); -x_673 = lean_ctor_get(x_636, 3); -lean_inc(x_673); -x_674 = lean_ctor_get(x_636, 4); -lean_inc(x_674); -x_675 = lean_ctor_get(x_636, 5); -lean_inc(x_675); -if (lean_is_exclusive(x_636)) { - lean_ctor_release(x_636, 0); - lean_ctor_release(x_636, 1); - lean_ctor_release(x_636, 2); - lean_ctor_release(x_636, 3); - lean_ctor_release(x_636, 4); - lean_ctor_release(x_636, 5); - x_676 = x_636; -} else { - lean_dec_ref(x_636); - x_676 = lean_box(0); -} -x_677 = lean_nat_add(x_675, x_643); -if (lean_is_scalar(x_676)) { - x_678 = lean_alloc_ctor(0, 6, 0); -} else { - x_678 = x_676; -} -lean_ctor_set(x_678, 0, x_670); -lean_ctor_set(x_678, 1, x_671); -lean_ctor_set(x_678, 2, x_672); -lean_ctor_set(x_678, 3, x_673); -lean_ctor_set(x_678, 4, x_674); -lean_ctor_set(x_678, 5, x_677); -x_679 = lean_ctor_get(x_4, 0); -lean_inc(x_679); -x_680 = lean_ctor_get(x_4, 1); -lean_inc(x_680); -x_681 = lean_ctor_get(x_4, 2); -lean_inc(x_681); -x_682 = lean_ctor_get(x_4, 3); -lean_inc(x_682); -x_683 = lean_ctor_get(x_4, 4); -lean_inc(x_683); -x_684 = lean_ctor_get(x_4, 5); -lean_inc(x_684); -x_685 = lean_ctor_get(x_4, 6); +x_676 = l_Lean_nullKind___closed__2; +x_677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_677, 0, x_676); +lean_ctor_set(x_677, 1, x_674); +x_678 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; +x_679 = lean_array_push(x_678, x_677); +x_680 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; +x_681 = lean_array_push(x_679, x_680); +x_682 = lean_array_push(x_681, x_559); +x_683 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_684 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_684, 0, x_683); +lean_ctor_set(x_684, 1, x_682); +x_685 = lean_ctor_get(x_4, 0); lean_inc(x_685); -x_686 = lean_ctor_get(x_4, 7); +x_686 = lean_ctor_get(x_4, 1); lean_inc(x_686); -x_687 = lean_ctor_get(x_4, 8); +x_687 = lean_ctor_get(x_4, 2); lean_inc(x_687); -x_688 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +x_688 = lean_ctor_get(x_4, 3); +lean_inc(x_688); +x_689 = lean_ctor_get(x_4, 4); +lean_inc(x_689); +x_690 = lean_ctor_get(x_4, 5); +lean_inc(x_690); +x_691 = lean_ctor_get(x_4, 6); +lean_inc(x_691); +x_692 = lean_ctor_get(x_4, 7); +lean_inc(x_692); +x_693 = lean_ctor_get(x_4, 8); +lean_inc(x_693); +x_694 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -13348,240 +13119,254 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_689 = x_4; + x_695 = x_4; } else { lean_dec_ref(x_4); - x_689 = lean_box(0); -} -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_675); -lean_ctor_set(x_690, 1, x_687); -if (lean_is_scalar(x_689)) { - x_691 = lean_alloc_ctor(0, 9, 1); -} else { - x_691 = x_689; -} -lean_ctor_set(x_691, 0, x_679); -lean_ctor_set(x_691, 1, x_680); -lean_ctor_set(x_691, 2, x_681); -lean_ctor_set(x_691, 3, x_682); -lean_ctor_set(x_691, 4, x_683); -lean_ctor_set(x_691, 5, x_684); -lean_ctor_set(x_691, 6, x_685); -lean_ctor_set(x_691, 7, x_686); -lean_ctor_set(x_691, 8, x_690); -lean_ctor_set_uint8(x_691, sizeof(void*)*9, x_688); -x_692 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_630, x_669, x_691, x_678); -if (lean_obj_tag(x_692) == 0) -{ -lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; -x_693 = lean_ctor_get(x_692, 0); -lean_inc(x_693); -x_694 = lean_ctor_get(x_692, 1); -lean_inc(x_694); -if (lean_is_exclusive(x_692)) { - lean_ctor_release(x_692, 0); - lean_ctor_release(x_692, 1); - x_695 = x_692; -} else { - lean_dec_ref(x_692); x_695 = lean_box(0); } -x_696 = lean_mk_empty_array_with_capacity(x_644); -lean_dec(x_644); -x_697 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; -lean_inc(x_696); -x_698 = lean_array_push(x_696, x_697); -x_699 = l_List_toArrayAux___main___rarg(x_637, x_698); -x_700 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; -x_701 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_701, 0, x_700); -lean_ctor_set(x_701, 1, x_699); -x_702 = lean_array_push(x_696, x_701); -x_703 = l_List_toArrayAux___main___rarg(x_637, x_702); -x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_641); -lean_ctor_set(x_704, 1, x_703); -x_705 = lean_nat_add(x_653, x_643); -lean_dec(x_653); -x_706 = lean_mk_empty_array_with_capacity(x_705); -x_707 = l_Lean_Elab_Term_stxQuot_expand___closed__30; -lean_inc(x_706); -x_708 = lean_array_push(x_706, x_707); -x_709 = lean_array_push(x_708, x_704); -x_710 = l_Lean_Elab_Term_stxQuot_expand___closed__33; -x_711 = lean_array_push(x_709, x_710); -x_712 = lean_array_push(x_711, x_632); -x_713 = l_List_toArrayAux___main___rarg(x_637, x_712); -x_714 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_715 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_715, 0, x_714); -lean_ctor_set(x_715, 1, x_713); -x_716 = lean_nat_add(x_705, x_643); -lean_dec(x_705); -x_717 = lean_mk_empty_array_with_capacity(x_716); -lean_dec(x_716); -x_718 = lean_array_push(x_717, x_647); -lean_inc(x_642); -x_719 = lean_array_push(x_718, x_642); -x_720 = lean_array_push(x_719, x_642); -x_721 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; -x_722 = lean_array_push(x_720, x_721); -x_723 = lean_array_push(x_722, x_715); -x_724 = l_List_toArrayAux___main___rarg(x_637, x_723); -x_725 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_725); -lean_ctor_set(x_726, 1, x_724); -x_727 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; -x_728 = lean_array_push(x_706, x_727); -x_729 = lean_array_push(x_728, x_726); -x_730 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_731 = lean_array_push(x_729, x_730); -x_732 = lean_array_push(x_731, x_693); -x_733 = l_List_toArrayAux___main___rarg(x_637, x_732); -x_734 = l_Lean_Parser_Term_let___elambda__1___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_696 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_693); +x_697 = lean_box(0); +x_698 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_699 = lean_name_mk_numeral(x_698, x_696); +x_700 = lean_box(0); +x_701 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_702 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_702, 0, x_697); +lean_ctor_set(x_702, 1, x_701); +lean_ctor_set(x_702, 2, x_699); +lean_ctor_set(x_702, 3, x_700); +x_703 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_inc(x_702); +x_704 = lean_array_push(x_703, x_702); +x_705 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_706 = lean_array_push(x_704, x_705); +x_707 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_708 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_706); +x_709 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_709, 0, x_558); +lean_ctor_set(x_709, 1, x_708); +if (lean_is_scalar(x_675)) { + x_710 = lean_alloc_ctor(1, 2, 0); +} else { + x_710 = x_675; +} +lean_ctor_set(x_710, 0, x_709); +lean_ctor_set(x_710, 1, x_3); +x_711 = lean_ctor_get(x_562, 0); +lean_inc(x_711); +x_712 = lean_ctor_get(x_562, 1); +lean_inc(x_712); +x_713 = lean_ctor_get(x_562, 2); +lean_inc(x_713); +x_714 = lean_ctor_get(x_562, 3); +lean_inc(x_714); +x_715 = lean_ctor_get(x_562, 4); +lean_inc(x_715); +x_716 = lean_ctor_get(x_562, 5); +lean_inc(x_716); +if (lean_is_exclusive(x_562)) { + lean_ctor_release(x_562, 0); + lean_ctor_release(x_562, 1); + lean_ctor_release(x_562, 2); + lean_ctor_release(x_562, 3); + lean_ctor_release(x_562, 4); + lean_ctor_release(x_562, 5); + x_717 = x_562; +} else { + lean_dec_ref(x_562); + x_717 = lean_box(0); +} +x_718 = lean_unsigned_to_nat(1u); +x_719 = lean_nat_add(x_716, x_718); +if (lean_is_scalar(x_717)) { + x_720 = lean_alloc_ctor(0, 6, 0); +} else { + x_720 = x_717; +} +lean_ctor_set(x_720, 0, x_711); +lean_ctor_set(x_720, 1, x_712); +lean_ctor_set(x_720, 2, x_713); +lean_ctor_set(x_720, 3, x_714); +lean_ctor_set(x_720, 4, x_715); +lean_ctor_set(x_720, 5, x_719); +lean_ctor_set(x_2, 1, x_693); +lean_ctor_set(x_2, 0, x_716); if (lean_is_scalar(x_695)) { - x_736 = lean_alloc_ctor(0, 2, 0); + x_721 = lean_alloc_ctor(0, 9, 1); } else { - x_736 = x_695; + x_721 = x_695; } -lean_ctor_set(x_736, 0, x_735); -lean_ctor_set(x_736, 1, x_694); -return x_736; +lean_ctor_set(x_721, 0, x_685); +lean_ctor_set(x_721, 1, x_686); +lean_ctor_set(x_721, 2, x_687); +lean_ctor_set(x_721, 3, x_688); +lean_ctor_set(x_721, 4, x_689); +lean_ctor_set(x_721, 5, x_690); +lean_ctor_set(x_721, 6, x_691); +lean_ctor_set(x_721, 7, x_692); +lean_ctor_set(x_721, 8, x_2); +lean_ctor_set_uint8(x_721, sizeof(void*)*9, x_694); +x_722 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_557, x_710, x_721, x_720); +if (lean_obj_tag(x_722) == 0) +{ +lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; +x_723 = lean_ctor_get(x_722, 0); +lean_inc(x_723); +x_724 = lean_ctor_get(x_722, 1); +lean_inc(x_724); +if (lean_is_exclusive(x_722)) { + lean_ctor_release(x_722, 0); + lean_ctor_release(x_722, 1); + x_725 = x_722; +} else { + lean_dec_ref(x_722); + x_725 = lean_box(0); +} +x_726 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_727 = lean_array_push(x_726, x_702); +x_728 = lean_array_push(x_727, x_705); +x_729 = lean_array_push(x_728, x_705); +x_730 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_731 = lean_array_push(x_729, x_730); +x_732 = lean_array_push(x_731, x_684); +x_733 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_734, 0, x_733); +lean_ctor_set(x_734, 1, x_732); +x_735 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_736 = lean_array_push(x_735, x_734); +x_737 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_738 = lean_array_push(x_736, x_737); +x_739 = lean_array_push(x_738, x_723); +x_740 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_741 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_739); +if (lean_is_scalar(x_725)) { + x_742 = lean_alloc_ctor(0, 2, 0); +} else { + x_742 = x_725; +} +lean_ctor_set(x_742, 0, x_741); +lean_ctor_set(x_742, 1, x_724); +return x_742; } else { -lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; -lean_dec(x_653); -lean_dec(x_644); -lean_dec(x_642); -lean_dec(x_632); -x_737 = lean_ctor_get(x_692, 0); -lean_inc(x_737); -x_738 = lean_ctor_get(x_692, 1); -lean_inc(x_738); -if (lean_is_exclusive(x_692)) { - lean_ctor_release(x_692, 0); - lean_ctor_release(x_692, 1); - x_739 = x_692; +lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; +lean_dec(x_702); +lean_dec(x_684); +x_743 = lean_ctor_get(x_722, 0); +lean_inc(x_743); +x_744 = lean_ctor_get(x_722, 1); +lean_inc(x_744); +if (lean_is_exclusive(x_722)) { + lean_ctor_release(x_722, 0); + lean_ctor_release(x_722, 1); + x_745 = x_722; } else { - lean_dec_ref(x_692); - x_739 = lean_box(0); + lean_dec_ref(x_722); + x_745 = lean_box(0); } -if (lean_is_scalar(x_739)) { - x_740 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_745)) { + x_746 = lean_alloc_ctor(1, 2, 0); } else { - x_740 = x_739; + x_746 = x_745; +} +lean_ctor_set(x_746, 0, x_743); +lean_ctor_set(x_746, 1, x_744); +return x_746; } -lean_ctor_set(x_740, 0, x_737); -lean_ctor_set(x_740, 1, x_738); -return x_740; } } else { -lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; uint8_t x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; -x_741 = l_List_redLength___main___rarg(x_637); -x_742 = lean_mk_empty_array_with_capacity(x_741); -lean_dec(x_741); -lean_inc(x_637); -x_743 = l_List_toArrayAux___main___rarg(x_637, x_742); -if (lean_is_exclusive(x_637)) { - lean_ctor_release(x_637, 0); - lean_ctor_release(x_637, 1); - x_744 = x_637; +lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; +lean_dec(x_559); +lean_dec(x_558); +lean_free_object(x_2); +lean_dec(x_557); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_747 = lean_ctor_get(x_560, 0); +lean_inc(x_747); +x_748 = lean_ctor_get(x_560, 1); +lean_inc(x_748); +if (lean_is_exclusive(x_560)) { + lean_ctor_release(x_560, 0); + lean_ctor_release(x_560, 1); + x_749 = x_560; } else { - lean_dec_ref(x_637); - x_744 = lean_box(0); + lean_dec_ref(x_560); + x_749 = lean_box(0); } -x_745 = l_Lean_nullKind___closed__2; -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_745); -lean_ctor_set(x_746, 1, x_743); -x_747 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; -x_748 = lean_array_push(x_747, x_746); -x_749 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; -x_750 = lean_array_push(x_748, x_749); -x_751 = lean_array_push(x_750, x_632); -x_752 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_753, 0, x_752); -lean_ctor_set(x_753, 1, x_751); -x_754 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11; -if (lean_is_scalar(x_633)) { - x_755 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_749)) { + x_750 = lean_alloc_ctor(1, 2, 0); } else { - x_755 = x_633; + x_750 = x_749; } -lean_ctor_set(x_755, 0, x_631); -lean_ctor_set(x_755, 1, x_754); -if (lean_is_scalar(x_744)) { - x_756 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_750, 0, x_747); +lean_ctor_set(x_750, 1, x_748); +return x_750; +} +} +} +else +{ +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_751 = lean_ctor_get(x_2, 0); +x_752 = lean_ctor_get(x_2, 1); +lean_inc(x_752); +lean_inc(x_751); +lean_dec(x_2); +x_753 = lean_ctor_get(x_751, 0); +lean_inc(x_753); +x_754 = lean_ctor_get(x_751, 1); +lean_inc(x_754); +if (lean_is_exclusive(x_751)) { + lean_ctor_release(x_751, 0); + lean_ctor_release(x_751, 1); + x_755 = x_751; } else { - x_756 = x_744; + lean_dec_ref(x_751); + x_755 = lean_box(0); } -lean_ctor_set(x_756, 0, x_755); -lean_ctor_set(x_756, 1, x_3); -x_757 = lean_ctor_get(x_636, 0); +lean_inc(x_753); +x_756 = l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___spec__1(x_753, x_4, x_5); +if (lean_obj_tag(x_756) == 0) +{ +lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_757 = lean_ctor_get(x_756, 0); lean_inc(x_757); -x_758 = lean_ctor_get(x_636, 1); +x_758 = lean_ctor_get(x_756, 1); lean_inc(x_758); -x_759 = lean_ctor_get(x_636, 2); -lean_inc(x_759); -x_760 = lean_ctor_get(x_636, 3); +lean_dec(x_756); +x_759 = l_List_join___main___rarg(x_757); +if (lean_obj_tag(x_759) == 0) +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; uint8_t 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; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; +x_760 = lean_ctor_get(x_4, 0); lean_inc(x_760); -x_761 = lean_ctor_get(x_636, 4); +x_761 = lean_ctor_get(x_4, 1); lean_inc(x_761); -x_762 = lean_ctor_get(x_636, 5); +x_762 = lean_ctor_get(x_4, 2); lean_inc(x_762); -if (lean_is_exclusive(x_636)) { - lean_ctor_release(x_636, 0); - lean_ctor_release(x_636, 1); - lean_ctor_release(x_636, 2); - lean_ctor_release(x_636, 3); - lean_ctor_release(x_636, 4); - lean_ctor_release(x_636, 5); - x_763 = x_636; -} else { - lean_dec_ref(x_636); - x_763 = lean_box(0); -} -x_764 = lean_unsigned_to_nat(1u); -x_765 = lean_nat_add(x_762, x_764); -if (lean_is_scalar(x_763)) { - x_766 = lean_alloc_ctor(0, 6, 0); -} else { - x_766 = x_763; -} -lean_ctor_set(x_766, 0, x_757); -lean_ctor_set(x_766, 1, x_758); -lean_ctor_set(x_766, 2, x_759); -lean_ctor_set(x_766, 3, x_760); -lean_ctor_set(x_766, 4, x_761); -lean_ctor_set(x_766, 5, x_765); -x_767 = lean_ctor_get(x_4, 0); +x_763 = lean_ctor_get(x_4, 3); +lean_inc(x_763); +x_764 = lean_ctor_get(x_4, 4); +lean_inc(x_764); +x_765 = lean_ctor_get(x_4, 5); +lean_inc(x_765); +x_766 = lean_ctor_get(x_4, 6); +lean_inc(x_766); +x_767 = lean_ctor_get(x_4, 7); lean_inc(x_767); -x_768 = lean_ctor_get(x_4, 1); +x_768 = lean_ctor_get(x_4, 8); lean_inc(x_768); -x_769 = lean_ctor_get(x_4, 2); -lean_inc(x_769); -x_770 = lean_ctor_get(x_4, 3); -lean_inc(x_770); -x_771 = lean_ctor_get(x_4, 4); -lean_inc(x_771); -x_772 = lean_ctor_get(x_4, 5); -lean_inc(x_772); -x_773 = lean_ctor_get(x_4, 6); -lean_inc(x_773); -x_774 = lean_ctor_get(x_4, 7); -lean_inc(x_774); -x_775 = lean_ctor_get(x_4, 8); -lean_inc(x_775); -x_776 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +x_769 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -13592,126 +13377,496 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); lean_ctor_release(x_4, 8); - x_777 = x_4; + x_770 = x_4; } else { lean_dec_ref(x_4); - x_777 = lean_box(0); + x_770 = lean_box(0); } -x_778 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_778, 0, x_762); -lean_ctor_set(x_778, 1, x_775); -if (lean_is_scalar(x_777)) { - x_779 = lean_alloc_ctor(0, 9, 1); -} else { - x_779 = x_777; -} -lean_ctor_set(x_779, 0, x_767); -lean_ctor_set(x_779, 1, x_768); -lean_ctor_set(x_779, 2, x_769); -lean_ctor_set(x_779, 3, x_770); -lean_ctor_set(x_779, 4, x_771); -lean_ctor_set(x_779, 5, x_772); -lean_ctor_set(x_779, 6, x_773); -lean_ctor_set(x_779, 7, x_774); -lean_ctor_set(x_779, 8, x_778); -lean_ctor_set_uint8(x_779, sizeof(void*)*9, x_776); -x_780 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_630, x_756, x_779, x_766); -if (lean_obj_tag(x_780) == 0) -{ -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; -x_781 = lean_ctor_get(x_780, 0); -lean_inc(x_781); -x_782 = lean_ctor_get(x_780, 1); +x_771 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_768); +x_772 = lean_box(0); +x_773 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_774 = lean_name_mk_numeral(x_773, x_771); +x_775 = lean_box(0); +x_776 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_777 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_777, 0, x_772); +lean_ctor_set(x_777, 1, x_776); +lean_ctor_set(x_777, 2, x_774); +lean_ctor_set(x_777, 3, x_775); +x_778 = l_List_redLength___main___rarg(x_759); +x_779 = lean_mk_empty_array_with_capacity(x_778); +x_780 = l_List_toArrayAux___main___rarg(x_759, x_779); +x_781 = l_Lean_nullKind___closed__2; +x_782 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_782, 0, x_781); +lean_ctor_set(x_782, 1, x_780); +x_783 = lean_unsigned_to_nat(1u); +x_784 = lean_nat_add(x_778, x_783); +lean_dec(x_778); +x_785 = lean_nat_add(x_784, x_783); +x_786 = lean_mk_empty_array_with_capacity(x_785); +lean_inc(x_777); +lean_inc(x_786); +x_787 = lean_array_push(x_786, x_777); lean_inc(x_782); -if (lean_is_exclusive(x_780)) { - lean_ctor_release(x_780, 0); - lean_ctor_release(x_780, 1); - x_783 = x_780; +x_788 = lean_array_push(x_787, x_782); +x_789 = l_List_toArrayAux___main___rarg(x_759, x_788); +x_790 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_791, 0, x_790); +lean_ctor_set(x_791, 1, x_789); +x_792 = lean_nat_add(x_785, x_783); +lean_dec(x_785); +x_793 = lean_mk_empty_array_with_capacity(x_792); +x_794 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__51; +x_795 = lean_array_push(x_793, x_794); +lean_inc(x_782); +x_796 = lean_array_push(x_795, x_782); +x_797 = l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59; +x_798 = lean_array_push(x_796, x_797); +x_799 = l_List_toArrayAux___main___rarg(x_759, x_798); +x_800 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_801, 0, x_800); +lean_ctor_set(x_801, 1, x_799); +x_802 = lean_array_push(x_786, x_791); +x_803 = lean_array_push(x_802, x_801); +x_804 = l_List_toArrayAux___main___rarg(x_759, x_803); +x_805 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_806 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_806, 0, x_805); +lean_ctor_set(x_806, 1, x_804); +if (lean_is_scalar(x_755)) { + x_807 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_780); - x_783 = lean_box(0); + x_807 = x_755; } -x_784 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15; -x_785 = lean_array_push(x_784, x_753); -x_786 = l_Lean_Parser_Term_letIdDecl___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 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16; -x_789 = lean_array_push(x_788, x_787); -x_790 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27; -x_791 = lean_array_push(x_789, x_790); -x_792 = lean_array_push(x_791, x_781); -x_793 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_794, 0, x_793); -lean_ctor_set(x_794, 1, x_792); -if (lean_is_scalar(x_783)) { - x_795 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_807, 0, x_753); +lean_ctor_set(x_807, 1, x_806); +x_808 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_808, 0, x_807); +lean_ctor_set(x_808, 1, x_3); +x_809 = lean_ctor_get(x_758, 0); +lean_inc(x_809); +x_810 = lean_ctor_get(x_758, 1); +lean_inc(x_810); +x_811 = lean_ctor_get(x_758, 2); +lean_inc(x_811); +x_812 = lean_ctor_get(x_758, 3); +lean_inc(x_812); +x_813 = lean_ctor_get(x_758, 4); +lean_inc(x_813); +x_814 = lean_ctor_get(x_758, 5); +lean_inc(x_814); +if (lean_is_exclusive(x_758)) { + lean_ctor_release(x_758, 0); + lean_ctor_release(x_758, 1); + lean_ctor_release(x_758, 2); + lean_ctor_release(x_758, 3); + lean_ctor_release(x_758, 4); + lean_ctor_release(x_758, 5); + x_815 = x_758; } else { - x_795 = x_783; + lean_dec_ref(x_758); + x_815 = lean_box(0); } -lean_ctor_set(x_795, 0, x_794); -lean_ctor_set(x_795, 1, x_782); -return x_795; +x_816 = lean_nat_add(x_814, x_783); +if (lean_is_scalar(x_815)) { + x_817 = lean_alloc_ctor(0, 6, 0); +} else { + x_817 = x_815; +} +lean_ctor_set(x_817, 0, x_809); +lean_ctor_set(x_817, 1, x_810); +lean_ctor_set(x_817, 2, x_811); +lean_ctor_set(x_817, 3, x_812); +lean_ctor_set(x_817, 4, x_813); +lean_ctor_set(x_817, 5, x_816); +x_818 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_818, 0, x_814); +lean_ctor_set(x_818, 1, x_768); +if (lean_is_scalar(x_770)) { + x_819 = lean_alloc_ctor(0, 9, 1); +} else { + x_819 = x_770; +} +lean_ctor_set(x_819, 0, x_760); +lean_ctor_set(x_819, 1, x_761); +lean_ctor_set(x_819, 2, x_762); +lean_ctor_set(x_819, 3, x_763); +lean_ctor_set(x_819, 4, x_764); +lean_ctor_set(x_819, 5, x_765); +lean_ctor_set(x_819, 6, x_766); +lean_ctor_set(x_819, 7, x_767); +lean_ctor_set(x_819, 8, x_818); +lean_ctor_set_uint8(x_819, sizeof(void*)*9, x_769); +x_820 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_752, x_808, x_819, x_817); +if (lean_obj_tag(x_820) == 0) +{ +lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; +x_821 = lean_ctor_get(x_820, 0); +lean_inc(x_821); +x_822 = lean_ctor_get(x_820, 1); +lean_inc(x_822); +if (lean_is_exclusive(x_820)) { + lean_ctor_release(x_820, 0); + lean_ctor_release(x_820, 1); + x_823 = x_820; +} else { + lean_dec_ref(x_820); + x_823 = lean_box(0); +} +x_824 = lean_mk_empty_array_with_capacity(x_784); +lean_dec(x_784); +x_825 = l___private_Init_Lean_Elab_Quotation_10__explodeHeadPat___closed__4; +lean_inc(x_824); +x_826 = lean_array_push(x_824, x_825); +x_827 = l_List_toArrayAux___main___rarg(x_759, x_826); +x_828 = l_Lean_Parser_Term_hole___elambda__1___rarg___closed__1; +x_829 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_829, 0, x_828); +lean_ctor_set(x_829, 1, x_827); +x_830 = lean_array_push(x_824, x_829); +x_831 = l_List_toArrayAux___main___rarg(x_759, x_830); +x_832 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_832, 0, x_781); +lean_ctor_set(x_832, 1, x_831); +x_833 = lean_nat_add(x_792, x_783); +lean_dec(x_792); +x_834 = lean_mk_empty_array_with_capacity(x_833); +x_835 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +lean_inc(x_834); +x_836 = lean_array_push(x_834, x_835); +x_837 = lean_array_push(x_836, x_832); +x_838 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_839 = lean_array_push(x_837, x_838); +x_840 = lean_array_push(x_839, x_754); +x_841 = l_List_toArrayAux___main___rarg(x_759, x_840); +x_842 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_843, 0, x_842); +lean_ctor_set(x_843, 1, x_841); +x_844 = lean_nat_add(x_833, x_783); +lean_dec(x_833); +x_845 = lean_mk_empty_array_with_capacity(x_844); +lean_dec(x_844); +x_846 = lean_array_push(x_845, x_777); +lean_inc(x_782); +x_847 = lean_array_push(x_846, x_782); +x_848 = lean_array_push(x_847, x_782); +x_849 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_850 = lean_array_push(x_848, x_849); +x_851 = lean_array_push(x_850, x_843); +x_852 = l_List_toArrayAux___main___rarg(x_759, x_851); +x_853 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_854 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_854, 0, x_853); +lean_ctor_set(x_854, 1, x_852); +x_855 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__1; +x_856 = lean_array_push(x_834, x_855); +x_857 = lean_array_push(x_856, x_854); +x_858 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_859 = lean_array_push(x_857, x_858); +x_860 = lean_array_push(x_859, x_821); +x_861 = l_List_toArrayAux___main___rarg(x_759, x_860); +x_862 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_863, 0, x_862); +lean_ctor_set(x_863, 1, x_861); +if (lean_is_scalar(x_823)) { + x_864 = lean_alloc_ctor(0, 2, 0); +} else { + x_864 = x_823; +} +lean_ctor_set(x_864, 0, x_863); +lean_ctor_set(x_864, 1, x_822); +return x_864; } else { -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; +lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; +lean_dec(x_792); +lean_dec(x_784); +lean_dec(x_782); +lean_dec(x_777); +lean_dec(x_754); +x_865 = lean_ctor_get(x_820, 0); +lean_inc(x_865); +x_866 = lean_ctor_get(x_820, 1); +lean_inc(x_866); +if (lean_is_exclusive(x_820)) { + lean_ctor_release(x_820, 0); + lean_ctor_release(x_820, 1); + x_867 = x_820; +} else { + lean_dec_ref(x_820); + x_867 = lean_box(0); +} +if (lean_is_scalar(x_867)) { + x_868 = lean_alloc_ctor(1, 2, 0); +} else { + x_868 = x_867; +} +lean_ctor_set(x_868, 0, x_865); +lean_ctor_set(x_868, 1, x_866); +return x_868; +} +} +else +{ +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; uint8_t x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; +x_869 = l_List_redLength___main___rarg(x_759); +x_870 = lean_mk_empty_array_with_capacity(x_869); +lean_dec(x_869); +lean_inc(x_759); +x_871 = l_List_toArrayAux___main___rarg(x_759, x_870); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + lean_ctor_release(x_759, 1); + x_872 = x_759; +} else { + lean_dec_ref(x_759); + x_872 = lean_box(0); +} +x_873 = l_Lean_nullKind___closed__2; +x_874 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_874, 0, x_873); +lean_ctor_set(x_874, 1, x_871); +x_875 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7; +x_876 = lean_array_push(x_875, x_874); +x_877 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__6; +x_878 = lean_array_push(x_876, x_877); +x_879 = lean_array_push(x_878, x_754); +x_880 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_881, 0, x_880); +lean_ctor_set(x_881, 1, x_879); +x_882 = lean_ctor_get(x_4, 0); +lean_inc(x_882); +x_883 = lean_ctor_get(x_4, 1); +lean_inc(x_883); +x_884 = lean_ctor_get(x_4, 2); +lean_inc(x_884); +x_885 = lean_ctor_get(x_4, 3); +lean_inc(x_885); +x_886 = lean_ctor_get(x_4, 4); +lean_inc(x_886); +x_887 = lean_ctor_get(x_4, 5); +lean_inc(x_887); +x_888 = lean_ctor_get(x_4, 6); +lean_inc(x_888); +x_889 = lean_ctor_get(x_4, 7); +lean_inc(x_889); +x_890 = lean_ctor_get(x_4, 8); +lean_inc(x_890); +x_891 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + lean_ctor_release(x_4, 5); + lean_ctor_release(x_4, 6); + lean_ctor_release(x_4, 7); + lean_ctor_release(x_4, 8); + x_892 = x_4; +} else { + lean_dec_ref(x_4); + x_892 = lean_box(0); +} +x_893 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_890); +x_894 = lean_box(0); +x_895 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__4; +x_896 = lean_name_mk_numeral(x_895, x_893); +x_897 = lean_box(0); +x_898 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__3; +x_899 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_899, 0, x_894); +lean_ctor_set(x_899, 1, x_898); +lean_ctor_set(x_899, 2, x_896); +lean_ctor_set(x_899, 3, x_897); +x_900 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_inc(x_899); +x_901 = lean_array_push(x_900, x_899); +x_902 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_903 = lean_array_push(x_901, x_902); +x_904 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_905 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_905, 0, x_904); +lean_ctor_set(x_905, 1, x_903); +if (lean_is_scalar(x_755)) { + x_906 = lean_alloc_ctor(0, 2, 0); +} else { + x_906 = x_755; +} +lean_ctor_set(x_906, 0, x_753); +lean_ctor_set(x_906, 1, x_905); +if (lean_is_scalar(x_872)) { + x_907 = lean_alloc_ctor(1, 2, 0); +} else { + x_907 = x_872; +} +lean_ctor_set(x_907, 0, x_906); +lean_ctor_set(x_907, 1, x_3); +x_908 = lean_ctor_get(x_758, 0); +lean_inc(x_908); +x_909 = lean_ctor_get(x_758, 1); +lean_inc(x_909); +x_910 = lean_ctor_get(x_758, 2); +lean_inc(x_910); +x_911 = lean_ctor_get(x_758, 3); +lean_inc(x_911); +x_912 = lean_ctor_get(x_758, 4); +lean_inc(x_912); +x_913 = lean_ctor_get(x_758, 5); +lean_inc(x_913); +if (lean_is_exclusive(x_758)) { + lean_ctor_release(x_758, 0); + lean_ctor_release(x_758, 1); + lean_ctor_release(x_758, 2); + lean_ctor_release(x_758, 3); + lean_ctor_release(x_758, 4); + lean_ctor_release(x_758, 5); + x_914 = x_758; +} else { + lean_dec_ref(x_758); + x_914 = lean_box(0); +} +x_915 = lean_unsigned_to_nat(1u); +x_916 = lean_nat_add(x_913, x_915); +if (lean_is_scalar(x_914)) { + x_917 = lean_alloc_ctor(0, 6, 0); +} else { + x_917 = x_914; +} +lean_ctor_set(x_917, 0, x_908); +lean_ctor_set(x_917, 1, x_909); +lean_ctor_set(x_917, 2, x_910); +lean_ctor_set(x_917, 3, x_911); +lean_ctor_set(x_917, 4, x_912); +lean_ctor_set(x_917, 5, x_916); +x_918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_918, 0, x_913); +lean_ctor_set(x_918, 1, x_890); +if (lean_is_scalar(x_892)) { + x_919 = lean_alloc_ctor(0, 9, 1); +} else { + x_919 = x_892; +} +lean_ctor_set(x_919, 0, x_882); +lean_ctor_set(x_919, 1, x_883); +lean_ctor_set(x_919, 2, x_884); +lean_ctor_set(x_919, 3, x_885); +lean_ctor_set(x_919, 4, x_886); +lean_ctor_set(x_919, 5, x_887); +lean_ctor_set(x_919, 6, x_888); +lean_ctor_set(x_919, 7, x_889); +lean_ctor_set(x_919, 8, x_918); +lean_ctor_set_uint8(x_919, sizeof(void*)*9, x_891); +x_920 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main(x_1, x_752, x_907, x_919, x_917); +if (lean_obj_tag(x_920) == 0) +{ +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; +x_921 = lean_ctor_get(x_920, 0); +lean_inc(x_921); +x_922 = lean_ctor_get(x_920, 1); +lean_inc(x_922); +if (lean_is_exclusive(x_920)) { + lean_ctor_release(x_920, 0); + lean_ctor_release(x_920, 1); + x_923 = x_920; +} else { + lean_dec_ref(x_920); + x_923 = lean_box(0); +} +x_924 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_925 = lean_array_push(x_924, x_899); +x_926 = lean_array_push(x_925, x_902); +x_927 = lean_array_push(x_926, x_902); +x_928 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__3; +x_929 = lean_array_push(x_927, x_928); +x_930 = lean_array_push(x_929, x_881); +x_931 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; +x_932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_932, 0, x_931); +lean_ctor_set(x_932, 1, x_930); +x_933 = l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8; +x_934 = lean_array_push(x_933, x_932); +x_935 = l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16; +x_936 = lean_array_push(x_934, x_935); +x_937 = lean_array_push(x_936, x_921); +x_938 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_938); +lean_ctor_set(x_939, 1, x_937); +if (lean_is_scalar(x_923)) { + x_940 = lean_alloc_ctor(0, 2, 0); +} else { + x_940 = x_923; +} +lean_ctor_set(x_940, 0, x_939); +lean_ctor_set(x_940, 1, x_922); +return x_940; +} +else +{ +lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; +lean_dec(x_899); +lean_dec(x_881); +x_941 = lean_ctor_get(x_920, 0); +lean_inc(x_941); +x_942 = lean_ctor_get(x_920, 1); +lean_inc(x_942); +if (lean_is_exclusive(x_920)) { + lean_ctor_release(x_920, 0); + lean_ctor_release(x_920, 1); + x_943 = x_920; +} else { + lean_dec_ref(x_920); + x_943 = lean_box(0); +} +if (lean_is_scalar(x_943)) { + x_944 = lean_alloc_ctor(1, 2, 0); +} else { + x_944 = x_943; +} +lean_ctor_set(x_944, 0, x_941); +lean_ctor_set(x_944, 1, x_942); +return x_944; +} +} +} +else +{ +lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; +lean_dec(x_755); +lean_dec(x_754); lean_dec(x_753); -x_796 = lean_ctor_get(x_780, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_780, 1); -lean_inc(x_797); -if (lean_is_exclusive(x_780)) { - lean_ctor_release(x_780, 0); - lean_ctor_release(x_780, 1); - x_798 = x_780; -} else { - lean_dec_ref(x_780); - x_798 = lean_box(0); -} -if (lean_is_scalar(x_798)) { - x_799 = lean_alloc_ctor(1, 2, 0); -} else { - x_799 = x_798; -} -lean_ctor_set(x_799, 0, x_796); -lean_ctor_set(x_799, 1, x_797); -return x_799; -} -} -} -else -{ -lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; -lean_dec(x_633); -lean_dec(x_632); -lean_dec(x_631); -lean_dec(x_630); +lean_dec(x_752); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_800 = lean_ctor_get(x_634, 0); -lean_inc(x_800); -x_801 = lean_ctor_get(x_634, 1); -lean_inc(x_801); -if (lean_is_exclusive(x_634)) { - lean_ctor_release(x_634, 0); - lean_ctor_release(x_634, 1); - x_802 = x_634; +x_945 = lean_ctor_get(x_756, 0); +lean_inc(x_945); +x_946 = lean_ctor_get(x_756, 1); +lean_inc(x_946); +if (lean_is_exclusive(x_756)) { + lean_ctor_release(x_756, 0); + lean_ctor_release(x_756, 1); + x_947 = x_756; } else { - lean_dec_ref(x_634); - x_802 = lean_box(0); + lean_dec_ref(x_756); + x_947 = lean_box(0); } -if (lean_is_scalar(x_802)) { - x_803 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_947)) { + x_948 = lean_alloc_ctor(1, 2, 0); } else { - x_803 = x_802; + x_948 = x_947; } -lean_ctor_set(x_803, 0, x_800); -lean_ctor_set(x_803, 1, x_801); -return x_803; +lean_ctor_set(x_948, 0, x_945); +lean_ctor_set(x_948, 1, x_946); +return x_948; } } } @@ -14213,6 +14368,299 @@ return x_62; } } } +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("HasBeq.beq"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("HasBeq"); +return x_1; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1(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; 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; 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; +x_7 = l_Lean_nameToExprAux___main___closed__1; +lean_inc(x_1); +x_8 = lean_name_mk_string(x_1, x_7); +x_9 = l_Lean_Syntax_formatStx___main___closed__5; +x_10 = lean_name_mk_string(x_8, x_9); +x_11 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_12 = lean_name_mk_string(x_10, x_11); +x_13 = l_Lean_Parser_Term_app___elambda__1___closed__1; +lean_inc(x_12); +x_14 = lean_name_mk_string(x_12, x_13); +x_15 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_16 = lean_name_mk_string(x_12, x_15); +x_17 = lean_box(0); +x_18 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4; +lean_inc(x_1); +x_19 = lean_name_mk_string(x_1, x_18); +x_20 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_21 = lean_name_mk_string(x_19, x_20); +lean_inc(x_21); +x_22 = lean_name_mk_numeral(x_21, x_4); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3; +x_27 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_27, 0, x_17); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_22); +lean_ctor_set(x_27, 3, x_25); +x_28 = l_Lean_nullKind___closed__1; +x_29 = lean_name_mk_string(x_1, x_28); +x_30 = l_Array_empty___closed__1; +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_33 = lean_array_push(x_32, x_27); +x_34 = lean_array_push(x_33, x_31); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_16); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_array_push(x_32, x_35); +x_37 = lean_array_push(x_36, x_2); +lean_inc(x_14); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_14); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_array_push(x_32, x_38); +x_40 = lean_array_push(x_39, x_3); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_14); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_6); +return x_42; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_and___elambda__1___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___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_and___elambda__1___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__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; 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; 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; +x_7 = l_Lean_nameToExprAux___main___closed__1; +lean_inc(x_1); +x_8 = lean_name_mk_string(x_1, x_7); +x_9 = l_Lean_Syntax_formatStx___main___closed__5; +x_10 = lean_name_mk_string(x_8, x_9); +x_11 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_12 = lean_name_mk_string(x_10, x_11); +x_13 = l_Lean_Parser_Term_app___elambda__1___closed__1; +lean_inc(x_12); +x_14 = lean_name_mk_string(x_12, x_13); +x_15 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_16 = lean_name_mk_string(x_12, x_15); +x_17 = lean_box(0); +x_18 = l_Lean_Parser_Term_and___elambda__1___closed__1; +lean_inc(x_1); +x_19 = lean_name_mk_string(x_1, x_18); +lean_inc(x_19); +x_20 = lean_name_mk_numeral(x_19, x_4); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +x_24 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__2; +x_25 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_20); +lean_ctor_set(x_25, 3, x_23); +x_26 = l_Lean_nullKind___closed__1; +x_27 = lean_name_mk_string(x_1, x_26); +x_28 = l_Array_empty___closed__1; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_31 = lean_array_push(x_30, x_25); +x_32 = lean_array_push(x_31, x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_16); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_array_push(x_30, x_33); +x_35 = lean_array_push(x_34, x_2); +lean_inc(x_14); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_14); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_array_push(x_30, x_36); +x_38 = lean_array_push(x_37, x_3); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_6); +return x_40; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ite"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__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* x_7) { +_start: +{ +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; 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; +x_8 = l_Lean_nameToExprAux___main___closed__1; +lean_inc(x_1); +x_9 = lean_name_mk_string(x_1, x_8); +x_10 = l_Lean_Syntax_formatStx___main___closed__5; +x_11 = lean_name_mk_string(x_9, x_10); +x_12 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_13 = lean_name_mk_string(x_11, x_12); +x_14 = l_Lean_Parser_Term_app___elambda__1___closed__1; +lean_inc(x_13); +x_15 = lean_name_mk_string(x_13, x_14); +x_16 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_17 = lean_name_mk_string(x_13, x_16); +x_18 = lean_box(0); +x_19 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1; +lean_inc(x_1); +x_20 = lean_name_mk_string(x_1, x_19); +lean_inc(x_20); +x_21 = lean_name_mk_numeral(x_20, x_5); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3; +x_26 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_26, 0, x_18); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_24); +x_27 = l_Lean_nullKind___closed__1; +x_28 = lean_name_mk_string(x_1, x_27); +x_29 = l_Array_empty___closed__1; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_32 = lean_array_push(x_31, x_26); +x_33 = lean_array_push(x_32, x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_array_push(x_31, x_34); +x_36 = lean_array_push(x_35, x_2); +lean_inc(x_15); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_array_push(x_31, x_37); +x_39 = lean_array_push(x_38, x_3); +lean_inc(x_15); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_15); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_array_push(x_31, x_40); +x_42 = lean_array_push(x_41, x_4); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_15); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_7); +return x_44; +} +} lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1() { _start: { @@ -14270,99 +14718,6 @@ return x_2; lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("HasBeq.beq"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("HasBeq"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ite"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Name_inhabited; x_2 = l_Lean_stxInh; @@ -14372,7 +14727,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -14382,7 +14737,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9() { _start: { lean_object* x_1; @@ -14390,11 +14745,11 @@ x_1 = lean_mk_string("stxQuot: unimplemented: projection notation"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19() { +lean_object* _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18; +x_1 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -14676,7 +15031,7 @@ return x_91; } 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_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_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); @@ -14688,328 +15043,522 @@ x_94 = lean_array_get(x_92, x_3, x_93); x_95 = lean_unsigned_to_nat(2u); x_96 = lean_array_get(x_92, x_3, x_95); lean_dec(x_3); -x_97 = lean_name_mk_string(x_39, x_51); -x_98 = lean_name_mk_string(x_97, x_57); -x_99 = lean_name_mk_string(x_98, x_64); -lean_inc(x_99); -x_100 = lean_name_mk_string(x_99, x_77); -x_101 = lean_name_mk_string(x_99, x_71); -x_102 = lean_box(0); -x_103 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -x_104 = lean_name_mk_string(x_39, x_103); -x_105 = lean_name_mk_string(x_104, x_85); -x_106 = lean_box(0); -lean_inc(x_105); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -x_110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_110, 0, x_102); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_105); -lean_ctor_set(x_110, 3, x_108); -x_111 = l_Lean_nullKind___closed__1; -x_112 = lean_name_mk_string(x_39, x_111); -x_113 = l_Array_empty___closed__1; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -x_115 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_116 = lean_array_push(x_115, x_110); -x_117 = lean_array_push(x_116, x_114); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_101); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_array_push(x_115, x_118); -x_120 = lean_array_push(x_119, x_94); -lean_inc(x_100); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_100); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_array_push(x_115, x_121); -x_123 = lean_array_push(x_122, x_96); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_100); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_125, 0, x_124); -x_126 = l_Lean_Unhygienic_run___rarg(x_125); -x_2 = x_126; +x_97 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_97, 0, x_39); +lean_closure_set(x_97, 1, x_94); +lean_closure_set(x_97, 2, x_96); +x_98 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_99 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_99, 0, x_98); +lean_closure_set(x_99, 1, x_97); +x_100 = l_Lean_Unhygienic_run___rarg(x_99); +x_2 = x_100; goto _start; } } else { -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_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_free_object(x_4); +lean_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_102 = l_Lean_stxInh; +x_103 = lean_unsigned_to_nat(0u); +x_104 = lean_array_get(x_102, x_3, x_103); +x_105 = lean_unsigned_to_nat(2u); +x_106 = lean_array_get(x_102, x_3, x_105); +lean_dec(x_3); +x_107 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_107, 0, x_39); +lean_closure_set(x_107, 1, x_104); +lean_closure_set(x_107, 2, x_106); +x_108 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_109 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_109, 0, x_108); +lean_closure_set(x_109, 1, x_107); +x_110 = l_Lean_Unhygienic_run___rarg(x_109); +x_2 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; +lean_free_object(x_4); +lean_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_112 = l_Lean_stxInh; +x_113 = lean_unsigned_to_nat(1u); +x_114 = lean_array_get(x_112, x_3, x_113); +lean_dec(x_3); +x_115 = l_Lean_Syntax_getArgs(x_114); +lean_dec(x_114); +x_116 = lean_array_get_size(x_115); +x_117 = lean_unsigned_to_nat(0u); +x_118 = lean_nat_dec_eq(x_116, x_117); +lean_dec(x_116); +if (x_118 == 0) +{ +lean_object* x_119; +x_119 = lean_array_get(x_112, x_115, x_117); +lean_dec(x_115); +x_2 = x_119; +goto _start; +} +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_dec(x_115); +x_121 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_122 = lean_name_mk_string(x_39, x_121); +x_123 = l_Lean_Elab_Term_elabParen___closed__4; +x_124 = lean_name_mk_string(x_122, x_123); +x_125 = lean_box(0); +x_126 = l_Lean_mkConst(x_124, x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_126); +return x_127; +} +} +} +else +{ +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_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); x_128 = l_Lean_stxInh; -x_129 = lean_unsigned_to_nat(0u); +x_129 = lean_unsigned_to_nat(2u); x_130 = lean_array_get(x_128, x_3, x_129); -x_131 = lean_unsigned_to_nat(2u); +x_131 = lean_unsigned_to_nat(4u); x_132 = lean_array_get(x_128, x_3, x_131); +x_133 = lean_unsigned_to_nat(6u); +x_134 = lean_array_get(x_128, x_3, x_133); lean_dec(x_3); -x_133 = lean_name_mk_string(x_39, x_51); -x_134 = lean_name_mk_string(x_133, x_57); -x_135 = lean_name_mk_string(x_134, x_64); -lean_inc(x_135); -x_136 = lean_name_mk_string(x_135, x_77); -x_137 = lean_name_mk_string(x_135, x_71); -x_138 = lean_box(0); -x_139 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_140 = lean_name_mk_string(x_39, x_139); -x_141 = lean_box(0); -lean_inc(x_140); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -x_144 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; -x_145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_145, 0, x_138); -lean_ctor_set(x_145, 1, x_144); -lean_ctor_set(x_145, 2, x_140); -lean_ctor_set(x_145, 3, x_143); -x_146 = l_Lean_nullKind___closed__1; -x_147 = lean_name_mk_string(x_39, x_146); -x_148 = l_Array_empty___closed__1; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_150 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_151 = lean_array_push(x_150, x_145); -x_152 = lean_array_push(x_151, x_149); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_137); -lean_ctor_set(x_153, 1, x_152); -x_154 = lean_array_push(x_150, x_153); -x_155 = lean_array_push(x_154, x_130); -lean_inc(x_136); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_136); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_150, x_156); -x_158 = lean_array_push(x_157, x_132); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_136); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_160, 0, x_159); -x_161 = l_Lean_Unhygienic_run___rarg(x_160); -x_2 = x_161; +x_135 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_135, 0, x_39); +lean_closure_set(x_135, 1, x_130); +lean_closure_set(x_135, 2, x_132); +lean_closure_set(x_135, 3, x_134); +x_136 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_137 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_137, 0, x_136); +lean_closure_set(x_137, 1, x_135); +x_138 = l_Lean_Unhygienic_run___rarg(x_137); +x_2 = x_138; goto _start; } } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_163 = l_Lean_stxInh; -x_164 = lean_unsigned_to_nat(1u); -x_165 = lean_array_get(x_163, x_3, x_164); +x_140 = l_Lean_stxInh; +x_141 = lean_unsigned_to_nat(0u); +x_142 = lean_array_get(x_140, x_3, x_141); +x_143 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_142); +if (lean_obj_tag(x_143) == 0) +{ +uint8_t x_144; lean_dec(x_3); -x_166 = l_Lean_Syntax_getArgs(x_165); -lean_dec(x_165); -x_167 = lean_array_get_size(x_166); -x_168 = lean_unsigned_to_nat(0u); -x_169 = lean_nat_dec_eq(x_167, x_168); -lean_dec(x_167); -if (x_169 == 0) +x_144 = !lean_is_exclusive(x_143); +if (x_144 == 0) { -lean_object* x_170; -x_170 = lean_array_get(x_163, x_166, x_168); -lean_dec(x_166); -x_2 = x_170; -goto _start; +return x_143; } else { -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_dec(x_166); -x_172 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_173 = lean_name_mk_string(x_39, x_172); -x_174 = l_Lean_Elab_Term_elabParen___closed__1; -x_175 = lean_name_mk_string(x_173, x_174); -x_176 = lean_box(0); -x_177 = l_Lean_mkConst(x_175, x_176); -x_178 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_178, 0, x_177); -return x_178; +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_143, 0); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_146, 0, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_147 = lean_ctor_get(x_143, 0); +lean_inc(x_147); +lean_dec(x_143); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_array_get(x_140, x_3, x_148); +lean_dec(x_3); +x_150 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_149); +if (lean_obj_tag(x_150) == 0) +{ +uint8_t x_151; +lean_dec(x_147); +x_151 = !lean_is_exclusive(x_150); +if (x_151 == 0) +{ +return x_150; +} +else +{ +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_150, 0); +lean_inc(x_152); +lean_dec(x_150); +x_153 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_153, 0, x_152); +return x_153; +} +} +else +{ +uint8_t x_154; +x_154 = !lean_is_exclusive(x_150); +if (x_154 == 0) +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_150, 0); +x_156 = l_Lean_mkApp(x_147, x_155); +lean_ctor_set(x_150, 0, x_156); +return x_150; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_150, 0); +lean_inc(x_157); +lean_dec(x_150); +x_158 = l_Lean_mkApp(x_147, x_157); +x_159 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_159, 0, x_158); +return x_159; +} +} } } } else { -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_160; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_179 = l_Lean_stxInh; -x_180 = lean_unsigned_to_nat(2u); -x_181 = lean_array_get(x_179, x_3, x_180); -x_182 = lean_unsigned_to_nat(4u); -x_183 = lean_array_get(x_179, x_3, x_182); -x_184 = lean_unsigned_to_nat(6u); -x_185 = lean_array_get(x_179, x_3, x_184); -lean_dec(x_3); -x_186 = lean_name_mk_string(x_39, x_51); -x_187 = lean_name_mk_string(x_186, x_57); -x_188 = lean_name_mk_string(x_187, x_64); -lean_inc(x_188); -x_189 = lean_name_mk_string(x_188, x_77); -x_190 = lean_name_mk_string(x_188, x_71); -x_191 = lean_box(0); -x_192 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_193 = lean_name_mk_string(x_39, x_192); -x_194 = lean_box(0); -lean_inc(x_193); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -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___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; -x_198 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_198, 0, x_191); -lean_ctor_set(x_198, 1, x_197); -lean_ctor_set(x_198, 2, x_193); -lean_ctor_set(x_198, 3, x_196); -x_199 = l_Lean_nullKind___closed__1; -x_200 = lean_name_mk_string(x_39, x_199); -x_201 = l_Array_empty___closed__1; -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -x_203 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_204 = lean_array_push(x_203, x_198); -x_205 = lean_array_push(x_204, x_202); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_190); -lean_ctor_set(x_206, 1, x_205); -x_207 = lean_array_push(x_203, x_206); -x_208 = lean_array_push(x_207, x_181); -lean_inc(x_189); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_189); -lean_ctor_set(x_209, 1, x_208); -x_210 = lean_array_push(x_203, x_209); -x_211 = lean_array_push(x_210, x_183); -lean_inc(x_189); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_189); -lean_ctor_set(x_212, 1, x_211); -x_213 = lean_array_push(x_203, x_212); -x_214 = lean_array_push(x_213, x_185); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_189); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_216, 0, x_215); -x_217 = l_Lean_Unhygienic_run___rarg(x_216); -x_2 = x_217; -goto _start; -} +x_194 = l_Lean_stxInh; +x_195 = lean_unsigned_to_nat(1u); +x_196 = lean_array_get(x_194, x_3, x_195); +x_197 = l_Lean_Syntax_getKind(x_196); +if (lean_obj_tag(x_197) == 1) +{ +lean_object* x_198; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +if (lean_obj_tag(x_198) == 1) +{ +lean_object* x_199; +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +if (lean_obj_tag(x_199) == 1) +{ +lean_object* x_200; +x_200 = lean_ctor_get(x_199, 0); +lean_inc(x_200); +if (lean_obj_tag(x_200) == 1) +{ +lean_object* x_201; +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; +x_202 = lean_ctor_get(x_197, 1); +lean_inc(x_202); +lean_dec(x_197); +x_203 = lean_ctor_get(x_198, 1); +lean_inc(x_203); +lean_dec(x_198); +x_204 = lean_ctor_get(x_199, 1); +lean_inc(x_204); +lean_dec(x_199); +x_205 = lean_ctor_get(x_200, 1); +lean_inc(x_205); +lean_dec(x_200); +x_206 = lean_string_dec_eq(x_205, x_51); +lean_dec(x_205); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; +lean_dec(x_204); +lean_dec(x_203); +lean_dec(x_202); +lean_dec(x_196); +x_207 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_208 = l_unreachable_x21___rarg(x_207); +x_160 = x_208; +goto block_193; } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_free_object(x_4); -lean_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_219 = l_Lean_stxInh; -x_220 = lean_unsigned_to_nat(0u); -x_221 = lean_array_get(x_219, x_3, x_220); -x_222 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_221); -if (lean_obj_tag(x_222) == 0) +uint8_t x_209; +x_209 = lean_string_dec_eq(x_204, x_57); +lean_dec(x_204); +if (x_209 == 0) { -uint8_t x_223; -lean_dec(x_3); -x_223 = !lean_is_exclusive(x_222); -if (x_223 == 0) -{ -return x_222; +lean_object* x_210; lean_object* x_211; +lean_dec(x_203); +lean_dec(x_202); +lean_dec(x_196); +x_210 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_211 = l_unreachable_x21___rarg(x_210); +x_160 = x_211; +goto block_193; } else { -lean_object* x_224; lean_object* x_225; -x_224 = lean_ctor_get(x_222, 0); -lean_inc(x_224); +uint8_t x_212; +x_212 = lean_string_dec_eq(x_203, x_64); +lean_dec(x_203); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; +lean_dec(x_202); +lean_dec(x_196); +x_213 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_214 = l_unreachable_x21___rarg(x_213); +x_160 = x_214; +goto block_193; +} +else +{ +lean_object* x_215; uint8_t x_216; +x_215 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_216 = lean_string_dec_eq(x_202, x_215); +if (x_216 == 0) +{ +lean_object* x_217; uint8_t x_218; +x_217 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +x_218 = lean_string_dec_eq(x_202, x_217); +lean_dec(x_202); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; +lean_dec(x_196); +x_219 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_220 = l_unreachable_x21___rarg(x_219); +x_160 = x_220; +goto block_193; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Lean_Syntax_getArg(x_196, x_221); +x_223 = l_Lean_Syntax_getIdAt(x_222, x_221); lean_dec(x_222); -x_225 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_225, 0, x_224); -return x_225; +x_224 = lean_unsigned_to_nat(3u); +x_225 = l_Lean_Syntax_getArg(x_196, x_224); +lean_dec(x_196); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_223); +lean_ctor_set(x_226, 1, x_225); +x_160 = x_226; +goto block_193; } } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_226 = lean_ctor_get(x_222, 0); -lean_inc(x_226); -lean_dec(x_222); -x_227 = lean_unsigned_to_nat(1u); -x_228 = lean_array_get(x_219, x_3, x_227); -lean_dec(x_3); -x_229 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_228); -if (lean_obj_tag(x_229) == 0) -{ -uint8_t x_230; -lean_dec(x_226); -x_230 = !lean_is_exclusive(x_229); -if (x_230 == 0) -{ -return x_229; +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +lean_dec(x_202); +x_227 = lean_unsigned_to_nat(0u); +x_228 = l_Lean_Syntax_getIdAt(x_196, x_227); +x_229 = lean_unsigned_to_nat(4u); +x_230 = l_Lean_Syntax_getArg(x_196, x_229); +lean_dec(x_196); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_228); +lean_ctor_set(x_231, 1, x_230); +x_160 = x_231; +goto block_193; +} +} } -else -{ -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_229, 0); -lean_inc(x_231); -lean_dec(x_229); -x_232 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_232, 0, x_231); -return x_232; } } else { -uint8_t x_233; -x_233 = !lean_is_exclusive(x_229); -if (x_233 == 0) +lean_object* x_232; lean_object* x_233; +lean_dec(x_201); +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_198); +lean_dec(x_197); +lean_dec(x_196); +x_232 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_233 = l_unreachable_x21___rarg(x_232); +x_160 = x_233; +goto block_193; +} +} +else { lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_229, 0); -x_235 = l_Lean_mkApp(x_226, x_234); -lean_ctor_set(x_229, 0, x_235); -return x_229; +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_198); +lean_dec(x_197); +lean_dec(x_196); +x_234 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_235 = l_unreachable_x21___rarg(x_234); +x_160 = x_235; +goto block_193; +} } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_229, 0); -lean_inc(x_236); -lean_dec(x_229); -x_237 = l_Lean_mkApp(x_226, x_236); -x_238 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_238, 0, x_237); -return x_238; +lean_object* x_236; lean_object* x_237; +lean_dec(x_199); +lean_dec(x_198); +lean_dec(x_197); +lean_dec(x_196); +x_236 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_237 = l_unreachable_x21___rarg(x_236); +x_160 = x_237; +goto block_193; +} +} +else +{ +lean_object* x_238; lean_object* x_239; +lean_dec(x_198); +lean_dec(x_197); +lean_dec(x_196); +x_238 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_239 = l_unreachable_x21___rarg(x_238); +x_160 = x_239; +goto block_193; +} +} +else +{ +lean_object* x_240; lean_object* x_241; +lean_dec(x_197); +lean_dec(x_196); +x_240 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_241 = l_unreachable_x21___rarg(x_240); +x_160 = x_241; +goto block_193; +} +block_193: +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +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 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_162); +if (lean_obj_tag(x_163) == 0) +{ +uint8_t x_164; +lean_dec(x_161); +lean_dec(x_3); +x_164 = !lean_is_exclusive(x_163); +if (x_164 == 0) +{ +return x_163; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_163, 0); +lean_inc(x_165); +lean_dec(x_163); +x_166 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_166, 0, x_165); +return x_166; +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_167 = lean_ctor_get(x_163, 0); +lean_inc(x_167); +lean_dec(x_163); +x_168 = l_Lean_stxInh; +x_169 = lean_unsigned_to_nat(3u); +x_170 = lean_array_get(x_168, x_3, x_169); +lean_dec(x_3); +x_171 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_170); +if (lean_obj_tag(x_171) == 0) +{ +uint8_t x_172; +lean_dec(x_167); +lean_dec(x_161); +x_172 = !lean_is_exclusive(x_171); +if (x_172 == 0) +{ +return x_171; +} +else +{ +lean_object* x_173; lean_object* x_174; +x_173 = lean_ctor_get(x_171, 0); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_174, 0, x_173); +return x_174; +} +} +else +{ +uint8_t x_175; +x_175 = !lean_is_exclusive(x_171); +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; uint8_t x_182; lean_object* x_183; +x_176 = lean_ctor_get(x_171, 0); +lean_inc(x_161); +x_177 = l_Lean_mkFVar(x_161); +x_178 = l_Lean_FileMap_ofString___closed__1; +x_179 = lean_array_push(x_178, x_177); +x_180 = lean_expr_abstract(x_176, x_179); +lean_dec(x_179); +lean_dec(x_176); +x_181 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_182 = 0; +x_183 = l_Lean_mkLet(x_161, x_181, x_167, x_180, x_182); +lean_ctor_set(x_171, 0, x_183); +return x_171; +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; +x_184 = lean_ctor_get(x_171, 0); +lean_inc(x_184); +lean_dec(x_171); +lean_inc(x_161); +x_185 = l_Lean_mkFVar(x_161); +x_186 = l_Lean_FileMap_ofString___closed__1; +x_187 = lean_array_push(x_186, x_185); +x_188 = lean_expr_abstract(x_184, x_187); +lean_dec(x_187); +lean_dec(x_184); +x_189 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_190 = 0; +x_191 = l_Lean_mkLet(x_161, x_189, x_167, x_188, x_190); +x_192 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_192, 0, x_191); +return x_192; +} } } } @@ -15017,1329 +15566,883 @@ return x_238; } else { -lean_object* x_239; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +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_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_273 = l_Lean_stxInh; -x_274 = lean_unsigned_to_nat(1u); -x_275 = lean_array_get(x_273, x_3, x_274); -x_276 = l_Lean_Syntax_getKind(x_275); -if (lean_obj_tag(x_276) == 1) -{ -lean_object* x_277; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -if (lean_obj_tag(x_277) == 1) -{ -lean_object* x_278; -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -if (lean_obj_tag(x_278) == 1) -{ -lean_object* x_279; -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -if (lean_obj_tag(x_279) == 1) -{ -lean_object* x_280; -x_280 = lean_ctor_get(x_279, 0); -lean_inc(x_280); -if (lean_obj_tag(x_280) == 0) -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; uint8_t x_285; -x_281 = lean_ctor_get(x_276, 1); -lean_inc(x_281); -lean_dec(x_276); -x_282 = lean_ctor_get(x_277, 1); -lean_inc(x_282); -lean_dec(x_277); -x_283 = lean_ctor_get(x_278, 1); -lean_inc(x_283); -lean_dec(x_278); -x_284 = lean_ctor_get(x_279, 1); -lean_inc(x_284); -lean_dec(x_279); -x_285 = lean_string_dec_eq(x_284, x_51); -lean_dec(x_284); -if (x_285 == 0) -{ -lean_object* x_286; lean_object* x_287; -lean_dec(x_283); -lean_dec(x_282); -lean_dec(x_281); -lean_dec(x_275); -x_286 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_287 = l_unreachable_x21___rarg(x_286); -x_239 = x_287; -goto block_272; -} -else -{ -uint8_t x_288; -x_288 = lean_string_dec_eq(x_283, x_57); -lean_dec(x_283); -if (x_288 == 0) -{ -lean_object* x_289; lean_object* x_290; -lean_dec(x_282); -lean_dec(x_281); -lean_dec(x_275); -x_289 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_290 = l_unreachable_x21___rarg(x_289); -x_239 = x_290; -goto block_272; -} -else -{ -uint8_t x_291; -x_291 = lean_string_dec_eq(x_282, x_64); -lean_dec(x_282); -if (x_291 == 0) -{ -lean_object* x_292; lean_object* x_293; -lean_dec(x_281); -lean_dec(x_275); -x_292 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_293 = l_unreachable_x21___rarg(x_292); -x_239 = x_293; -goto block_272; -} -else -{ -lean_object* x_294; uint8_t x_295; -x_294 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_295 = lean_string_dec_eq(x_281, x_294); -if (x_295 == 0) -{ -lean_object* x_296; uint8_t x_297; -x_296 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; -x_297 = lean_string_dec_eq(x_281, x_296); -lean_dec(x_281); -if (x_297 == 0) -{ -lean_object* x_298; lean_object* x_299; -lean_dec(x_275); -x_298 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_299 = l_unreachable_x21___rarg(x_298); -x_239 = x_299; -goto block_272; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_300 = lean_unsigned_to_nat(0u); -x_301 = l_Lean_Syntax_getArg(x_275, x_300); -x_302 = l_Lean_Syntax_getIdAt(x_301, x_300); -lean_dec(x_301); -x_303 = lean_unsigned_to_nat(3u); -x_304 = l_Lean_Syntax_getArg(x_275, x_303); -lean_dec(x_275); -x_305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_305, 0, x_302); -lean_ctor_set(x_305, 1, x_304); -x_239 = x_305; -goto block_272; -} -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -lean_dec(x_281); -x_306 = lean_unsigned_to_nat(0u); -x_307 = l_Lean_Syntax_getIdAt(x_275, x_306); -x_308 = lean_unsigned_to_nat(4u); -x_309 = l_Lean_Syntax_getArg(x_275, x_308); -lean_dec(x_275); -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_307); -lean_ctor_set(x_310, 1, x_309); -x_239 = x_310; -goto block_272; -} -} -} -} -} -else -{ -lean_object* x_311; lean_object* x_312; -lean_dec(x_280); -lean_dec(x_279); -lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_276); -lean_dec(x_275); -x_311 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_312 = l_unreachable_x21___rarg(x_311); -x_239 = x_312; -goto block_272; -} -} -else -{ -lean_object* x_313; lean_object* x_314; -lean_dec(x_279); -lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_276); -lean_dec(x_275); -x_313 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_314 = l_unreachable_x21___rarg(x_313); -x_239 = x_314; -goto block_272; -} -} -else -{ -lean_object* x_315; lean_object* x_316; -lean_dec(x_278); -lean_dec(x_277); -lean_dec(x_276); -lean_dec(x_275); -x_315 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_316 = l_unreachable_x21___rarg(x_315); -x_239 = x_316; -goto block_272; -} -} -else -{ -lean_object* x_317; lean_object* x_318; -lean_dec(x_277); -lean_dec(x_276); -lean_dec(x_275); -x_317 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_318 = l_unreachable_x21___rarg(x_317); -x_239 = x_318; -goto block_272; -} -} -else -{ -lean_object* x_319; lean_object* x_320; -lean_dec(x_276); -lean_dec(x_275); -x_319 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_320 = l_unreachable_x21___rarg(x_319); -x_239 = x_320; -goto block_272; -} -block_272: -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_242 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_241); -if (lean_obj_tag(x_242) == 0) -{ -uint8_t x_243; -lean_dec(x_240); +x_242 = l_Lean_stxInh; +x_243 = lean_unsigned_to_nat(1u); +x_244 = lean_array_get(x_242, x_3, x_243); +x_245 = l_Lean_Syntax_getArgs(x_244); +lean_dec(x_244); +x_246 = lean_unsigned_to_nat(3u); +x_247 = lean_array_get(x_242, x_3, x_246); lean_dec(x_3); -x_243 = !lean_is_exclusive(x_242); -if (x_243 == 0) +x_248 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_247); +if (lean_obj_tag(x_248) == 0) { -return x_242; +uint8_t x_249; +lean_dec(x_245); +lean_dec(x_2); +x_249 = !lean_is_exclusive(x_248); +if (x_249 == 0) +{ +return x_248; } else { -lean_object* x_244; lean_object* x_245; -x_244 = lean_ctor_get(x_242, 0); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_245, 0, x_244); -return x_245; +lean_object* x_250; lean_object* x_251; +x_250 = lean_ctor_get(x_248, 0); +lean_inc(x_250); +lean_dec(x_248); +x_251 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_251, 0, x_250); +return x_251; } } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_246 = lean_ctor_get(x_242, 0); -lean_inc(x_246); -lean_dec(x_242); -x_247 = l_Lean_stxInh; -x_248 = lean_unsigned_to_nat(3u); -x_249 = lean_array_get(x_247, x_3, x_248); -lean_dec(x_3); -x_250 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_249); -if (lean_obj_tag(x_250) == 0) -{ -uint8_t x_251; -lean_dec(x_246); -lean_dec(x_240); -x_251 = !lean_is_exclusive(x_250); -if (x_251 == 0) -{ -return x_250; -} -else -{ -lean_object* x_252; lean_object* x_253; -x_252 = lean_ctor_get(x_250, 0); +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_248, 0); lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_253, 0, x_252); -return x_253; -} -} -else -{ -uint8_t x_254; -x_254 = !lean_is_exclusive(x_250); -if (x_254 == 0) -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; lean_object* x_262; -x_255 = lean_ctor_get(x_250, 0); -lean_inc(x_240); -x_256 = l_Lean_mkFVar(x_240); -x_257 = l_Lean_FileMap_ofString___closed__1; -x_258 = lean_array_push(x_257, x_256); -x_259 = lean_expr_abstract(x_255, x_258); -lean_dec(x_258); -lean_dec(x_255); -x_260 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_261 = 0; -x_262 = l_Lean_mkLet(x_240, x_260, x_246, x_259, x_261); -lean_ctor_set(x_250, 0, x_262); -return x_250; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; -x_263 = lean_ctor_get(x_250, 0); -lean_inc(x_263); -lean_dec(x_250); -lean_inc(x_240); -x_264 = l_Lean_mkFVar(x_240); -x_265 = l_Lean_FileMap_ofString___closed__1; -x_266 = lean_array_push(x_265, x_264); -x_267 = lean_expr_abstract(x_263, x_266); -lean_dec(x_266); -lean_dec(x_263); -x_268 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_269 = 0; -x_270 = l_Lean_mkLet(x_240, x_268, x_246, x_267, x_269); -x_271 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_271, 0, x_270); -return x_271; -} -} -} +lean_dec(x_248); +x_253 = lean_array_get_size(x_245); +x_254 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_245, x_253, lean_box(0), x_252); +lean_dec(x_245); +lean_dec(x_2); +return x_254; } } } else { -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_255; lean_object* x_256; lean_object* x_257; lean_free_object(x_4); lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); +lean_dec(x_2); +x_255 = l_Lean_stxInh; +x_256 = lean_unsigned_to_nat(0u); +x_257 = lean_array_get(x_255, x_3, x_256); +lean_dec(x_3); +if (lean_obj_tag(x_257) == 3) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_258 = lean_ctor_get(x_257, 2); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 3); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_box(0); +lean_inc(x_258); +x_261 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_260, x_258); +x_262 = l_List_append___rarg(x_261, x_259); +if (lean_obj_tag(x_262) == 0) +{ +lean_object* x_263; lean_object* x_264; +x_263 = l_Lean_mkFVar(x_258); +x_264 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_264, 0, x_263); +return x_264; +} +else +{ +lean_object* x_265; lean_object* x_266; +lean_dec(x_258); +x_265 = lean_ctor_get(x_262, 0); +lean_inc(x_265); +lean_dec(x_262); +x_266 = lean_ctor_get(x_265, 1); +lean_inc(x_266); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_265, 0); +lean_inc(x_267); +lean_dec(x_265); +x_268 = l_Lean_mkConst(x_267, x_260); +x_269 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_269, 0, x_268); +return x_269; +} +else +{ +lean_object* x_270; +lean_dec(x_266); +lean_dec(x_265); +x_270 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; +return x_270; +} +} +} +else +{ +lean_object* x_271; lean_object* x_272; +lean_dec(x_257); +x_271 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; +x_272 = l_unreachable_x21___rarg(x_271); +return x_272; +} +} +} +} +} +else +{ +lean_object* x_273; uint8_t x_274; +lean_dec(x_4); +x_273 = l_Lean_Syntax_formatStx___main___closed__5; +x_274 = lean_string_dec_eq(x_46, x_273); +if (x_274 == 0) +{ +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_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_38, 1, x_51); +x_275 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_275, 0, x_12); +lean_ctor_set(x_275, 1, x_40); +lean_ctor_set_usize(x_275, 2, x_42); +x_276 = l_System_FilePath_dirName___closed__1; +x_277 = l_Lean_Name_toStringWithSep___main(x_276, x_275); +x_278 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_279 = lean_string_append(x_278, x_277); +lean_dec(x_277); +x_280 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_280, 0, x_279); +return x_280; +} +else +{ +lean_object* x_281; uint8_t x_282; +lean_dec(x_46); +x_281 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_282 = lean_string_dec_eq(x_43, x_281); +if (x_282 == 0) +{ +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_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_38, 1, x_51); +lean_ctor_set(x_37, 1, x_273); +x_283 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_283, 0, x_12); +lean_ctor_set(x_283, 1, x_40); +lean_ctor_set_usize(x_283, 2, x_42); +x_284 = l_System_FilePath_dirName___closed__1; +x_285 = l_Lean_Name_toStringWithSep___main(x_284, x_283); +x_286 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_287 = lean_string_append(x_286, x_285); +lean_dec(x_285); +x_288 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_288, 0, x_287); +return x_288; +} +else +{ +lean_object* x_289; uint8_t x_290; +lean_dec(x_43); +x_289 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_290 = lean_string_dec_eq(x_40, x_289); +if (x_290 == 0) +{ +lean_object* x_291; uint8_t x_292; +x_291 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_292 = lean_string_dec_eq(x_40, x_291); +if (x_292 == 0) +{ +lean_object* x_293; uint8_t x_294; +lean_dec(x_2); +x_293 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_294 = lean_string_dec_eq(x_40, x_293); +if (x_294 == 0) +{ +lean_object* x_295; uint8_t x_296; +x_295 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_296 = lean_string_dec_eq(x_40, x_295); +if (x_296 == 0) +{ +lean_object* x_297; uint8_t x_298; +x_297 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; +x_298 = lean_string_dec_eq(x_40, x_297); +if (x_298 == 0) +{ +lean_object* x_299; uint8_t x_300; +x_299 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; +x_300 = lean_string_dec_eq(x_40, x_299); +if (x_300 == 0) +{ +lean_object* x_301; uint8_t x_302; +x_301 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_302 = lean_string_dec_eq(x_40, x_301); +if (x_302 == 0) +{ +lean_object* x_303; uint8_t x_304; +x_303 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_304 = lean_string_dec_eq(x_40, x_303); +if (x_304 == 0) +{ +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_dec(x_3); +lean_ctor_set(x_38, 1, x_51); +lean_ctor_set(x_37, 1, x_273); +lean_ctor_set(x_12, 1, x_281); +x_305 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_305, 0, x_12); +lean_ctor_set(x_305, 1, x_40); +lean_ctor_set_usize(x_305, 2, x_42); +x_306 = l_System_FilePath_dirName___closed__1; +x_307 = l_Lean_Name_toStringWithSep___main(x_306, x_305); +x_308 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_309 = lean_string_append(x_308, x_307); +lean_dec(x_307); +x_310 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_310, 0, x_309); +return x_310; +} +else +{ +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_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_311 = l_Lean_stxInh; +x_312 = lean_unsigned_to_nat(0u); +x_313 = lean_array_get(x_311, x_3, x_312); +x_314 = lean_unsigned_to_nat(2u); +x_315 = lean_array_get(x_311, x_3, x_314); +lean_dec(x_3); +x_316 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_316, 0, x_39); +lean_closure_set(x_316, 1, x_313); +lean_closure_set(x_316, 2, x_315); +x_317 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_318 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_318, 0, x_317); +lean_closure_set(x_318, 1, x_316); +x_319 = l_Lean_Unhygienic_run___rarg(x_318); +x_2 = x_319; +goto _start; +} +} +else +{ +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_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); x_321 = l_Lean_stxInh; -x_322 = lean_unsigned_to_nat(1u); +x_322 = lean_unsigned_to_nat(0u); x_323 = lean_array_get(x_321, x_3, x_322); -x_324 = l_Lean_Syntax_getArgs(x_323); -lean_dec(x_323); -x_325 = lean_unsigned_to_nat(3u); -x_326 = lean_array_get(x_321, x_3, x_325); +x_324 = lean_unsigned_to_nat(2u); +x_325 = lean_array_get(x_321, x_3, x_324); lean_dec(x_3); -x_327 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_326); -if (lean_obj_tag(x_327) == 0) -{ -uint8_t x_328; -lean_dec(x_324); -lean_dec(x_2); -x_328 = !lean_is_exclusive(x_327); -if (x_328 == 0) -{ -return x_327; -} -else -{ -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_327, 0); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_330, 0, x_329); -return x_330; -} -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_331 = lean_ctor_get(x_327, 0); -lean_inc(x_331); -lean_dec(x_327); -x_332 = lean_array_get_size(x_324); -x_333 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_324, x_332, lean_box(0), x_331); -lean_dec(x_324); -lean_dec(x_2); -return x_333; -} -} -} -else -{ -lean_object* x_334; lean_object* x_335; lean_object* x_336; -lean_free_object(x_4); -lean_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -lean_dec(x_2); -x_334 = l_Lean_stxInh; -x_335 = lean_unsigned_to_nat(0u); -x_336 = lean_array_get(x_334, x_3, x_335); -lean_dec(x_3); -if (lean_obj_tag(x_336) == 3) -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_337 = lean_ctor_get(x_336, 2); -lean_inc(x_337); -x_338 = lean_ctor_get(x_336, 3); -lean_inc(x_338); -lean_dec(x_336); -x_339 = lean_box(0); -lean_inc(x_337); -x_340 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_339, x_337); -x_341 = l_List_append___rarg(x_340, x_338); -if (lean_obj_tag(x_341) == 0) -{ -lean_object* x_342; lean_object* x_343; -x_342 = l_Lean_mkFVar(x_337); -x_343 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_343, 0, x_342); -return x_343; -} -else -{ -lean_object* x_344; lean_object* x_345; -lean_dec(x_337); -x_344 = lean_ctor_get(x_341, 0); -lean_inc(x_344); -lean_dec(x_341); -x_345 = lean_ctor_get(x_344, 1); -lean_inc(x_345); -if (lean_obj_tag(x_345) == 0) -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_346 = lean_ctor_get(x_344, 0); -lean_inc(x_346); -lean_dec(x_344); -x_347 = l_Lean_mkConst(x_346, x_339); -x_348 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_348, 0, x_347); -return x_348; -} -else -{ -lean_object* x_349; -lean_dec(x_345); -lean_dec(x_344); -x_349 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -return x_349; -} -} -} -else -{ -lean_object* x_350; lean_object* x_351; -lean_dec(x_336); -x_350 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; -x_351 = l_unreachable_x21___rarg(x_350); -return x_351; -} -} -} -} -} -else -{ -lean_object* x_352; uint8_t x_353; -lean_dec(x_4); -x_352 = l_Lean_Syntax_formatStx___main___closed__5; -x_353 = lean_string_dec_eq(x_46, x_352); -if (x_353 == 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_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_38, 1, x_51); -x_354 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_354, 0, x_12); -lean_ctor_set(x_354, 1, x_40); -lean_ctor_set_usize(x_354, 2, x_42); -x_355 = l_System_FilePath_dirName___closed__1; -x_356 = l_Lean_Name_toStringWithSep___main(x_355, x_354); -x_357 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_358 = lean_string_append(x_357, x_356); -lean_dec(x_356); -x_359 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_359, 0, x_358); -return x_359; -} -else -{ -lean_object* x_360; uint8_t x_361; -lean_dec(x_46); -x_360 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_361 = lean_string_dec_eq(x_43, x_360); -if (x_361 == 0) -{ -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_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_38, 1, x_51); -lean_ctor_set(x_37, 1, x_352); -x_362 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_362, 0, x_12); -lean_ctor_set(x_362, 1, x_40); -lean_ctor_set_usize(x_362, 2, x_42); -x_363 = l_System_FilePath_dirName___closed__1; -x_364 = l_Lean_Name_toStringWithSep___main(x_363, x_362); -x_365 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_366 = lean_string_append(x_365, x_364); -lean_dec(x_364); -x_367 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_367, 0, x_366); -return x_367; -} -else -{ -lean_object* x_368; uint8_t x_369; -lean_dec(x_43); -x_368 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_369 = lean_string_dec_eq(x_40, x_368); -if (x_369 == 0) -{ -lean_object* x_370; uint8_t x_371; -x_370 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_371 = lean_string_dec_eq(x_40, x_370); -if (x_371 == 0) -{ -lean_object* x_372; uint8_t x_373; -lean_dec(x_2); -x_372 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_373 = lean_string_dec_eq(x_40, x_372); -if (x_373 == 0) -{ -lean_object* x_374; uint8_t x_375; -x_374 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_375 = lean_string_dec_eq(x_40, x_374); -if (x_375 == 0) -{ -lean_object* x_376; uint8_t x_377; -x_376 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; -x_377 = lean_string_dec_eq(x_40, x_376); -if (x_377 == 0) -{ -lean_object* x_378; uint8_t x_379; -x_378 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; -x_379 = lean_string_dec_eq(x_40, x_378); -if (x_379 == 0) -{ -lean_object* x_380; uint8_t x_381; -x_380 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_381 = lean_string_dec_eq(x_40, x_380); -if (x_381 == 0) -{ -lean_object* x_382; uint8_t x_383; -x_382 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_383 = lean_string_dec_eq(x_40, x_382); -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_dec(x_3); -lean_ctor_set(x_38, 1, x_51); -lean_ctor_set(x_37, 1, x_352); -lean_ctor_set(x_12, 1, x_360); -x_384 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_384, 0, x_12); -lean_ctor_set(x_384, 1, x_40); -lean_ctor_set_usize(x_384, 2, x_42); -x_385 = l_System_FilePath_dirName___closed__1; -x_386 = l_Lean_Name_toStringWithSep___main(x_385, x_384); -x_387 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_388 = lean_string_append(x_387, x_386); -lean_dec(x_386); -x_389 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_389, 0, x_388); -return x_389; -} -else -{ -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_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_390 = l_Lean_stxInh; -x_391 = lean_unsigned_to_nat(0u); -x_392 = lean_array_get(x_390, x_3, x_391); -x_393 = lean_unsigned_to_nat(2u); -x_394 = lean_array_get(x_390, x_3, x_393); -lean_dec(x_3); -x_395 = lean_name_mk_string(x_39, x_51); -x_396 = lean_name_mk_string(x_395, x_352); -x_397 = lean_name_mk_string(x_396, x_360); -lean_inc(x_397); -x_398 = lean_name_mk_string(x_397, x_374); -x_399 = lean_name_mk_string(x_397, x_368); -x_400 = lean_box(0); -x_401 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -x_402 = lean_name_mk_string(x_39, x_401); -x_403 = lean_name_mk_string(x_402, x_382); -x_404 = lean_box(0); -lean_inc(x_403); -x_405 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_405, 0, x_403); -lean_ctor_set(x_405, 1, x_404); -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___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -x_408 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_408, 0, x_400); -lean_ctor_set(x_408, 1, x_407); -lean_ctor_set(x_408, 2, x_403); -lean_ctor_set(x_408, 3, x_406); -x_409 = l_Lean_nullKind___closed__1; -x_410 = lean_name_mk_string(x_39, x_409); -x_411 = l_Array_empty___closed__1; -x_412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_412, 0, x_410); -lean_ctor_set(x_412, 1, x_411); -x_413 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_414 = lean_array_push(x_413, x_408); -x_415 = lean_array_push(x_414, x_412); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_399); -lean_ctor_set(x_416, 1, x_415); -x_417 = lean_array_push(x_413, x_416); -x_418 = lean_array_push(x_417, x_392); -lean_inc(x_398); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_398); -lean_ctor_set(x_419, 1, x_418); -x_420 = lean_array_push(x_413, x_419); -x_421 = lean_array_push(x_420, x_394); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_398); -lean_ctor_set(x_422, 1, x_421); -x_423 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_423, 0, x_422); -x_424 = l_Lean_Unhygienic_run___rarg(x_423); -x_2 = x_424; +x_326 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_326, 0, x_39); +lean_closure_set(x_326, 1, x_323); +lean_closure_set(x_326, 2, x_325); +x_327 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_328 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_328, 0, x_327); +lean_closure_set(x_328, 1, x_326); +x_329 = l_Lean_Unhygienic_run___rarg(x_328); +x_2 = x_329; goto _start; } } else { -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_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_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_426 = l_Lean_stxInh; -x_427 = lean_unsigned_to_nat(0u); -x_428 = lean_array_get(x_426, x_3, x_427); -x_429 = lean_unsigned_to_nat(2u); -x_430 = lean_array_get(x_426, x_3, x_429); +x_331 = l_Lean_stxInh; +x_332 = lean_unsigned_to_nat(1u); +x_333 = lean_array_get(x_331, x_3, x_332); lean_dec(x_3); -x_431 = lean_name_mk_string(x_39, x_51); -x_432 = lean_name_mk_string(x_431, x_352); -x_433 = lean_name_mk_string(x_432, x_360); -lean_inc(x_433); -x_434 = lean_name_mk_string(x_433, x_374); -x_435 = lean_name_mk_string(x_433, x_368); -x_436 = lean_box(0); -x_437 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_438 = lean_name_mk_string(x_39, x_437); -x_439 = lean_box(0); -lean_inc(x_438); +x_334 = l_Lean_Syntax_getArgs(x_333); +lean_dec(x_333); +x_335 = lean_array_get_size(x_334); +x_336 = lean_unsigned_to_nat(0u); +x_337 = lean_nat_dec_eq(x_335, x_336); +lean_dec(x_335); +if (x_337 == 0) +{ +lean_object* x_338; +x_338 = lean_array_get(x_331, x_334, x_336); +lean_dec(x_334); +x_2 = x_338; +goto _start; +} +else +{ +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_dec(x_334); +x_340 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_341 = lean_name_mk_string(x_39, x_340); +x_342 = l_Lean_Elab_Term_elabParen___closed__4; +x_343 = lean_name_mk_string(x_341, x_342); +x_344 = lean_box(0); +x_345 = l_Lean_mkConst(x_343, x_344); +x_346 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_346, 0, x_345); +return x_346; +} +} +} +else +{ +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_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_347 = l_Lean_stxInh; +x_348 = lean_unsigned_to_nat(2u); +x_349 = lean_array_get(x_347, x_3, x_348); +x_350 = lean_unsigned_to_nat(4u); +x_351 = lean_array_get(x_347, x_3, x_350); +x_352 = lean_unsigned_to_nat(6u); +x_353 = lean_array_get(x_347, x_3, x_352); +lean_dec(x_3); +x_354 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_354, 0, x_39); +lean_closure_set(x_354, 1, x_349); +lean_closure_set(x_354, 2, x_351); +lean_closure_set(x_354, 3, x_353); +x_355 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_356 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_356, 0, x_355); +lean_closure_set(x_356, 1, x_354); +x_357 = l_Lean_Unhygienic_run___rarg(x_356); +x_2 = x_357; +goto _start; +} +} +else +{ +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; +lean_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_359 = l_Lean_stxInh; +x_360 = lean_unsigned_to_nat(0u); +x_361 = lean_array_get(x_359, x_3, x_360); +x_362 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_361); +if (lean_obj_tag(x_362) == 0) +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; +lean_dec(x_3); +x_363 = lean_ctor_get(x_362, 0); +lean_inc(x_363); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + x_364 = x_362; +} else { + lean_dec_ref(x_362); + x_364 = lean_box(0); +} +if (lean_is_scalar(x_364)) { + x_365 = lean_alloc_ctor(0, 1, 0); +} else { + x_365 = x_364; +} +lean_ctor_set(x_365, 0, x_363); +return x_365; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_366 = lean_ctor_get(x_362, 0); +lean_inc(x_366); +lean_dec(x_362); +x_367 = lean_unsigned_to_nat(1u); +x_368 = lean_array_get(x_359, x_3, x_367); +lean_dec(x_3); +x_369 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_368); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; lean_object* x_371; lean_object* x_372; +lean_dec(x_366); +x_370 = lean_ctor_get(x_369, 0); +lean_inc(x_370); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + x_371 = x_369; +} else { + lean_dec_ref(x_369); + x_371 = lean_box(0); +} +if (lean_is_scalar(x_371)) { + x_372 = lean_alloc_ctor(0, 1, 0); +} else { + x_372 = x_371; +} +lean_ctor_set(x_372, 0, x_370); +return x_372; +} +else +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_373 = lean_ctor_get(x_369, 0); +lean_inc(x_373); +if (lean_is_exclusive(x_369)) { + lean_ctor_release(x_369, 0); + x_374 = x_369; +} else { + lean_dec_ref(x_369); + x_374 = lean_box(0); +} +x_375 = l_Lean_mkApp(x_366, x_373); +if (lean_is_scalar(x_374)) { + x_376 = lean_alloc_ctor(1, 1, 0); +} else { + x_376 = x_374; +} +lean_ctor_set(x_376, 0, x_375); +return x_376; +} +} +} +} +else +{ +lean_object* x_377; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; +lean_free_object(x_38); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_403 = l_Lean_stxInh; +x_404 = lean_unsigned_to_nat(1u); +x_405 = lean_array_get(x_403, x_3, x_404); +x_406 = l_Lean_Syntax_getKind(x_405); +if (lean_obj_tag(x_406) == 1) +{ +lean_object* x_407; +x_407 = lean_ctor_get(x_406, 0); +lean_inc(x_407); +if (lean_obj_tag(x_407) == 1) +{ +lean_object* x_408; +x_408 = lean_ctor_get(x_407, 0); +lean_inc(x_408); +if (lean_obj_tag(x_408) == 1) +{ +lean_object* x_409; +x_409 = lean_ctor_get(x_408, 0); +lean_inc(x_409); +if (lean_obj_tag(x_409) == 1) +{ +lean_object* x_410; +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +if (lean_obj_tag(x_410) == 0) +{ +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; +x_411 = lean_ctor_get(x_406, 1); +lean_inc(x_411); +lean_dec(x_406); +x_412 = lean_ctor_get(x_407, 1); +lean_inc(x_412); +lean_dec(x_407); +x_413 = lean_ctor_get(x_408, 1); +lean_inc(x_413); +lean_dec(x_408); +x_414 = lean_ctor_get(x_409, 1); +lean_inc(x_414); +lean_dec(x_409); +x_415 = lean_string_dec_eq(x_414, x_51); +lean_dec(x_414); +if (x_415 == 0) +{ +lean_object* x_416; lean_object* x_417; +lean_dec(x_413); +lean_dec(x_412); +lean_dec(x_411); +lean_dec(x_405); +x_416 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_417 = l_unreachable_x21___rarg(x_416); +x_377 = x_417; +goto block_402; +} +else +{ +uint8_t x_418; +x_418 = lean_string_dec_eq(x_413, x_273); +lean_dec(x_413); +if (x_418 == 0) +{ +lean_object* x_419; lean_object* x_420; +lean_dec(x_412); +lean_dec(x_411); +lean_dec(x_405); +x_419 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_420 = l_unreachable_x21___rarg(x_419); +x_377 = x_420; +goto block_402; +} +else +{ +uint8_t x_421; +x_421 = lean_string_dec_eq(x_412, x_281); +lean_dec(x_412); +if (x_421 == 0) +{ +lean_object* x_422; lean_object* x_423; +lean_dec(x_411); +lean_dec(x_405); +x_422 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_423 = l_unreachable_x21___rarg(x_422); +x_377 = x_423; +goto block_402; +} +else +{ +lean_object* x_424; uint8_t x_425; +x_424 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_425 = lean_string_dec_eq(x_411, x_424); +if (x_425 == 0) +{ +lean_object* x_426; uint8_t x_427; +x_426 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +x_427 = lean_string_dec_eq(x_411, x_426); +lean_dec(x_411); +if (x_427 == 0) +{ +lean_object* x_428; lean_object* x_429; +lean_dec(x_405); +x_428 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_429 = l_unreachable_x21___rarg(x_428); +x_377 = x_429; +goto block_402; +} +else +{ +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_430 = lean_unsigned_to_nat(0u); +x_431 = l_Lean_Syntax_getArg(x_405, x_430); +x_432 = l_Lean_Syntax_getIdAt(x_431, x_430); +lean_dec(x_431); +x_433 = lean_unsigned_to_nat(3u); +x_434 = l_Lean_Syntax_getArg(x_405, x_433); +lean_dec(x_405); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_432); +lean_ctor_set(x_435, 1, x_434); +x_377 = x_435; +goto block_402; +} +} +else +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; +lean_dec(x_411); +x_436 = lean_unsigned_to_nat(0u); +x_437 = l_Lean_Syntax_getIdAt(x_405, x_436); +x_438 = lean_unsigned_to_nat(4u); +x_439 = l_Lean_Syntax_getArg(x_405, x_438); +lean_dec(x_405); x_440 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_440, 0, x_438); +lean_ctor_set(x_440, 0, x_437); lean_ctor_set(x_440, 1, x_439); -x_441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_439); -x_442 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; -x_443 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_443, 0, x_436); -lean_ctor_set(x_443, 1, x_442); -lean_ctor_set(x_443, 2, x_438); -lean_ctor_set(x_443, 3, x_441); -x_444 = l_Lean_nullKind___closed__1; -x_445 = lean_name_mk_string(x_39, x_444); -x_446 = l_Array_empty___closed__1; -x_447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_447, 0, x_445); -lean_ctor_set(x_447, 1, x_446); -x_448 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_449 = lean_array_push(x_448, x_443); -x_450 = lean_array_push(x_449, x_447); -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_435); -lean_ctor_set(x_451, 1, x_450); -x_452 = lean_array_push(x_448, x_451); -x_453 = lean_array_push(x_452, x_428); -lean_inc(x_434); -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_434); -lean_ctor_set(x_454, 1, x_453); -x_455 = lean_array_push(x_448, x_454); -x_456 = lean_array_push(x_455, x_430); -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_434); -lean_ctor_set(x_457, 1, x_456); -x_458 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_458, 0, x_457); -x_459 = l_Lean_Unhygienic_run___rarg(x_458); -x_2 = x_459; -goto _start; +x_377 = x_440; +goto block_402; +} +} +} } } else { -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; +lean_object* x_441; lean_object* x_442; +lean_dec(x_410); +lean_dec(x_409); +lean_dec(x_408); +lean_dec(x_407); +lean_dec(x_406); +lean_dec(x_405); +x_441 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_442 = l_unreachable_x21___rarg(x_441); +x_377 = x_442; +goto block_402; +} +} +else +{ +lean_object* x_443; lean_object* x_444; +lean_dec(x_409); +lean_dec(x_408); +lean_dec(x_407); +lean_dec(x_406); +lean_dec(x_405); +x_443 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_444 = l_unreachable_x21___rarg(x_443); +x_377 = x_444; +goto block_402; +} +} +else +{ +lean_object* x_445; lean_object* x_446; +lean_dec(x_408); +lean_dec(x_407); +lean_dec(x_406); +lean_dec(x_405); +x_445 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_446 = l_unreachable_x21___rarg(x_445); +x_377 = x_446; +goto block_402; +} +} +else +{ +lean_object* x_447; lean_object* x_448; +lean_dec(x_407); +lean_dec(x_406); +lean_dec(x_405); +x_447 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_448 = l_unreachable_x21___rarg(x_447); +x_377 = x_448; +goto block_402; +} +} +else +{ +lean_object* x_449; lean_object* x_450; +lean_dec(x_406); +lean_dec(x_405); +x_449 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_450 = l_unreachable_x21___rarg(x_449); +x_377 = x_450; +goto block_402; +} +block_402: +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_378 = lean_ctor_get(x_377, 0); +lean_inc(x_378); +x_379 = lean_ctor_get(x_377, 1); +lean_inc(x_379); +lean_dec(x_377); +x_380 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_379); +if (lean_obj_tag(x_380) == 0) +{ +lean_object* x_381; lean_object* x_382; lean_object* x_383; +lean_dec(x_378); +lean_dec(x_3); +x_381 = lean_ctor_get(x_380, 0); +lean_inc(x_381); +if (lean_is_exclusive(x_380)) { + lean_ctor_release(x_380, 0); + x_382 = x_380; +} else { + lean_dec_ref(x_380); + x_382 = lean_box(0); +} +if (lean_is_scalar(x_382)) { + x_383 = lean_alloc_ctor(0, 1, 0); +} else { + x_383 = x_382; +} +lean_ctor_set(x_383, 0, x_381); +return x_383; +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; +x_384 = lean_ctor_get(x_380, 0); +lean_inc(x_384); +lean_dec(x_380); +x_385 = l_Lean_stxInh; +x_386 = lean_unsigned_to_nat(3u); +x_387 = lean_array_get(x_385, x_3, x_386); +lean_dec(x_3); +x_388 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_387); +if (lean_obj_tag(x_388) == 0) +{ +lean_object* x_389; lean_object* x_390; lean_object* x_391; +lean_dec(x_384); +lean_dec(x_378); +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +if (lean_is_exclusive(x_388)) { + lean_ctor_release(x_388, 0); + x_390 = x_388; +} else { + lean_dec_ref(x_388); + x_390 = lean_box(0); +} +if (lean_is_scalar(x_390)) { + x_391 = lean_alloc_ctor(0, 1, 0); +} else { + x_391 = x_390; +} +lean_ctor_set(x_391, 0, x_389); +return x_391; +} +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; uint8_t x_399; lean_object* x_400; lean_object* x_401; +x_392 = lean_ctor_get(x_388, 0); +lean_inc(x_392); +if (lean_is_exclusive(x_388)) { + lean_ctor_release(x_388, 0); + x_393 = x_388; +} else { + lean_dec_ref(x_388); + x_393 = lean_box(0); +} +lean_inc(x_378); +x_394 = l_Lean_mkFVar(x_378); +x_395 = l_Lean_FileMap_ofString___closed__1; +x_396 = lean_array_push(x_395, x_394); +x_397 = lean_expr_abstract(x_392, x_396); +lean_dec(x_396); +lean_dec(x_392); +x_398 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_399 = 0; +x_400 = l_Lean_mkLet(x_378, x_398, x_384, x_397, x_399); +if (lean_is_scalar(x_393)) { + x_401 = lean_alloc_ctor(1, 1, 0); +} else { + x_401 = x_393; +} +lean_ctor_set(x_401, 0, x_400); +return x_401; +} +} +} +} +} +else +{ +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_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_461 = l_Lean_stxInh; -x_462 = lean_unsigned_to_nat(1u); -x_463 = lean_array_get(x_461, x_3, x_462); +x_451 = l_Lean_stxInh; +x_452 = lean_unsigned_to_nat(1u); +x_453 = lean_array_get(x_451, x_3, x_452); +x_454 = l_Lean_Syntax_getArgs(x_453); +lean_dec(x_453); +x_455 = lean_unsigned_to_nat(3u); +x_456 = lean_array_get(x_451, x_3, x_455); lean_dec(x_3); -x_464 = l_Lean_Syntax_getArgs(x_463); -lean_dec(x_463); -x_465 = lean_array_get_size(x_464); -x_466 = lean_unsigned_to_nat(0u); -x_467 = lean_nat_dec_eq(x_465, x_466); -lean_dec(x_465); -if (x_467 == 0) +x_457 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_456); +if (lean_obj_tag(x_457) == 0) { -lean_object* x_468; -x_468 = lean_array_get(x_461, x_464, x_466); -lean_dec(x_464); -x_2 = x_468; -goto _start; -} -else -{ -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_dec(x_464); -x_470 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_471 = lean_name_mk_string(x_39, x_470); -x_472 = l_Lean_Elab_Term_elabParen___closed__1; -x_473 = lean_name_mk_string(x_471, x_472); -x_474 = lean_box(0); -x_475 = l_Lean_mkConst(x_473, x_474); -x_476 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_476, 0, x_475); -return x_476; -} -} -} -else -{ -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_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_477 = l_Lean_stxInh; -x_478 = lean_unsigned_to_nat(2u); -x_479 = lean_array_get(x_477, x_3, x_478); -x_480 = lean_unsigned_to_nat(4u); -x_481 = lean_array_get(x_477, x_3, x_480); -x_482 = lean_unsigned_to_nat(6u); -x_483 = lean_array_get(x_477, x_3, x_482); -lean_dec(x_3); -x_484 = lean_name_mk_string(x_39, x_51); -x_485 = lean_name_mk_string(x_484, x_352); -x_486 = lean_name_mk_string(x_485, x_360); -lean_inc(x_486); -x_487 = lean_name_mk_string(x_486, x_374); -x_488 = lean_name_mk_string(x_486, x_368); -x_489 = lean_box(0); -x_490 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_491 = lean_name_mk_string(x_39, x_490); -x_492 = lean_box(0); -lean_inc(x_491); -x_493 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_493, 0, x_491); -lean_ctor_set(x_493, 1, x_492); -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_492); -x_495 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; -x_496 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_496, 0, x_489); -lean_ctor_set(x_496, 1, x_495); -lean_ctor_set(x_496, 2, x_491); -lean_ctor_set(x_496, 3, x_494); -x_497 = l_Lean_nullKind___closed__1; -x_498 = lean_name_mk_string(x_39, x_497); -x_499 = l_Array_empty___closed__1; -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_498); -lean_ctor_set(x_500, 1, x_499); -x_501 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_502 = lean_array_push(x_501, x_496); -x_503 = lean_array_push(x_502, x_500); -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_488); -lean_ctor_set(x_504, 1, x_503); -x_505 = lean_array_push(x_501, x_504); -x_506 = lean_array_push(x_505, x_479); -lean_inc(x_487); -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_487); -lean_ctor_set(x_507, 1, x_506); -x_508 = lean_array_push(x_501, x_507); -x_509 = lean_array_push(x_508, x_481); -lean_inc(x_487); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_487); -lean_ctor_set(x_510, 1, x_509); -x_511 = lean_array_push(x_501, x_510); -x_512 = lean_array_push(x_511, x_483); -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_487); -lean_ctor_set(x_513, 1, x_512); -x_514 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_514, 0, x_513); -x_515 = l_Lean_Unhygienic_run___rarg(x_514); -x_2 = x_515; -goto _start; -} -} -else -{ -lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; -lean_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_517 = l_Lean_stxInh; -x_518 = lean_unsigned_to_nat(0u); -x_519 = lean_array_get(x_517, x_3, x_518); -x_520 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_519); -if (lean_obj_tag(x_520) == 0) -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; -lean_dec(x_3); -x_521 = lean_ctor_get(x_520, 0); -lean_inc(x_521); -if (lean_is_exclusive(x_520)) { - lean_ctor_release(x_520, 0); - x_522 = x_520; -} else { - lean_dec_ref(x_520); - x_522 = lean_box(0); -} -if (lean_is_scalar(x_522)) { - x_523 = lean_alloc_ctor(0, 1, 0); -} else { - x_523 = x_522; -} -lean_ctor_set(x_523, 0, x_521); -return x_523; -} -else -{ -lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_524 = lean_ctor_get(x_520, 0); -lean_inc(x_524); -lean_dec(x_520); -x_525 = lean_unsigned_to_nat(1u); -x_526 = lean_array_get(x_517, x_3, x_525); -lean_dec(x_3); -x_527 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_526); -if (lean_obj_tag(x_527) == 0) -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; -lean_dec(x_524); -x_528 = lean_ctor_get(x_527, 0); -lean_inc(x_528); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - x_529 = x_527; -} else { - lean_dec_ref(x_527); - x_529 = lean_box(0); -} -if (lean_is_scalar(x_529)) { - x_530 = lean_alloc_ctor(0, 1, 0); -} else { - x_530 = x_529; -} -lean_ctor_set(x_530, 0, x_528); -return x_530; -} -else -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_531 = lean_ctor_get(x_527, 0); -lean_inc(x_531); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - x_532 = x_527; -} else { - lean_dec_ref(x_527); - x_532 = lean_box(0); -} -x_533 = l_Lean_mkApp(x_524, x_531); -if (lean_is_scalar(x_532)) { - x_534 = lean_alloc_ctor(1, 1, 0); -} else { - x_534 = x_532; -} -lean_ctor_set(x_534, 0, x_533); -return x_534; -} -} -} -} -else -{ -lean_object* x_535; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -lean_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_561 = l_Lean_stxInh; -x_562 = lean_unsigned_to_nat(1u); -x_563 = lean_array_get(x_561, x_3, x_562); -x_564 = l_Lean_Syntax_getKind(x_563); -if (lean_obj_tag(x_564) == 1) -{ -lean_object* x_565; -x_565 = lean_ctor_get(x_564, 0); -lean_inc(x_565); -if (lean_obj_tag(x_565) == 1) -{ -lean_object* x_566; -x_566 = lean_ctor_get(x_565, 0); -lean_inc(x_566); -if (lean_obj_tag(x_566) == 1) -{ -lean_object* x_567; -x_567 = lean_ctor_get(x_566, 0); -lean_inc(x_567); -if (lean_obj_tag(x_567) == 1) -{ -lean_object* x_568; -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -if (lean_obj_tag(x_568) == 0) -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; -x_569 = lean_ctor_get(x_564, 1); -lean_inc(x_569); -lean_dec(x_564); -x_570 = lean_ctor_get(x_565, 1); -lean_inc(x_570); -lean_dec(x_565); -x_571 = lean_ctor_get(x_566, 1); -lean_inc(x_571); -lean_dec(x_566); -x_572 = lean_ctor_get(x_567, 1); -lean_inc(x_572); -lean_dec(x_567); -x_573 = lean_string_dec_eq(x_572, x_51); -lean_dec(x_572); -if (x_573 == 0) -{ -lean_object* x_574; lean_object* x_575; -lean_dec(x_571); -lean_dec(x_570); -lean_dec(x_569); -lean_dec(x_563); -x_574 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_575 = l_unreachable_x21___rarg(x_574); -x_535 = x_575; -goto block_560; -} -else -{ -uint8_t x_576; -x_576 = lean_string_dec_eq(x_571, x_352); -lean_dec(x_571); -if (x_576 == 0) -{ -lean_object* x_577; lean_object* x_578; -lean_dec(x_570); -lean_dec(x_569); -lean_dec(x_563); -x_577 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_578 = l_unreachable_x21___rarg(x_577); -x_535 = x_578; -goto block_560; -} -else -{ -uint8_t x_579; -x_579 = lean_string_dec_eq(x_570, x_360); -lean_dec(x_570); -if (x_579 == 0) -{ -lean_object* x_580; lean_object* x_581; -lean_dec(x_569); -lean_dec(x_563); -x_580 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_581 = l_unreachable_x21___rarg(x_580); -x_535 = x_581; -goto block_560; -} -else -{ -lean_object* x_582; uint8_t x_583; -x_582 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_583 = lean_string_dec_eq(x_569, x_582); -if (x_583 == 0) -{ -lean_object* x_584; uint8_t x_585; -x_584 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; -x_585 = lean_string_dec_eq(x_569, x_584); -lean_dec(x_569); -if (x_585 == 0) -{ -lean_object* x_586; lean_object* x_587; -lean_dec(x_563); -x_586 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_587 = l_unreachable_x21___rarg(x_586); -x_535 = x_587; -goto block_560; -} -else -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; -x_588 = lean_unsigned_to_nat(0u); -x_589 = l_Lean_Syntax_getArg(x_563, x_588); -x_590 = l_Lean_Syntax_getIdAt(x_589, x_588); -lean_dec(x_589); -x_591 = lean_unsigned_to_nat(3u); -x_592 = l_Lean_Syntax_getArg(x_563, x_591); -lean_dec(x_563); -x_593 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_593, 0, x_590); -lean_ctor_set(x_593, 1, x_592); -x_535 = x_593; -goto block_560; -} -} -else -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; -lean_dec(x_569); -x_594 = lean_unsigned_to_nat(0u); -x_595 = l_Lean_Syntax_getIdAt(x_563, x_594); -x_596 = lean_unsigned_to_nat(4u); -x_597 = l_Lean_Syntax_getArg(x_563, x_596); -lean_dec(x_563); -x_598 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_598, 0, x_595); -lean_ctor_set(x_598, 1, x_597); -x_535 = x_598; -goto block_560; -} -} -} -} -} -else -{ -lean_object* x_599; lean_object* x_600; -lean_dec(x_568); -lean_dec(x_567); -lean_dec(x_566); -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_563); -x_599 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_600 = l_unreachable_x21___rarg(x_599); -x_535 = x_600; -goto block_560; -} -} -else -{ -lean_object* x_601; lean_object* x_602; -lean_dec(x_567); -lean_dec(x_566); -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_563); -x_601 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_602 = l_unreachable_x21___rarg(x_601); -x_535 = x_602; -goto block_560; -} -} -else -{ -lean_object* x_603; lean_object* x_604; -lean_dec(x_566); -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_563); -x_603 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_604 = l_unreachable_x21___rarg(x_603); -x_535 = x_604; -goto block_560; -} -} -else -{ -lean_object* x_605; lean_object* x_606; -lean_dec(x_565); -lean_dec(x_564); -lean_dec(x_563); -x_605 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_606 = l_unreachable_x21___rarg(x_605); -x_535 = x_606; -goto block_560; -} -} -else -{ -lean_object* x_607; lean_object* x_608; -lean_dec(x_564); -lean_dec(x_563); -x_607 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_608 = l_unreachable_x21___rarg(x_607); -x_535 = x_608; -goto block_560; -} -block_560: -{ -lean_object* x_536; lean_object* x_537; lean_object* x_538; -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); -lean_inc(x_537); -lean_dec(x_535); -x_538 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_537); -if (lean_obj_tag(x_538) == 0) -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; -lean_dec(x_536); -lean_dec(x_3); -x_539 = lean_ctor_get(x_538, 0); -lean_inc(x_539); -if (lean_is_exclusive(x_538)) { - lean_ctor_release(x_538, 0); - x_540 = x_538; -} else { - lean_dec_ref(x_538); - x_540 = lean_box(0); -} -if (lean_is_scalar(x_540)) { - x_541 = lean_alloc_ctor(0, 1, 0); -} else { - x_541 = x_540; -} -lean_ctor_set(x_541, 0, x_539); -return x_541; -} -else -{ -lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; -x_542 = lean_ctor_get(x_538, 0); -lean_inc(x_542); -lean_dec(x_538); -x_543 = l_Lean_stxInh; -x_544 = lean_unsigned_to_nat(3u); -x_545 = lean_array_get(x_543, x_3, x_544); -lean_dec(x_3); -x_546 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_545); -if (lean_obj_tag(x_546) == 0) -{ -lean_object* x_547; lean_object* x_548; lean_object* x_549; -lean_dec(x_542); -lean_dec(x_536); -x_547 = lean_ctor_get(x_546, 0); -lean_inc(x_547); -if (lean_is_exclusive(x_546)) { - lean_ctor_release(x_546, 0); - x_548 = x_546; -} else { - lean_dec_ref(x_546); - x_548 = lean_box(0); -} -if (lean_is_scalar(x_548)) { - x_549 = lean_alloc_ctor(0, 1, 0); -} else { - x_549 = x_548; -} -lean_ctor_set(x_549, 0, x_547); -return x_549; -} -else -{ -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; uint8_t x_557; lean_object* x_558; lean_object* x_559; -x_550 = lean_ctor_get(x_546, 0); -lean_inc(x_550); -if (lean_is_exclusive(x_546)) { - lean_ctor_release(x_546, 0); - x_551 = x_546; -} else { - lean_dec_ref(x_546); - x_551 = lean_box(0); -} -lean_inc(x_536); -x_552 = l_Lean_mkFVar(x_536); -x_553 = l_Lean_FileMap_ofString___closed__1; -x_554 = lean_array_push(x_553, x_552); -x_555 = lean_expr_abstract(x_550, x_554); -lean_dec(x_554); -lean_dec(x_550); -x_556 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_557 = 0; -x_558 = l_Lean_mkLet(x_536, x_556, x_542, x_555, x_557); -if (lean_is_scalar(x_551)) { - x_559 = lean_alloc_ctor(1, 1, 0); -} else { - x_559 = x_551; -} -lean_ctor_set(x_559, 0, x_558); -return x_559; -} -} -} -} -} -else -{ -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_free_object(x_38); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_609 = l_Lean_stxInh; -x_610 = lean_unsigned_to_nat(1u); -x_611 = lean_array_get(x_609, x_3, x_610); -x_612 = l_Lean_Syntax_getArgs(x_611); -lean_dec(x_611); -x_613 = lean_unsigned_to_nat(3u); -x_614 = lean_array_get(x_609, x_3, x_613); -lean_dec(x_3); -x_615 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_614); -if (lean_obj_tag(x_615) == 0) -{ -lean_object* x_616; lean_object* x_617; lean_object* x_618; -lean_dec(x_612); +lean_object* x_458; lean_object* x_459; lean_object* x_460; +lean_dec(x_454); lean_dec(x_2); -x_616 = lean_ctor_get(x_615, 0); -lean_inc(x_616); -if (lean_is_exclusive(x_615)) { - lean_ctor_release(x_615, 0); - x_617 = x_615; +x_458 = lean_ctor_get(x_457, 0); +lean_inc(x_458); +if (lean_is_exclusive(x_457)) { + lean_ctor_release(x_457, 0); + x_459 = x_457; } else { - lean_dec_ref(x_615); - x_617 = lean_box(0); + lean_dec_ref(x_457); + x_459 = lean_box(0); } -if (lean_is_scalar(x_617)) { - x_618 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_459)) { + x_460 = lean_alloc_ctor(0, 1, 0); } else { - x_618 = x_617; + x_460 = x_459; } -lean_ctor_set(x_618, 0, x_616); -return x_618; +lean_ctor_set(x_460, 0, x_458); +return x_460; } else { -lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_619 = lean_ctor_get(x_615, 0); -lean_inc(x_619); -lean_dec(x_615); -x_620 = lean_array_get_size(x_612); -x_621 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_612, x_620, lean_box(0), x_619); -lean_dec(x_612); +lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_461 = lean_ctor_get(x_457, 0); +lean_inc(x_461); +lean_dec(x_457); +x_462 = lean_array_get_size(x_454); +x_463 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_454, x_462, lean_box(0), x_461); +lean_dec(x_454); lean_dec(x_2); -return x_621; +return x_463; } } } else { -lean_object* x_622; lean_object* x_623; lean_object* x_624; +lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_free_object(x_38); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); lean_dec(x_2); -x_622 = l_Lean_stxInh; -x_623 = lean_unsigned_to_nat(0u); -x_624 = lean_array_get(x_622, x_3, x_623); +x_464 = l_Lean_stxInh; +x_465 = lean_unsigned_to_nat(0u); +x_466 = lean_array_get(x_464, x_3, x_465); lean_dec(x_3); -if (lean_obj_tag(x_624) == 3) +if (lean_obj_tag(x_466) == 3) { -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; -x_625 = lean_ctor_get(x_624, 2); -lean_inc(x_625); -x_626 = lean_ctor_get(x_624, 3); -lean_inc(x_626); -lean_dec(x_624); -x_627 = lean_box(0); -lean_inc(x_625); -x_628 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_627, x_625); -x_629 = l_List_append___rarg(x_628, x_626); -if (lean_obj_tag(x_629) == 0) +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; +x_467 = lean_ctor_get(x_466, 2); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 3); +lean_inc(x_468); +lean_dec(x_466); +x_469 = lean_box(0); +lean_inc(x_467); +x_470 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_469, x_467); +x_471 = l_List_append___rarg(x_470, x_468); +if (lean_obj_tag(x_471) == 0) { -lean_object* x_630; lean_object* x_631; -x_630 = l_Lean_mkFVar(x_625); -x_631 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_631, 0, x_630); -return x_631; +lean_object* x_472; lean_object* x_473; +x_472 = l_Lean_mkFVar(x_467); +x_473 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_473, 0, x_472); +return x_473; } else { -lean_object* x_632; lean_object* x_633; -lean_dec(x_625); -x_632 = lean_ctor_get(x_629, 0); -lean_inc(x_632); -lean_dec(x_629); -x_633 = lean_ctor_get(x_632, 1); -lean_inc(x_633); -if (lean_obj_tag(x_633) == 0) +lean_object* x_474; lean_object* x_475; +lean_dec(x_467); +x_474 = lean_ctor_get(x_471, 0); +lean_inc(x_474); +lean_dec(x_471); +x_475 = lean_ctor_get(x_474, 1); +lean_inc(x_475); +if (lean_obj_tag(x_475) == 0) { -lean_object* x_634; lean_object* x_635; lean_object* x_636; -x_634 = lean_ctor_get(x_632, 0); -lean_inc(x_634); -lean_dec(x_632); -x_635 = l_Lean_mkConst(x_634, x_627); -x_636 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_636, 0, x_635); -return x_636; +lean_object* x_476; lean_object* x_477; lean_object* x_478; +x_476 = lean_ctor_get(x_474, 0); +lean_inc(x_476); +lean_dec(x_474); +x_477 = l_Lean_mkConst(x_476, x_469); +x_478 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_478, 0, x_477); +return x_478; } else { -lean_object* x_637; -lean_dec(x_633); -lean_dec(x_632); -x_637 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -return x_637; +lean_object* x_479; +lean_dec(x_475); +lean_dec(x_474); +x_479 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; +return x_479; } } } else { -lean_object* x_638; lean_object* x_639; -lean_dec(x_624); -x_638 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; -x_639 = l_unreachable_x21___rarg(x_638); -return x_639; +lean_object* x_480; lean_object* x_481; +lean_dec(x_466); +x_480 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; +x_481 = l_unreachable_x21___rarg(x_480); +return x_481; } } } @@ -16349,17 +16452,17 @@ return x_639; } else { -lean_object* x_640; size_t x_641; lean_object* x_642; uint8_t x_643; -x_640 = lean_ctor_get(x_38, 1); -x_641 = lean_ctor_get_usize(x_38, 2); -lean_inc(x_640); +lean_object* x_482; size_t x_483; lean_object* x_484; uint8_t x_485; +x_482 = lean_ctor_get(x_38, 1); +x_483 = lean_ctor_get_usize(x_38, 2); +lean_inc(x_482); lean_dec(x_38); -x_642 = l_Lean_nameToExprAux___main___closed__1; -x_643 = lean_string_dec_eq(x_640, x_642); -lean_dec(x_640); -if (x_643 == 0) +x_484 = l_Lean_nameToExprAux___main___closed__1; +x_485 = lean_string_dec_eq(x_482, x_484); +lean_dec(x_482); +if (x_485 == 0) { -lean_object* x_644; +lean_object* x_486; lean_free_object(x_37); lean_dec(x_46); lean_free_object(x_12); @@ -16367,793 +16470,1514 @@ lean_dec(x_43); lean_dec(x_40); lean_dec(x_3); lean_dec(x_2); -x_644 = lean_box(0); -x_5 = x_644; +x_486 = lean_box(0); +x_5 = x_486; goto block_11; } else { -lean_object* x_645; lean_object* x_646; uint8_t x_647; +lean_object* x_487; lean_object* x_488; uint8_t x_489; if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); - x_645 = x_4; + x_487 = x_4; } else { lean_dec_ref(x_4); - x_645 = lean_box(0); + x_487 = lean_box(0); } -x_646 = l_Lean_Syntax_formatStx___main___closed__5; -x_647 = lean_string_dec_eq(x_46, x_646); -if (x_647 == 0) +x_488 = l_Lean_Syntax_formatStx___main___closed__5; +x_489 = lean_string_dec_eq(x_46, x_488); +if (x_489 == 0) { -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_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_dec(x_3); lean_dec(x_2); -x_648 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_648, 0, x_39); -lean_ctor_set(x_648, 1, x_642); -lean_ctor_set_usize(x_648, 2, x_641); -lean_ctor_set(x_37, 0, x_648); -if (lean_is_scalar(x_645)) { - x_649 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_490 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_490, 0, x_39); +lean_ctor_set(x_490, 1, x_484); +lean_ctor_set_usize(x_490, 2, x_483); +lean_ctor_set(x_37, 0, x_490); +if (lean_is_scalar(x_487)) { + x_491 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_649 = x_645; + x_491 = x_487; } -lean_ctor_set(x_649, 0, x_12); -lean_ctor_set(x_649, 1, x_40); -lean_ctor_set_usize(x_649, 2, x_42); -x_650 = l_System_FilePath_dirName___closed__1; -x_651 = l_Lean_Name_toStringWithSep___main(x_650, x_649); -x_652 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_653 = lean_string_append(x_652, x_651); -lean_dec(x_651); -x_654 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_654, 0, x_653); -return x_654; +lean_ctor_set(x_491, 0, x_12); +lean_ctor_set(x_491, 1, x_40); +lean_ctor_set_usize(x_491, 2, x_42); +x_492 = l_System_FilePath_dirName___closed__1; +x_493 = l_Lean_Name_toStringWithSep___main(x_492, x_491); +x_494 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_495 = lean_string_append(x_494, x_493); +lean_dec(x_493); +x_496 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_496, 0, x_495); +return x_496; } else { -lean_object* x_655; uint8_t x_656; +lean_object* x_497; uint8_t x_498; lean_dec(x_46); -x_655 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_656 = lean_string_dec_eq(x_43, x_655); -if (x_656 == 0) +x_497 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_498 = lean_string_dec_eq(x_43, x_497); +if (x_498 == 0) { -lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; +lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_dec(x_3); lean_dec(x_2); -x_657 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_657, 0, x_39); -lean_ctor_set(x_657, 1, x_642); -lean_ctor_set_usize(x_657, 2, x_641); -lean_ctor_set(x_37, 1, x_646); -lean_ctor_set(x_37, 0, x_657); -if (lean_is_scalar(x_645)) { - x_658 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_499 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_499, 0, x_39); +lean_ctor_set(x_499, 1, x_484); +lean_ctor_set_usize(x_499, 2, x_483); +lean_ctor_set(x_37, 1, x_488); +lean_ctor_set(x_37, 0, x_499); +if (lean_is_scalar(x_487)) { + x_500 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_658 = x_645; + x_500 = x_487; } -lean_ctor_set(x_658, 0, x_12); -lean_ctor_set(x_658, 1, x_40); -lean_ctor_set_usize(x_658, 2, x_42); -x_659 = l_System_FilePath_dirName___closed__1; -x_660 = l_Lean_Name_toStringWithSep___main(x_659, x_658); -x_661 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_662 = lean_string_append(x_661, x_660); -lean_dec(x_660); -x_663 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_663, 0, x_662); -return x_663; +lean_ctor_set(x_500, 0, x_12); +lean_ctor_set(x_500, 1, x_40); +lean_ctor_set_usize(x_500, 2, x_42); +x_501 = l_System_FilePath_dirName___closed__1; +x_502 = l_Lean_Name_toStringWithSep___main(x_501, x_500); +x_503 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_504 = lean_string_append(x_503, x_502); +lean_dec(x_502); +x_505 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_505, 0, x_504); +return x_505; } else { -lean_object* x_664; uint8_t x_665; +lean_object* x_506; uint8_t x_507; lean_dec(x_43); -x_664 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_665 = lean_string_dec_eq(x_40, x_664); -if (x_665 == 0) +x_506 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_507 = lean_string_dec_eq(x_40, x_506); +if (x_507 == 0) { -lean_object* x_666; uint8_t x_667; -x_666 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_667 = lean_string_dec_eq(x_40, x_666); -if (x_667 == 0) +lean_object* x_508; uint8_t x_509; +x_508 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_509 = lean_string_dec_eq(x_40, x_508); +if (x_509 == 0) { -lean_object* x_668; uint8_t x_669; +lean_object* x_510; uint8_t x_511; lean_dec(x_2); -x_668 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_669 = lean_string_dec_eq(x_40, x_668); -if (x_669 == 0) +x_510 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_511 = lean_string_dec_eq(x_40, x_510); +if (x_511 == 0) { -lean_object* x_670; uint8_t x_671; -x_670 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_671 = lean_string_dec_eq(x_40, x_670); -if (x_671 == 0) +lean_object* x_512; uint8_t x_513; +x_512 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_513 = lean_string_dec_eq(x_40, x_512); +if (x_513 == 0) { -lean_object* x_672; uint8_t x_673; -x_672 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; -x_673 = lean_string_dec_eq(x_40, x_672); -if (x_673 == 0) +lean_object* x_514; uint8_t x_515; +x_514 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; +x_515 = lean_string_dec_eq(x_40, x_514); +if (x_515 == 0) { -lean_object* x_674; uint8_t x_675; -x_674 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; -x_675 = lean_string_dec_eq(x_40, x_674); -if (x_675 == 0) +lean_object* x_516; uint8_t x_517; +x_516 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; +x_517 = lean_string_dec_eq(x_40, x_516); +if (x_517 == 0) { -lean_object* x_676; uint8_t x_677; -x_676 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_677 = lean_string_dec_eq(x_40, x_676); -if (x_677 == 0) +lean_object* x_518; uint8_t x_519; +x_518 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_519 = lean_string_dec_eq(x_40, x_518); +if (x_519 == 0) { -lean_object* x_678; uint8_t x_679; -x_678 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_679 = lean_string_dec_eq(x_40, x_678); -if (x_679 == 0) +lean_object* x_520; uint8_t x_521; +x_520 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_521 = lean_string_dec_eq(x_40, x_520); +if (x_521 == 0) { -lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; +lean_object* x_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_dec(x_3); -x_680 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_680, 0, x_39); -lean_ctor_set(x_680, 1, x_642); -lean_ctor_set_usize(x_680, 2, x_641); -lean_ctor_set(x_37, 1, x_646); -lean_ctor_set(x_37, 0, x_680); -lean_ctor_set(x_12, 1, x_655); -if (lean_is_scalar(x_645)) { - x_681 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_522 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_522, 0, x_39); +lean_ctor_set(x_522, 1, x_484); +lean_ctor_set_usize(x_522, 2, x_483); +lean_ctor_set(x_37, 1, x_488); +lean_ctor_set(x_37, 0, x_522); +lean_ctor_set(x_12, 1, x_497); +if (lean_is_scalar(x_487)) { + x_523 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_681 = x_645; + x_523 = x_487; } -lean_ctor_set(x_681, 0, x_12); -lean_ctor_set(x_681, 1, x_40); -lean_ctor_set_usize(x_681, 2, x_42); -x_682 = l_System_FilePath_dirName___closed__1; -x_683 = l_Lean_Name_toStringWithSep___main(x_682, x_681); -x_684 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_685 = lean_string_append(x_684, x_683); -lean_dec(x_683); -x_686 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_686, 0, x_685); -return x_686; +lean_ctor_set(x_523, 0, x_12); +lean_ctor_set(x_523, 1, x_40); +lean_ctor_set_usize(x_523, 2, x_42); +x_524 = l_System_FilePath_dirName___closed__1; +x_525 = l_Lean_Name_toStringWithSep___main(x_524, x_523); +x_526 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_527 = lean_string_append(x_526, x_525); +lean_dec(x_525); +x_528 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_528, 0, x_527); +return x_528; } else { -lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; -lean_dec(x_645); +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_dec(x_487); lean_free_object(x_37); lean_free_object(x_12); lean_dec(x_40); -x_687 = l_Lean_stxInh; -x_688 = lean_unsigned_to_nat(0u); -x_689 = lean_array_get(x_687, x_3, x_688); -x_690 = lean_unsigned_to_nat(2u); -x_691 = lean_array_get(x_687, x_3, x_690); +x_529 = l_Lean_stxInh; +x_530 = lean_unsigned_to_nat(0u); +x_531 = lean_array_get(x_529, x_3, x_530); +x_532 = lean_unsigned_to_nat(2u); +x_533 = lean_array_get(x_529, x_3, x_532); lean_dec(x_3); -x_692 = lean_name_mk_string(x_39, x_642); -x_693 = lean_name_mk_string(x_692, x_646); -x_694 = lean_name_mk_string(x_693, x_655); +x_534 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_534, 0, x_39); +lean_closure_set(x_534, 1, x_531); +lean_closure_set(x_534, 2, x_533); +x_535 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_536 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_536, 0, x_535); +lean_closure_set(x_536, 1, x_534); +x_537 = l_Lean_Unhygienic_run___rarg(x_536); +x_2 = x_537; +goto _start; +} +} +else +{ +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_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_539 = l_Lean_stxInh; +x_540 = lean_unsigned_to_nat(0u); +x_541 = lean_array_get(x_539, x_3, x_540); +x_542 = lean_unsigned_to_nat(2u); +x_543 = lean_array_get(x_539, x_3, x_542); +lean_dec(x_3); +x_544 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_544, 0, x_39); +lean_closure_set(x_544, 1, x_541); +lean_closure_set(x_544, 2, x_543); +x_545 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_546 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_546, 0, x_545); +lean_closure_set(x_546, 1, x_544); +x_547 = l_Lean_Unhygienic_run___rarg(x_546); +x_2 = x_547; +goto _start; +} +} +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; uint8_t x_555; +lean_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_549 = l_Lean_stxInh; +x_550 = lean_unsigned_to_nat(1u); +x_551 = lean_array_get(x_549, x_3, x_550); +lean_dec(x_3); +x_552 = l_Lean_Syntax_getArgs(x_551); +lean_dec(x_551); +x_553 = lean_array_get_size(x_552); +x_554 = lean_unsigned_to_nat(0u); +x_555 = lean_nat_dec_eq(x_553, x_554); +lean_dec(x_553); +if (x_555 == 0) +{ +lean_object* x_556; +x_556 = lean_array_get(x_549, x_552, x_554); +lean_dec(x_552); +x_2 = x_556; +goto _start; +} +else +{ +lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; +lean_dec(x_552); +x_558 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_559 = lean_name_mk_string(x_39, x_558); +x_560 = l_Lean_Elab_Term_elabParen___closed__4; +x_561 = lean_name_mk_string(x_559, x_560); +x_562 = lean_box(0); +x_563 = l_Lean_mkConst(x_561, x_562); +x_564 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_564, 0, x_563); +return x_564; +} +} +} +else +{ +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_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_565 = l_Lean_stxInh; +x_566 = lean_unsigned_to_nat(2u); +x_567 = lean_array_get(x_565, x_3, x_566); +x_568 = lean_unsigned_to_nat(4u); +x_569 = lean_array_get(x_565, x_3, x_568); +x_570 = lean_unsigned_to_nat(6u); +x_571 = lean_array_get(x_565, x_3, x_570); +lean_dec(x_3); +x_572 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_572, 0, x_39); +lean_closure_set(x_572, 1, x_567); +lean_closure_set(x_572, 2, x_569); +lean_closure_set(x_572, 3, x_571); +x_573 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_574 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_574, 0, x_573); +lean_closure_set(x_574, 1, x_572); +x_575 = l_Lean_Unhygienic_run___rarg(x_574); +x_2 = x_575; +goto _start; +} +} +else +{ +lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; +lean_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_577 = l_Lean_stxInh; +x_578 = lean_unsigned_to_nat(0u); +x_579 = lean_array_get(x_577, x_3, x_578); +x_580 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_579); +if (lean_obj_tag(x_580) == 0) +{ +lean_object* x_581; lean_object* x_582; lean_object* x_583; +lean_dec(x_3); +x_581 = lean_ctor_get(x_580, 0); +lean_inc(x_581); +if (lean_is_exclusive(x_580)) { + lean_ctor_release(x_580, 0); + x_582 = x_580; +} else { + lean_dec_ref(x_580); + x_582 = lean_box(0); +} +if (lean_is_scalar(x_582)) { + x_583 = lean_alloc_ctor(0, 1, 0); +} else { + x_583 = x_582; +} +lean_ctor_set(x_583, 0, x_581); +return x_583; +} +else +{ +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; +x_584 = lean_ctor_get(x_580, 0); +lean_inc(x_584); +lean_dec(x_580); +x_585 = lean_unsigned_to_nat(1u); +x_586 = lean_array_get(x_577, x_3, x_585); +lean_dec(x_3); +x_587 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_586); +if (lean_obj_tag(x_587) == 0) +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; +lean_dec(x_584); +x_588 = lean_ctor_get(x_587, 0); +lean_inc(x_588); +if (lean_is_exclusive(x_587)) { + lean_ctor_release(x_587, 0); + x_589 = x_587; +} else { + lean_dec_ref(x_587); + x_589 = lean_box(0); +} +if (lean_is_scalar(x_589)) { + x_590 = lean_alloc_ctor(0, 1, 0); +} else { + x_590 = x_589; +} +lean_ctor_set(x_590, 0, x_588); +return x_590; +} +else +{ +lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_591 = lean_ctor_get(x_587, 0); +lean_inc(x_591); +if (lean_is_exclusive(x_587)) { + lean_ctor_release(x_587, 0); + x_592 = x_587; +} else { + lean_dec_ref(x_587); + x_592 = lean_box(0); +} +x_593 = l_Lean_mkApp(x_584, x_591); +if (lean_is_scalar(x_592)) { + x_594 = lean_alloc_ctor(1, 1, 0); +} else { + x_594 = x_592; +} +lean_ctor_set(x_594, 0, x_593); +return x_594; +} +} +} +} +else +{ +lean_object* x_595; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; +lean_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_621 = l_Lean_stxInh; +x_622 = lean_unsigned_to_nat(1u); +x_623 = lean_array_get(x_621, x_3, x_622); +x_624 = l_Lean_Syntax_getKind(x_623); +if (lean_obj_tag(x_624) == 1) +{ +lean_object* x_625; +x_625 = lean_ctor_get(x_624, 0); +lean_inc(x_625); +if (lean_obj_tag(x_625) == 1) +{ +lean_object* x_626; +x_626 = lean_ctor_get(x_625, 0); +lean_inc(x_626); +if (lean_obj_tag(x_626) == 1) +{ +lean_object* x_627; +x_627 = lean_ctor_get(x_626, 0); +lean_inc(x_627); +if (lean_obj_tag(x_627) == 1) +{ +lean_object* x_628; +x_628 = lean_ctor_get(x_627, 0); +lean_inc(x_628); +if (lean_obj_tag(x_628) == 0) +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; uint8_t x_633; +x_629 = lean_ctor_get(x_624, 1); +lean_inc(x_629); +lean_dec(x_624); +x_630 = lean_ctor_get(x_625, 1); +lean_inc(x_630); +lean_dec(x_625); +x_631 = lean_ctor_get(x_626, 1); +lean_inc(x_631); +lean_dec(x_626); +x_632 = lean_ctor_get(x_627, 1); +lean_inc(x_632); +lean_dec(x_627); +x_633 = lean_string_dec_eq(x_632, x_484); +lean_dec(x_632); +if (x_633 == 0) +{ +lean_object* x_634; lean_object* x_635; +lean_dec(x_631); +lean_dec(x_630); +lean_dec(x_629); +lean_dec(x_623); +x_634 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_635 = l_unreachable_x21___rarg(x_634); +x_595 = x_635; +goto block_620; +} +else +{ +uint8_t x_636; +x_636 = lean_string_dec_eq(x_631, x_488); +lean_dec(x_631); +if (x_636 == 0) +{ +lean_object* x_637; lean_object* x_638; +lean_dec(x_630); +lean_dec(x_629); +lean_dec(x_623); +x_637 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_638 = l_unreachable_x21___rarg(x_637); +x_595 = x_638; +goto block_620; +} +else +{ +uint8_t x_639; +x_639 = lean_string_dec_eq(x_630, x_497); +lean_dec(x_630); +if (x_639 == 0) +{ +lean_object* x_640; lean_object* x_641; +lean_dec(x_629); +lean_dec(x_623); +x_640 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_641 = l_unreachable_x21___rarg(x_640); +x_595 = x_641; +goto block_620; +} +else +{ +lean_object* x_642; uint8_t x_643; +x_642 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_643 = lean_string_dec_eq(x_629, x_642); +if (x_643 == 0) +{ +lean_object* x_644; uint8_t x_645; +x_644 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +x_645 = lean_string_dec_eq(x_629, x_644); +lean_dec(x_629); +if (x_645 == 0) +{ +lean_object* x_646; lean_object* x_647; +lean_dec(x_623); +x_646 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_647 = l_unreachable_x21___rarg(x_646); +x_595 = x_647; +goto block_620; +} +else +{ +lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; +x_648 = lean_unsigned_to_nat(0u); +x_649 = l_Lean_Syntax_getArg(x_623, x_648); +x_650 = l_Lean_Syntax_getIdAt(x_649, x_648); +lean_dec(x_649); +x_651 = lean_unsigned_to_nat(3u); +x_652 = l_Lean_Syntax_getArg(x_623, x_651); +lean_dec(x_623); +x_653 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_653, 0, x_650); +lean_ctor_set(x_653, 1, x_652); +x_595 = x_653; +goto block_620; +} +} +else +{ +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; +lean_dec(x_629); +x_654 = lean_unsigned_to_nat(0u); +x_655 = l_Lean_Syntax_getIdAt(x_623, x_654); +x_656 = lean_unsigned_to_nat(4u); +x_657 = l_Lean_Syntax_getArg(x_623, x_656); +lean_dec(x_623); +x_658 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_658, 0, x_655); +lean_ctor_set(x_658, 1, x_657); +x_595 = x_658; +goto block_620; +} +} +} +} +} +else +{ +lean_object* x_659; lean_object* x_660; +lean_dec(x_628); +lean_dec(x_627); +lean_dec(x_626); +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_623); +x_659 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_660 = l_unreachable_x21___rarg(x_659); +x_595 = x_660; +goto block_620; +} +} +else +{ +lean_object* x_661; lean_object* x_662; +lean_dec(x_627); +lean_dec(x_626); +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_623); +x_661 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_662 = l_unreachable_x21___rarg(x_661); +x_595 = x_662; +goto block_620; +} +} +else +{ +lean_object* x_663; lean_object* x_664; +lean_dec(x_626); +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_623); +x_663 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_664 = l_unreachable_x21___rarg(x_663); +x_595 = x_664; +goto block_620; +} +} +else +{ +lean_object* x_665; lean_object* x_666; +lean_dec(x_625); +lean_dec(x_624); +lean_dec(x_623); +x_665 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_666 = l_unreachable_x21___rarg(x_665); +x_595 = x_666; +goto block_620; +} +} +else +{ +lean_object* x_667; lean_object* x_668; +lean_dec(x_624); +lean_dec(x_623); +x_667 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_668 = l_unreachable_x21___rarg(x_667); +x_595 = x_668; +goto block_620; +} +block_620: +{ +lean_object* x_596; lean_object* x_597; lean_object* x_598; +x_596 = lean_ctor_get(x_595, 0); +lean_inc(x_596); +x_597 = lean_ctor_get(x_595, 1); +lean_inc(x_597); +lean_dec(x_595); +x_598 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_597); +if (lean_obj_tag(x_598) == 0) +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; +lean_dec(x_596); +lean_dec(x_3); +x_599 = lean_ctor_get(x_598, 0); +lean_inc(x_599); +if (lean_is_exclusive(x_598)) { + lean_ctor_release(x_598, 0); + x_600 = x_598; +} else { + lean_dec_ref(x_598); + x_600 = lean_box(0); +} +if (lean_is_scalar(x_600)) { + x_601 = lean_alloc_ctor(0, 1, 0); +} else { + x_601 = x_600; +} +lean_ctor_set(x_601, 0, x_599); +return x_601; +} +else +{ +lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +x_602 = lean_ctor_get(x_598, 0); +lean_inc(x_602); +lean_dec(x_598); +x_603 = l_Lean_stxInh; +x_604 = lean_unsigned_to_nat(3u); +x_605 = lean_array_get(x_603, x_3, x_604); +lean_dec(x_3); +x_606 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_605); +if (lean_obj_tag(x_606) == 0) +{ +lean_object* x_607; lean_object* x_608; lean_object* x_609; +lean_dec(x_602); +lean_dec(x_596); +x_607 = lean_ctor_get(x_606, 0); +lean_inc(x_607); +if (lean_is_exclusive(x_606)) { + lean_ctor_release(x_606, 0); + x_608 = x_606; +} else { + lean_dec_ref(x_606); + x_608 = lean_box(0); +} +if (lean_is_scalar(x_608)) { + x_609 = lean_alloc_ctor(0, 1, 0); +} else { + x_609 = x_608; +} +lean_ctor_set(x_609, 0, x_607); +return x_609; +} +else +{ +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; uint8_t x_617; lean_object* x_618; lean_object* x_619; +x_610 = lean_ctor_get(x_606, 0); +lean_inc(x_610); +if (lean_is_exclusive(x_606)) { + lean_ctor_release(x_606, 0); + x_611 = x_606; +} else { + lean_dec_ref(x_606); + x_611 = lean_box(0); +} +lean_inc(x_596); +x_612 = l_Lean_mkFVar(x_596); +x_613 = l_Lean_FileMap_ofString___closed__1; +x_614 = lean_array_push(x_613, x_612); +x_615 = lean_expr_abstract(x_610, x_614); +lean_dec(x_614); +lean_dec(x_610); +x_616 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_617 = 0; +x_618 = l_Lean_mkLet(x_596, x_616, x_602, x_615, x_617); +if (lean_is_scalar(x_611)) { + x_619 = lean_alloc_ctor(1, 1, 0); +} else { + x_619 = x_611; +} +lean_ctor_set(x_619, 0, x_618); +return x_619; +} +} +} +} +} +else +{ +lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; +lean_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +x_669 = l_Lean_stxInh; +x_670 = lean_unsigned_to_nat(1u); +x_671 = lean_array_get(x_669, x_3, x_670); +x_672 = l_Lean_Syntax_getArgs(x_671); +lean_dec(x_671); +x_673 = lean_unsigned_to_nat(3u); +x_674 = lean_array_get(x_669, x_3, x_673); +lean_dec(x_3); +x_675 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_674); +if (lean_obj_tag(x_675) == 0) +{ +lean_object* x_676; lean_object* x_677; lean_object* x_678; +lean_dec(x_672); +lean_dec(x_2); +x_676 = lean_ctor_get(x_675, 0); +lean_inc(x_676); +if (lean_is_exclusive(x_675)) { + lean_ctor_release(x_675, 0); + x_677 = x_675; +} else { + lean_dec_ref(x_675); + x_677 = lean_box(0); +} +if (lean_is_scalar(x_677)) { + x_678 = lean_alloc_ctor(0, 1, 0); +} else { + x_678 = x_677; +} +lean_ctor_set(x_678, 0, x_676); +return x_678; +} +else +{ +lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_679 = lean_ctor_get(x_675, 0); +lean_inc(x_679); +lean_dec(x_675); +x_680 = lean_array_get_size(x_672); +x_681 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_672, x_680, lean_box(0), x_679); +lean_dec(x_672); +lean_dec(x_2); +return x_681; +} +} +} +else +{ +lean_object* x_682; lean_object* x_683; lean_object* x_684; +lean_dec(x_487); +lean_free_object(x_37); +lean_free_object(x_12); +lean_dec(x_40); +lean_dec(x_2); +x_682 = l_Lean_stxInh; +x_683 = lean_unsigned_to_nat(0u); +x_684 = lean_array_get(x_682, x_3, x_683); +lean_dec(x_3); +if (lean_obj_tag(x_684) == 3) +{ +lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_685 = lean_ctor_get(x_684, 2); +lean_inc(x_685); +x_686 = lean_ctor_get(x_684, 3); +lean_inc(x_686); +lean_dec(x_684); +x_687 = lean_box(0); +lean_inc(x_685); +x_688 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_687, x_685); +x_689 = l_List_append___rarg(x_688, x_686); +if (lean_obj_tag(x_689) == 0) +{ +lean_object* x_690; lean_object* x_691; +x_690 = l_Lean_mkFVar(x_685); +x_691 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_691, 0, x_690); +return x_691; +} +else +{ +lean_object* x_692; lean_object* x_693; +lean_dec(x_685); +x_692 = lean_ctor_get(x_689, 0); +lean_inc(x_692); +lean_dec(x_689); +x_693 = lean_ctor_get(x_692, 1); +lean_inc(x_693); +if (lean_obj_tag(x_693) == 0) +{ +lean_object* x_694; lean_object* x_695; lean_object* x_696; +x_694 = lean_ctor_get(x_692, 0); lean_inc(x_694); -x_695 = lean_name_mk_string(x_694, x_670); -x_696 = lean_name_mk_string(x_694, x_664); -x_697 = lean_box(0); -x_698 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -x_699 = lean_name_mk_string(x_39, x_698); -x_700 = lean_name_mk_string(x_699, x_678); -x_701 = lean_box(0); +lean_dec(x_692); +x_695 = l_Lean_mkConst(x_694, x_687); +x_696 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_696, 0, x_695); +return x_696; +} +else +{ +lean_object* x_697; +lean_dec(x_693); +lean_dec(x_692); +x_697 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; +return x_697; +} +} +} +else +{ +lean_object* x_698; lean_object* x_699; +lean_dec(x_684); +x_698 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; +x_699 = l_unreachable_x21___rarg(x_698); +return x_699; +} +} +} +} +} +} +} +else +{ +lean_object* x_700; size_t x_701; lean_object* x_702; size_t x_703; lean_object* x_704; lean_object* x_705; uint8_t x_706; +x_700 = lean_ctor_get(x_37, 1); +x_701 = lean_ctor_get_usize(x_37, 2); lean_inc(x_700); -x_702 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_702, 0, x_700); -lean_ctor_set(x_702, 1, x_701); -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_701); -x_704 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -x_705 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_705, 0, x_697); -lean_ctor_set(x_705, 1, x_704); -lean_ctor_set(x_705, 2, x_700); -lean_ctor_set(x_705, 3, x_703); -x_706 = l_Lean_nullKind___closed__1; -x_707 = lean_name_mk_string(x_39, x_706); -x_708 = l_Array_empty___closed__1; -x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_707); -lean_ctor_set(x_709, 1, x_708); -x_710 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_711 = lean_array_push(x_710, x_705); -x_712 = lean_array_push(x_711, x_709); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_696); -lean_ctor_set(x_713, 1, x_712); -x_714 = lean_array_push(x_710, x_713); -x_715 = lean_array_push(x_714, x_689); -lean_inc(x_695); -x_716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_716, 0, x_695); -lean_ctor_set(x_716, 1, x_715); -x_717 = lean_array_push(x_710, x_716); -x_718 = lean_array_push(x_717, x_691); -x_719 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_719, 0, x_695); -lean_ctor_set(x_719, 1, x_718); -x_720 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_720, 0, x_719); -x_721 = l_Lean_Unhygienic_run___rarg(x_720); -x_2 = x_721; +lean_dec(x_37); +x_702 = lean_ctor_get(x_38, 1); +lean_inc(x_702); +x_703 = lean_ctor_get_usize(x_38, 2); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_704 = x_38; +} else { + lean_dec_ref(x_38); + x_704 = lean_box(0); +} +x_705 = l_Lean_nameToExprAux___main___closed__1; +x_706 = lean_string_dec_eq(x_702, x_705); +lean_dec(x_702); +if (x_706 == 0) +{ +lean_object* x_707; +lean_dec(x_704); +lean_dec(x_700); +lean_free_object(x_12); +lean_dec(x_43); +lean_dec(x_40); +lean_dec(x_3); +lean_dec(x_2); +x_707 = lean_box(0); +x_5 = x_707; +goto block_11; +} +else +{ +lean_object* x_708; lean_object* x_709; uint8_t x_710; +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_708 = x_4; +} else { + lean_dec_ref(x_4); + x_708 = lean_box(0); +} +x_709 = l_Lean_Syntax_formatStx___main___closed__5; +x_710 = lean_string_dec_eq(x_700, x_709); +if (x_710 == 0) +{ +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_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_704)) { + x_711 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_711 = x_704; +} +lean_ctor_set(x_711, 0, x_39); +lean_ctor_set(x_711, 1, x_705); +lean_ctor_set_usize(x_711, 2, x_703); +x_712 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_712, 0, x_711); +lean_ctor_set(x_712, 1, x_700); +lean_ctor_set_usize(x_712, 2, x_701); +lean_ctor_set(x_12, 0, x_712); +if (lean_is_scalar(x_708)) { + x_713 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_713 = x_708; +} +lean_ctor_set(x_713, 0, x_12); +lean_ctor_set(x_713, 1, x_40); +lean_ctor_set_usize(x_713, 2, x_42); +x_714 = l_System_FilePath_dirName___closed__1; +x_715 = l_Lean_Name_toStringWithSep___main(x_714, x_713); +x_716 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_717 = lean_string_append(x_716, x_715); +lean_dec(x_715); +x_718 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_718, 0, x_717); +return x_718; +} +else +{ +lean_object* x_719; uint8_t x_720; +lean_dec(x_700); +x_719 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_720 = lean_string_dec_eq(x_43, x_719); +if (x_720 == 0) +{ +lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_704)) { + x_721 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_721 = x_704; +} +lean_ctor_set(x_721, 0, x_39); +lean_ctor_set(x_721, 1, x_705); +lean_ctor_set_usize(x_721, 2, x_703); +x_722 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_722, 0, x_721); +lean_ctor_set(x_722, 1, x_709); +lean_ctor_set_usize(x_722, 2, x_701); +lean_ctor_set(x_12, 0, x_722); +if (lean_is_scalar(x_708)) { + x_723 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_723 = x_708; +} +lean_ctor_set(x_723, 0, x_12); +lean_ctor_set(x_723, 1, x_40); +lean_ctor_set_usize(x_723, 2, x_42); +x_724 = l_System_FilePath_dirName___closed__1; +x_725 = l_Lean_Name_toStringWithSep___main(x_724, x_723); +x_726 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_727 = lean_string_append(x_726, x_725); +lean_dec(x_725); +x_728 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_728, 0, x_727); +return x_728; +} +else +{ +lean_object* x_729; uint8_t x_730; +lean_dec(x_43); +x_729 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_730 = lean_string_dec_eq(x_40, x_729); +if (x_730 == 0) +{ +lean_object* x_731; uint8_t x_732; +x_731 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_732 = lean_string_dec_eq(x_40, x_731); +if (x_732 == 0) +{ +lean_object* x_733; uint8_t x_734; +lean_dec(x_2); +x_733 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_734 = lean_string_dec_eq(x_40, x_733); +if (x_734 == 0) +{ +lean_object* x_735; uint8_t x_736; +x_735 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_736 = lean_string_dec_eq(x_40, x_735); +if (x_736 == 0) +{ +lean_object* x_737; uint8_t x_738; +x_737 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; +x_738 = lean_string_dec_eq(x_40, x_737); +if (x_738 == 0) +{ +lean_object* x_739; uint8_t x_740; +x_739 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; +x_740 = lean_string_dec_eq(x_40, x_739); +if (x_740 == 0) +{ +lean_object* x_741; uint8_t x_742; +x_741 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_742 = lean_string_dec_eq(x_40, x_741); +if (x_742 == 0) +{ +lean_object* x_743; uint8_t x_744; +x_743 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_744 = lean_string_dec_eq(x_40, x_743); +if (x_744 == 0) +{ +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_dec(x_3); +if (lean_is_scalar(x_704)) { + x_745 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_745 = x_704; +} +lean_ctor_set(x_745, 0, x_39); +lean_ctor_set(x_745, 1, x_705); +lean_ctor_set_usize(x_745, 2, x_703); +x_746 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_746, 0, x_745); +lean_ctor_set(x_746, 1, x_709); +lean_ctor_set_usize(x_746, 2, x_701); +lean_ctor_set(x_12, 1, x_719); +lean_ctor_set(x_12, 0, x_746); +if (lean_is_scalar(x_708)) { + x_747 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_747 = x_708; +} +lean_ctor_set(x_747, 0, x_12); +lean_ctor_set(x_747, 1, x_40); +lean_ctor_set_usize(x_747, 2, x_42); +x_748 = l_System_FilePath_dirName___closed__1; +x_749 = l_Lean_Name_toStringWithSep___main(x_748, x_747); +x_750 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_751 = lean_string_append(x_750, x_749); +lean_dec(x_749); +x_752 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_752, 0, x_751); +return x_752; +} +else +{ +lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; +lean_dec(x_708); +lean_dec(x_704); +lean_free_object(x_12); +lean_dec(x_40); +x_753 = l_Lean_stxInh; +x_754 = lean_unsigned_to_nat(0u); +x_755 = lean_array_get(x_753, x_3, x_754); +x_756 = lean_unsigned_to_nat(2u); +x_757 = lean_array_get(x_753, x_3, x_756); +lean_dec(x_3); +x_758 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_758, 0, x_39); +lean_closure_set(x_758, 1, x_755); +lean_closure_set(x_758, 2, x_757); +x_759 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_760 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_760, 0, x_759); +lean_closure_set(x_760, 1, x_758); +x_761 = l_Lean_Unhygienic_run___rarg(x_760); +x_2 = x_761; goto _start; } } else { -lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; -lean_dec(x_645); -lean_free_object(x_37); +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_dec(x_708); +lean_dec(x_704); lean_free_object(x_12); lean_dec(x_40); -x_723 = l_Lean_stxInh; -x_724 = lean_unsigned_to_nat(0u); -x_725 = lean_array_get(x_723, x_3, x_724); -x_726 = lean_unsigned_to_nat(2u); -x_727 = lean_array_get(x_723, x_3, x_726); +x_763 = l_Lean_stxInh; +x_764 = lean_unsigned_to_nat(0u); +x_765 = lean_array_get(x_763, x_3, x_764); +x_766 = lean_unsigned_to_nat(2u); +x_767 = lean_array_get(x_763, x_3, x_766); lean_dec(x_3); -x_728 = lean_name_mk_string(x_39, x_642); -x_729 = lean_name_mk_string(x_728, x_646); -x_730 = lean_name_mk_string(x_729, x_655); -lean_inc(x_730); -x_731 = lean_name_mk_string(x_730, x_670); -x_732 = lean_name_mk_string(x_730, x_664); -x_733 = lean_box(0); -x_734 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_735 = lean_name_mk_string(x_39, x_734); -x_736 = lean_box(0); -lean_inc(x_735); -x_737 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_737, 0, x_735); -lean_ctor_set(x_737, 1, x_736); -x_738 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_738, 0, x_737); -lean_ctor_set(x_738, 1, x_736); -x_739 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; -x_740 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_740, 0, x_733); -lean_ctor_set(x_740, 1, x_739); -lean_ctor_set(x_740, 2, x_735); -lean_ctor_set(x_740, 3, x_738); -x_741 = l_Lean_nullKind___closed__1; -x_742 = lean_name_mk_string(x_39, x_741); -x_743 = l_Array_empty___closed__1; -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_742); -lean_ctor_set(x_744, 1, x_743); -x_745 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_746 = lean_array_push(x_745, x_740); -x_747 = lean_array_push(x_746, x_744); -x_748 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_748, 0, x_732); -lean_ctor_set(x_748, 1, x_747); -x_749 = lean_array_push(x_745, x_748); -x_750 = lean_array_push(x_749, x_725); -lean_inc(x_731); -x_751 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_751, 0, x_731); -lean_ctor_set(x_751, 1, x_750); -x_752 = lean_array_push(x_745, x_751); -x_753 = lean_array_push(x_752, x_727); -x_754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_754, 0, x_731); -lean_ctor_set(x_754, 1, x_753); -x_755 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_755, 0, x_754); -x_756 = l_Lean_Unhygienic_run___rarg(x_755); -x_2 = x_756; +x_768 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_768, 0, x_39); +lean_closure_set(x_768, 1, x_765); +lean_closure_set(x_768, 2, x_767); +x_769 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_770 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_770, 0, x_769); +lean_closure_set(x_770, 1, x_768); +x_771 = l_Lean_Unhygienic_run___rarg(x_770); +x_2 = x_771; goto _start; } } else { -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; uint8_t x_764; -lean_dec(x_645); -lean_free_object(x_37); +lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; uint8_t x_779; +lean_dec(x_708); +lean_dec(x_704); lean_free_object(x_12); lean_dec(x_40); -x_758 = l_Lean_stxInh; -x_759 = lean_unsigned_to_nat(1u); -x_760 = lean_array_get(x_758, x_3, x_759); +x_773 = l_Lean_stxInh; +x_774 = lean_unsigned_to_nat(1u); +x_775 = lean_array_get(x_773, x_3, x_774); lean_dec(x_3); -x_761 = l_Lean_Syntax_getArgs(x_760); -lean_dec(x_760); -x_762 = lean_array_get_size(x_761); -x_763 = lean_unsigned_to_nat(0u); -x_764 = lean_nat_dec_eq(x_762, x_763); -lean_dec(x_762); -if (x_764 == 0) +x_776 = l_Lean_Syntax_getArgs(x_775); +lean_dec(x_775); +x_777 = lean_array_get_size(x_776); +x_778 = lean_unsigned_to_nat(0u); +x_779 = lean_nat_dec_eq(x_777, x_778); +lean_dec(x_777); +if (x_779 == 0) { -lean_object* x_765; -x_765 = lean_array_get(x_758, x_761, x_763); -lean_dec(x_761); -x_2 = x_765; +lean_object* x_780; +x_780 = lean_array_get(x_773, x_776, x_778); +lean_dec(x_776); +x_2 = x_780; goto _start; } else { -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_dec(x_761); -x_767 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_768 = lean_name_mk_string(x_39, x_767); -x_769 = l_Lean_Elab_Term_elabParen___closed__1; -x_770 = lean_name_mk_string(x_768, x_769); -x_771 = lean_box(0); -x_772 = l_Lean_mkConst(x_770, x_771); -x_773 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_773, 0, x_772); -return x_773; -} -} -} -else -{ -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; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; -lean_dec(x_645); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -x_774 = l_Lean_stxInh; -x_775 = lean_unsigned_to_nat(2u); -x_776 = lean_array_get(x_774, x_3, x_775); -x_777 = lean_unsigned_to_nat(4u); -x_778 = lean_array_get(x_774, x_3, x_777); -x_779 = lean_unsigned_to_nat(6u); -x_780 = lean_array_get(x_774, x_3, x_779); -lean_dec(x_3); -x_781 = lean_name_mk_string(x_39, x_642); -x_782 = lean_name_mk_string(x_781, x_646); -x_783 = lean_name_mk_string(x_782, x_655); -lean_inc(x_783); -x_784 = lean_name_mk_string(x_783, x_670); -x_785 = lean_name_mk_string(x_783, x_664); +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_dec(x_776); +x_782 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_783 = lean_name_mk_string(x_39, x_782); +x_784 = l_Lean_Elab_Term_elabParen___closed__4; +x_785 = lean_name_mk_string(x_783, x_784); x_786 = lean_box(0); -x_787 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_788 = lean_name_mk_string(x_39, x_787); -x_789 = lean_box(0); -lean_inc(x_788); -x_790 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_790, 0, x_788); -lean_ctor_set(x_790, 1, x_789); -x_791 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_791, 0, x_790); -lean_ctor_set(x_791, 1, x_789); -x_792 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; -x_793 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_793, 0, x_786); -lean_ctor_set(x_793, 1, x_792); -lean_ctor_set(x_793, 2, x_788); -lean_ctor_set(x_793, 3, x_791); -x_794 = l_Lean_nullKind___closed__1; -x_795 = lean_name_mk_string(x_39, x_794); -x_796 = l_Array_empty___closed__1; -x_797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_797, 0, x_795); -lean_ctor_set(x_797, 1, x_796); -x_798 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_799 = lean_array_push(x_798, x_793); -x_800 = lean_array_push(x_799, x_797); -x_801 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_801, 0, x_785); -lean_ctor_set(x_801, 1, x_800); -x_802 = lean_array_push(x_798, x_801); -x_803 = lean_array_push(x_802, x_776); -lean_inc(x_784); -x_804 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_804, 0, x_784); -lean_ctor_set(x_804, 1, x_803); -x_805 = lean_array_push(x_798, x_804); -x_806 = lean_array_push(x_805, x_778); -lean_inc(x_784); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_784); -lean_ctor_set(x_807, 1, x_806); -x_808 = lean_array_push(x_798, x_807); -x_809 = lean_array_push(x_808, x_780); -x_810 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_810, 0, x_784); -lean_ctor_set(x_810, 1, x_809); -x_811 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_811, 0, x_810); -x_812 = l_Lean_Unhygienic_run___rarg(x_811); -x_2 = x_812; +x_787 = l_Lean_mkConst(x_785, x_786); +x_788 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_788, 0, x_787); +return x_788; +} +} +} +else +{ +lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; +lean_dec(x_708); +lean_dec(x_704); +lean_free_object(x_12); +lean_dec(x_40); +x_789 = l_Lean_stxInh; +x_790 = lean_unsigned_to_nat(2u); +x_791 = lean_array_get(x_789, x_3, x_790); +x_792 = lean_unsigned_to_nat(4u); +x_793 = lean_array_get(x_789, x_3, x_792); +x_794 = lean_unsigned_to_nat(6u); +x_795 = lean_array_get(x_789, x_3, x_794); +lean_dec(x_3); +x_796 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_796, 0, x_39); +lean_closure_set(x_796, 1, x_791); +lean_closure_set(x_796, 2, x_793); +lean_closure_set(x_796, 3, x_795); +x_797 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_798 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_798, 0, x_797); +lean_closure_set(x_798, 1, x_796); +x_799 = l_Lean_Unhygienic_run___rarg(x_798); +x_2 = x_799; goto _start; } } else { -lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; -lean_dec(x_645); -lean_free_object(x_37); +lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_dec(x_708); +lean_dec(x_704); lean_free_object(x_12); lean_dec(x_40); -x_814 = l_Lean_stxInh; -x_815 = lean_unsigned_to_nat(0u); -x_816 = lean_array_get(x_814, x_3, x_815); -x_817 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_816); -if (lean_obj_tag(x_817) == 0) +x_801 = l_Lean_stxInh; +x_802 = lean_unsigned_to_nat(0u); +x_803 = lean_array_get(x_801, x_3, x_802); +x_804 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_803); +if (lean_obj_tag(x_804) == 0) { -lean_object* x_818; lean_object* x_819; lean_object* x_820; +lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_dec(x_3); -x_818 = lean_ctor_get(x_817, 0); -lean_inc(x_818); -if (lean_is_exclusive(x_817)) { - lean_ctor_release(x_817, 0); - x_819 = x_817; +x_805 = lean_ctor_get(x_804, 0); +lean_inc(x_805); +if (lean_is_exclusive(x_804)) { + lean_ctor_release(x_804, 0); + x_806 = x_804; } else { - lean_dec_ref(x_817); - x_819 = lean_box(0); + lean_dec_ref(x_804); + x_806 = lean_box(0); } -if (lean_is_scalar(x_819)) { - x_820 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_806)) { + x_807 = lean_alloc_ctor(0, 1, 0); } else { - x_820 = x_819; + x_807 = x_806; } -lean_ctor_set(x_820, 0, x_818); -return x_820; +lean_ctor_set(x_807, 0, x_805); +return x_807; } else { -lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; -x_821 = lean_ctor_get(x_817, 0); -lean_inc(x_821); -lean_dec(x_817); -x_822 = lean_unsigned_to_nat(1u); -x_823 = lean_array_get(x_814, x_3, x_822); +lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; +x_808 = lean_ctor_get(x_804, 0); +lean_inc(x_808); +lean_dec(x_804); +x_809 = lean_unsigned_to_nat(1u); +x_810 = lean_array_get(x_801, x_3, x_809); lean_dec(x_3); -x_824 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_823); -if (lean_obj_tag(x_824) == 0) +x_811 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_810); +if (lean_obj_tag(x_811) == 0) { -lean_object* x_825; lean_object* x_826; lean_object* x_827; -lean_dec(x_821); -x_825 = lean_ctor_get(x_824, 0); -lean_inc(x_825); -if (lean_is_exclusive(x_824)) { - lean_ctor_release(x_824, 0); - x_826 = x_824; +lean_object* x_812; lean_object* x_813; lean_object* x_814; +lean_dec(x_808); +x_812 = lean_ctor_get(x_811, 0); +lean_inc(x_812); +if (lean_is_exclusive(x_811)) { + lean_ctor_release(x_811, 0); + x_813 = x_811; } else { - lean_dec_ref(x_824); - x_826 = lean_box(0); + lean_dec_ref(x_811); + x_813 = lean_box(0); } -if (lean_is_scalar(x_826)) { - x_827 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_813)) { + x_814 = lean_alloc_ctor(0, 1, 0); } else { - x_827 = x_826; + x_814 = x_813; } -lean_ctor_set(x_827, 0, x_825); -return x_827; +lean_ctor_set(x_814, 0, x_812); +return x_814; } else { -lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; -x_828 = lean_ctor_get(x_824, 0); -lean_inc(x_828); -if (lean_is_exclusive(x_824)) { - lean_ctor_release(x_824, 0); - x_829 = x_824; +lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; +x_815 = lean_ctor_get(x_811, 0); +lean_inc(x_815); +if (lean_is_exclusive(x_811)) { + lean_ctor_release(x_811, 0); + x_816 = x_811; } else { - lean_dec_ref(x_824); - x_829 = lean_box(0); + lean_dec_ref(x_811); + x_816 = lean_box(0); } -x_830 = l_Lean_mkApp(x_821, x_828); -if (lean_is_scalar(x_829)) { - x_831 = lean_alloc_ctor(1, 1, 0); +x_817 = l_Lean_mkApp(x_808, x_815); +if (lean_is_scalar(x_816)) { + x_818 = lean_alloc_ctor(1, 1, 0); } else { - x_831 = x_829; + x_818 = x_816; } -lean_ctor_set(x_831, 0, x_830); -return x_831; +lean_ctor_set(x_818, 0, x_817); +return x_818; } } } } else { -lean_object* x_832; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; -lean_dec(x_645); -lean_free_object(x_37); +lean_object* x_819; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; +lean_dec(x_708); +lean_dec(x_704); lean_free_object(x_12); lean_dec(x_40); -x_858 = l_Lean_stxInh; -x_859 = lean_unsigned_to_nat(1u); -x_860 = lean_array_get(x_858, x_3, x_859); -x_861 = l_Lean_Syntax_getKind(x_860); -if (lean_obj_tag(x_861) == 1) +x_845 = l_Lean_stxInh; +x_846 = lean_unsigned_to_nat(1u); +x_847 = lean_array_get(x_845, x_3, x_846); +x_848 = l_Lean_Syntax_getKind(x_847); +if (lean_obj_tag(x_848) == 1) { -lean_object* x_862; -x_862 = lean_ctor_get(x_861, 0); -lean_inc(x_862); -if (lean_obj_tag(x_862) == 1) +lean_object* x_849; +x_849 = lean_ctor_get(x_848, 0); +lean_inc(x_849); +if (lean_obj_tag(x_849) == 1) { -lean_object* x_863; -x_863 = lean_ctor_get(x_862, 0); -lean_inc(x_863); -if (lean_obj_tag(x_863) == 1) +lean_object* x_850; +x_850 = lean_ctor_get(x_849, 0); +lean_inc(x_850); +if (lean_obj_tag(x_850) == 1) { -lean_object* x_864; -x_864 = lean_ctor_get(x_863, 0); -lean_inc(x_864); -if (lean_obj_tag(x_864) == 1) +lean_object* x_851; +x_851 = lean_ctor_get(x_850, 0); +lean_inc(x_851); +if (lean_obj_tag(x_851) == 1) { -lean_object* x_865; -x_865 = lean_ctor_get(x_864, 0); -lean_inc(x_865); -if (lean_obj_tag(x_865) == 0) +lean_object* x_852; +x_852 = lean_ctor_get(x_851, 0); +lean_inc(x_852); +if (lean_obj_tag(x_852) == 0) { -lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; uint8_t x_870; -x_866 = lean_ctor_get(x_861, 1); -lean_inc(x_866); -lean_dec(x_861); -x_867 = lean_ctor_get(x_862, 1); -lean_inc(x_867); -lean_dec(x_862); -x_868 = lean_ctor_get(x_863, 1); -lean_inc(x_868); -lean_dec(x_863); -x_869 = lean_ctor_get(x_864, 1); -lean_inc(x_869); -lean_dec(x_864); -x_870 = lean_string_dec_eq(x_869, x_642); -lean_dec(x_869); -if (x_870 == 0) +lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; uint8_t x_857; +x_853 = lean_ctor_get(x_848, 1); +lean_inc(x_853); +lean_dec(x_848); +x_854 = lean_ctor_get(x_849, 1); +lean_inc(x_854); +lean_dec(x_849); +x_855 = lean_ctor_get(x_850, 1); +lean_inc(x_855); +lean_dec(x_850); +x_856 = lean_ctor_get(x_851, 1); +lean_inc(x_856); +lean_dec(x_851); +x_857 = lean_string_dec_eq(x_856, x_705); +lean_dec(x_856); +if (x_857 == 0) { -lean_object* x_871; lean_object* x_872; -lean_dec(x_868); -lean_dec(x_867); -lean_dec(x_866); -lean_dec(x_860); -x_871 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_872 = l_unreachable_x21___rarg(x_871); -x_832 = x_872; -goto block_857; +lean_object* x_858; lean_object* x_859; +lean_dec(x_855); +lean_dec(x_854); +lean_dec(x_853); +lean_dec(x_847); +x_858 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_859 = l_unreachable_x21___rarg(x_858); +x_819 = x_859; +goto block_844; } else { -uint8_t x_873; -x_873 = lean_string_dec_eq(x_868, x_646); -lean_dec(x_868); -if (x_873 == 0) +uint8_t x_860; +x_860 = lean_string_dec_eq(x_855, x_709); +lean_dec(x_855); +if (x_860 == 0) { -lean_object* x_874; lean_object* x_875; -lean_dec(x_867); -lean_dec(x_866); -lean_dec(x_860); -x_874 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_875 = l_unreachable_x21___rarg(x_874); -x_832 = x_875; -goto block_857; +lean_object* x_861; lean_object* x_862; +lean_dec(x_854); +lean_dec(x_853); +lean_dec(x_847); +x_861 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_862 = l_unreachable_x21___rarg(x_861); +x_819 = x_862; +goto block_844; } else { -uint8_t x_876; -x_876 = lean_string_dec_eq(x_867, x_655); -lean_dec(x_867); -if (x_876 == 0) +uint8_t x_863; +x_863 = lean_string_dec_eq(x_854, x_719); +lean_dec(x_854); +if (x_863 == 0) { -lean_object* x_877; lean_object* x_878; -lean_dec(x_866); -lean_dec(x_860); -x_877 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_878 = l_unreachable_x21___rarg(x_877); -x_832 = x_878; -goto block_857; +lean_object* x_864; lean_object* x_865; +lean_dec(x_853); +lean_dec(x_847); +x_864 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_865 = l_unreachable_x21___rarg(x_864); +x_819 = x_865; +goto block_844; } else { -lean_object* x_879; uint8_t x_880; -x_879 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_880 = lean_string_dec_eq(x_866, x_879); -if (x_880 == 0) +lean_object* x_866; uint8_t x_867; +x_866 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_867 = lean_string_dec_eq(x_853, x_866); +if (x_867 == 0) { -lean_object* x_881; uint8_t x_882; -x_881 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; -x_882 = lean_string_dec_eq(x_866, x_881); -lean_dec(x_866); -if (x_882 == 0) +lean_object* x_868; uint8_t x_869; +x_868 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +x_869 = lean_string_dec_eq(x_853, x_868); +lean_dec(x_853); +if (x_869 == 0) +{ +lean_object* x_870; lean_object* x_871; +lean_dec(x_847); +x_870 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_871 = l_unreachable_x21___rarg(x_870); +x_819 = x_871; +goto block_844; +} +else +{ +lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; +x_872 = lean_unsigned_to_nat(0u); +x_873 = l_Lean_Syntax_getArg(x_847, x_872); +x_874 = l_Lean_Syntax_getIdAt(x_873, x_872); +lean_dec(x_873); +x_875 = lean_unsigned_to_nat(3u); +x_876 = l_Lean_Syntax_getArg(x_847, x_875); +lean_dec(x_847); +x_877 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_877, 0, x_874); +lean_ctor_set(x_877, 1, x_876); +x_819 = x_877; +goto block_844; +} +} +else +{ +lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; +lean_dec(x_853); +x_878 = lean_unsigned_to_nat(0u); +x_879 = l_Lean_Syntax_getIdAt(x_847, x_878); +x_880 = lean_unsigned_to_nat(4u); +x_881 = l_Lean_Syntax_getArg(x_847, x_880); +lean_dec(x_847); +x_882 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_882, 0, x_879); +lean_ctor_set(x_882, 1, x_881); +x_819 = x_882; +goto block_844; +} +} +} +} +} +else { lean_object* x_883; lean_object* x_884; -lean_dec(x_860); -x_883 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_884 = l_unreachable_x21___rarg(x_883); -x_832 = x_884; -goto block_857; -} -else -{ -lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; -x_885 = lean_unsigned_to_nat(0u); -x_886 = l_Lean_Syntax_getArg(x_860, x_885); -x_887 = l_Lean_Syntax_getIdAt(x_886, x_885); -lean_dec(x_886); -x_888 = lean_unsigned_to_nat(3u); -x_889 = l_Lean_Syntax_getArg(x_860, x_888); -lean_dec(x_860); -x_890 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_890, 0, x_887); -lean_ctor_set(x_890, 1, x_889); -x_832 = x_890; -goto block_857; -} -} -else -{ -lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; -lean_dec(x_866); -x_891 = lean_unsigned_to_nat(0u); -x_892 = l_Lean_Syntax_getIdAt(x_860, x_891); -x_893 = lean_unsigned_to_nat(4u); -x_894 = l_Lean_Syntax_getArg(x_860, x_893); -lean_dec(x_860); -x_895 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_895, 0, x_892); -lean_ctor_set(x_895, 1, x_894); -x_832 = x_895; -goto block_857; -} -} -} -} -} -else -{ -lean_object* x_896; lean_object* x_897; -lean_dec(x_865); -lean_dec(x_864); -lean_dec(x_863); -lean_dec(x_862); -lean_dec(x_861); -lean_dec(x_860); -x_896 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_897 = l_unreachable_x21___rarg(x_896); -x_832 = x_897; -goto block_857; -} -} -else -{ -lean_object* x_898; lean_object* x_899; -lean_dec(x_864); -lean_dec(x_863); -lean_dec(x_862); -lean_dec(x_861); -lean_dec(x_860); -x_898 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_899 = l_unreachable_x21___rarg(x_898); -x_832 = x_899; -goto block_857; -} -} -else -{ -lean_object* x_900; lean_object* x_901; -lean_dec(x_863); -lean_dec(x_862); -lean_dec(x_861); -lean_dec(x_860); -x_900 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_901 = l_unreachable_x21___rarg(x_900); -x_832 = x_901; -goto block_857; -} -} -else -{ -lean_object* x_902; lean_object* x_903; -lean_dec(x_862); -lean_dec(x_861); -lean_dec(x_860); -x_902 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_903 = l_unreachable_x21___rarg(x_902); -x_832 = x_903; -goto block_857; -} -} -else -{ -lean_object* x_904; lean_object* x_905; -lean_dec(x_861); -lean_dec(x_860); -x_904 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_905 = l_unreachable_x21___rarg(x_904); -x_832 = x_905; -goto block_857; -} -block_857: -{ -lean_object* x_833; lean_object* x_834; lean_object* x_835; -x_833 = lean_ctor_get(x_832, 0); -lean_inc(x_833); -x_834 = lean_ctor_get(x_832, 1); -lean_inc(x_834); -lean_dec(x_832); -x_835 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_834); -if (lean_obj_tag(x_835) == 0) -{ -lean_object* x_836; lean_object* x_837; lean_object* x_838; -lean_dec(x_833); -lean_dec(x_3); -x_836 = lean_ctor_get(x_835, 0); -lean_inc(x_836); -if (lean_is_exclusive(x_835)) { - lean_ctor_release(x_835, 0); - x_837 = x_835; -} else { - lean_dec_ref(x_835); - x_837 = lean_box(0); -} -if (lean_is_scalar(x_837)) { - x_838 = lean_alloc_ctor(0, 1, 0); -} else { - x_838 = x_837; -} -lean_ctor_set(x_838, 0, x_836); -return x_838; -} -else -{ -lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; -x_839 = lean_ctor_get(x_835, 0); -lean_inc(x_839); -lean_dec(x_835); -x_840 = l_Lean_stxInh; -x_841 = lean_unsigned_to_nat(3u); -x_842 = lean_array_get(x_840, x_3, x_841); -lean_dec(x_3); -x_843 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_842); -if (lean_obj_tag(x_843) == 0) -{ -lean_object* x_844; lean_object* x_845; lean_object* x_846; -lean_dec(x_839); -lean_dec(x_833); -x_844 = lean_ctor_get(x_843, 0); -lean_inc(x_844); -if (lean_is_exclusive(x_843)) { - lean_ctor_release(x_843, 0); - x_845 = x_843; -} else { - lean_dec_ref(x_843); - x_845 = lean_box(0); -} -if (lean_is_scalar(x_845)) { - x_846 = lean_alloc_ctor(0, 1, 0); -} else { - x_846 = x_845; -} -lean_ctor_set(x_846, 0, x_844); -return x_846; -} -else -{ -lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; uint8_t x_854; lean_object* x_855; lean_object* x_856; -x_847 = lean_ctor_get(x_843, 0); -lean_inc(x_847); -if (lean_is_exclusive(x_843)) { - lean_ctor_release(x_843, 0); - x_848 = x_843; -} else { - lean_dec_ref(x_843); - x_848 = lean_box(0); -} -lean_inc(x_833); -x_849 = l_Lean_mkFVar(x_833); -x_850 = l_Lean_FileMap_ofString___closed__1; -x_851 = lean_array_push(x_850, x_849); -x_852 = lean_expr_abstract(x_847, x_851); +lean_dec(x_852); lean_dec(x_851); +lean_dec(x_850); +lean_dec(x_849); +lean_dec(x_848); lean_dec(x_847); -x_853 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_854 = 0; -x_855 = l_Lean_mkLet(x_833, x_853, x_839, x_852, x_854); -if (lean_is_scalar(x_848)) { - x_856 = lean_alloc_ctor(1, 1, 0); -} else { - x_856 = x_848; +x_883 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_884 = l_unreachable_x21___rarg(x_883); +x_819 = x_884; +goto block_844; } -lean_ctor_set(x_856, 0, x_855); -return x_856; +} +else +{ +lean_object* x_885; lean_object* x_886; +lean_dec(x_851); +lean_dec(x_850); +lean_dec(x_849); +lean_dec(x_848); +lean_dec(x_847); +x_885 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_886 = l_unreachable_x21___rarg(x_885); +x_819 = x_886; +goto block_844; +} +} +else +{ +lean_object* x_887; lean_object* x_888; +lean_dec(x_850); +lean_dec(x_849); +lean_dec(x_848); +lean_dec(x_847); +x_887 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_888 = l_unreachable_x21___rarg(x_887); +x_819 = x_888; +goto block_844; +} +} +else +{ +lean_object* x_889; lean_object* x_890; +lean_dec(x_849); +lean_dec(x_848); +lean_dec(x_847); +x_889 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_890 = l_unreachable_x21___rarg(x_889); +x_819 = x_890; +goto block_844; +} +} +else +{ +lean_object* x_891; lean_object* x_892; +lean_dec(x_848); +lean_dec(x_847); +x_891 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_892 = l_unreachable_x21___rarg(x_891); +x_819 = x_892; +goto block_844; +} +block_844: +{ +lean_object* x_820; lean_object* x_821; lean_object* x_822; +x_820 = lean_ctor_get(x_819, 0); +lean_inc(x_820); +x_821 = lean_ctor_get(x_819, 1); +lean_inc(x_821); +lean_dec(x_819); +x_822 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_821); +if (lean_obj_tag(x_822) == 0) +{ +lean_object* x_823; lean_object* x_824; lean_object* x_825; +lean_dec(x_820); +lean_dec(x_3); +x_823 = lean_ctor_get(x_822, 0); +lean_inc(x_823); +if (lean_is_exclusive(x_822)) { + lean_ctor_release(x_822, 0); + x_824 = x_822; +} else { + lean_dec_ref(x_822); + x_824 = lean_box(0); +} +if (lean_is_scalar(x_824)) { + x_825 = lean_alloc_ctor(0, 1, 0); +} else { + x_825 = x_824; +} +lean_ctor_set(x_825, 0, x_823); +return x_825; +} +else +{ +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; +x_826 = lean_ctor_get(x_822, 0); +lean_inc(x_826); +lean_dec(x_822); +x_827 = l_Lean_stxInh; +x_828 = lean_unsigned_to_nat(3u); +x_829 = lean_array_get(x_827, x_3, x_828); +lean_dec(x_3); +x_830 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_829); +if (lean_obj_tag(x_830) == 0) +{ +lean_object* x_831; lean_object* x_832; lean_object* x_833; +lean_dec(x_826); +lean_dec(x_820); +x_831 = lean_ctor_get(x_830, 0); +lean_inc(x_831); +if (lean_is_exclusive(x_830)) { + lean_ctor_release(x_830, 0); + x_832 = x_830; +} else { + lean_dec_ref(x_830); + x_832 = lean_box(0); +} +if (lean_is_scalar(x_832)) { + x_833 = lean_alloc_ctor(0, 1, 0); +} else { + x_833 = x_832; +} +lean_ctor_set(x_833, 0, x_831); +return x_833; +} +else +{ +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; uint8_t x_841; lean_object* x_842; lean_object* x_843; +x_834 = lean_ctor_get(x_830, 0); +lean_inc(x_834); +if (lean_is_exclusive(x_830)) { + lean_ctor_release(x_830, 0); + x_835 = x_830; +} else { + lean_dec_ref(x_830); + x_835 = lean_box(0); +} +lean_inc(x_820); +x_836 = l_Lean_mkFVar(x_820); +x_837 = l_Lean_FileMap_ofString___closed__1; +x_838 = lean_array_push(x_837, x_836); +x_839 = lean_expr_abstract(x_834, x_838); +lean_dec(x_838); +lean_dec(x_834); +x_840 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_841 = 0; +x_842 = l_Lean_mkLet(x_820, x_840, x_826, x_839, x_841); +if (lean_is_scalar(x_835)) { + x_843 = lean_alloc_ctor(1, 1, 0); +} else { + x_843 = x_835; +} +lean_ctor_set(x_843, 0, x_842); +return x_843; } } } @@ -17161,125 +17985,125 @@ return x_856; } else { -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_dec(x_645); -lean_free_object(x_37); +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_dec(x_708); +lean_dec(x_704); lean_free_object(x_12); lean_dec(x_40); -x_906 = l_Lean_stxInh; -x_907 = lean_unsigned_to_nat(1u); -x_908 = lean_array_get(x_906, x_3, x_907); -x_909 = l_Lean_Syntax_getArgs(x_908); -lean_dec(x_908); -x_910 = lean_unsigned_to_nat(3u); -x_911 = lean_array_get(x_906, x_3, x_910); +x_893 = l_Lean_stxInh; +x_894 = lean_unsigned_to_nat(1u); +x_895 = lean_array_get(x_893, x_3, x_894); +x_896 = l_Lean_Syntax_getArgs(x_895); +lean_dec(x_895); +x_897 = lean_unsigned_to_nat(3u); +x_898 = lean_array_get(x_893, x_3, x_897); lean_dec(x_3); -x_912 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_911); -if (lean_obj_tag(x_912) == 0) +x_899 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_898); +if (lean_obj_tag(x_899) == 0) { -lean_object* x_913; lean_object* x_914; lean_object* x_915; -lean_dec(x_909); +lean_object* x_900; lean_object* x_901; lean_object* x_902; +lean_dec(x_896); lean_dec(x_2); -x_913 = lean_ctor_get(x_912, 0); -lean_inc(x_913); -if (lean_is_exclusive(x_912)) { - lean_ctor_release(x_912, 0); - x_914 = x_912; +x_900 = lean_ctor_get(x_899, 0); +lean_inc(x_900); +if (lean_is_exclusive(x_899)) { + lean_ctor_release(x_899, 0); + x_901 = x_899; } else { - lean_dec_ref(x_912); - x_914 = lean_box(0); + lean_dec_ref(x_899); + x_901 = lean_box(0); } -if (lean_is_scalar(x_914)) { - x_915 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_901)) { + x_902 = lean_alloc_ctor(0, 1, 0); } else { - x_915 = x_914; + x_902 = x_901; } -lean_ctor_set(x_915, 0, x_913); +lean_ctor_set(x_902, 0, x_900); +return x_902; +} +else +{ +lean_object* x_903; lean_object* x_904; lean_object* x_905; +x_903 = lean_ctor_get(x_899, 0); +lean_inc(x_903); +lean_dec(x_899); +x_904 = lean_array_get_size(x_896); +x_905 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_896, x_904, lean_box(0), x_903); +lean_dec(x_896); +lean_dec(x_2); +return x_905; +} +} +} +else +{ +lean_object* x_906; lean_object* x_907; lean_object* x_908; +lean_dec(x_708); +lean_dec(x_704); +lean_free_object(x_12); +lean_dec(x_40); +lean_dec(x_2); +x_906 = l_Lean_stxInh; +x_907 = lean_unsigned_to_nat(0u); +x_908 = lean_array_get(x_906, x_3, x_907); +lean_dec(x_3); +if (lean_obj_tag(x_908) == 3) +{ +lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; +x_909 = lean_ctor_get(x_908, 2); +lean_inc(x_909); +x_910 = lean_ctor_get(x_908, 3); +lean_inc(x_910); +lean_dec(x_908); +x_911 = lean_box(0); +lean_inc(x_909); +x_912 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_911, x_909); +x_913 = l_List_append___rarg(x_912, x_910); +if (lean_obj_tag(x_913) == 0) +{ +lean_object* x_914; lean_object* x_915; +x_914 = l_Lean_mkFVar(x_909); +x_915 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_915, 0, x_914); return x_915; } else { -lean_object* x_916; lean_object* x_917; lean_object* x_918; -x_916 = lean_ctor_get(x_912, 0); -lean_inc(x_916); -lean_dec(x_912); -x_917 = lean_array_get_size(x_909); -x_918 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_909, x_917, lean_box(0), x_916); +lean_object* x_916; lean_object* x_917; lean_dec(x_909); -lean_dec(x_2); -return x_918; +x_916 = lean_ctor_get(x_913, 0); +lean_inc(x_916); +lean_dec(x_913); +x_917 = lean_ctor_get(x_916, 1); +lean_inc(x_917); +if (lean_obj_tag(x_917) == 0) +{ +lean_object* x_918; lean_object* x_919; lean_object* x_920; +x_918 = lean_ctor_get(x_916, 0); +lean_inc(x_918); +lean_dec(x_916); +x_919 = l_Lean_mkConst(x_918, x_911); +x_920 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_920, 0, x_919); +return x_920; +} +else +{ +lean_object* x_921; +lean_dec(x_917); +lean_dec(x_916); +x_921 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; +return x_921; } } } else { -lean_object* x_919; lean_object* x_920; lean_object* x_921; -lean_dec(x_645); -lean_free_object(x_37); -lean_free_object(x_12); -lean_dec(x_40); -lean_dec(x_2); -x_919 = l_Lean_stxInh; -x_920 = lean_unsigned_to_nat(0u); -x_921 = lean_array_get(x_919, x_3, x_920); -lean_dec(x_3); -if (lean_obj_tag(x_921) == 3) -{ -lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_922 = lean_ctor_get(x_921, 2); -lean_inc(x_922); -x_923 = lean_ctor_get(x_921, 3); -lean_inc(x_923); -lean_dec(x_921); -x_924 = lean_box(0); -lean_inc(x_922); -x_925 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_924, x_922); -x_926 = l_List_append___rarg(x_925, x_923); -if (lean_obj_tag(x_926) == 0) -{ -lean_object* x_927; lean_object* x_928; -x_927 = l_Lean_mkFVar(x_922); -x_928 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_928, 0, x_927); -return x_928; -} -else -{ -lean_object* x_929; lean_object* x_930; -lean_dec(x_922); -x_929 = lean_ctor_get(x_926, 0); -lean_inc(x_929); -lean_dec(x_926); -x_930 = lean_ctor_get(x_929, 1); -lean_inc(x_930); -if (lean_obj_tag(x_930) == 0) -{ -lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_931 = lean_ctor_get(x_929, 0); -lean_inc(x_931); -lean_dec(x_929); -x_932 = l_Lean_mkConst(x_931, x_924); -x_933 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_933, 0, x_932); -return x_933; -} -else -{ -lean_object* x_934; -lean_dec(x_930); -lean_dec(x_929); -x_934 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -return x_934; -} -} -} -else -{ -lean_object* x_935; lean_object* x_936; -lean_dec(x_921); -x_935 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; -x_936 = l_unreachable_x21___rarg(x_935); -return x_936; +lean_object* x_922; lean_object* x_923; +lean_dec(x_908); +x_922 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; +x_923 = l_unreachable_x21___rarg(x_922); +return x_923; } } } @@ -17289,1687 +18113,588 @@ return x_936; } else { -lean_object* x_937; size_t x_938; lean_object* x_939; size_t x_940; lean_object* x_941; lean_object* x_942; uint8_t x_943; -x_937 = lean_ctor_get(x_37, 1); -x_938 = lean_ctor_get_usize(x_37, 2); -lean_inc(x_937); -lean_dec(x_37); -x_939 = lean_ctor_get(x_38, 1); -lean_inc(x_939); -x_940 = lean_ctor_get_usize(x_38, 2); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_941 = x_38; -} else { - lean_dec_ref(x_38); - x_941 = lean_box(0); -} -x_942 = l_Lean_nameToExprAux___main___closed__1; -x_943 = lean_string_dec_eq(x_939, x_942); -lean_dec(x_939); -if (x_943 == 0) -{ -lean_object* x_944; -lean_dec(x_941); -lean_dec(x_937); -lean_free_object(x_12); -lean_dec(x_43); -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_2); -x_944 = lean_box(0); -x_5 = x_944; -goto block_11; -} -else -{ -lean_object* x_945; lean_object* x_946; uint8_t x_947; -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_945 = x_4; -} else { - lean_dec_ref(x_4); - x_945 = lean_box(0); -} -x_946 = l_Lean_Syntax_formatStx___main___closed__5; -x_947 = lean_string_dec_eq(x_937, x_946); -if (x_947 == 0) -{ -lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_941)) { - x_948 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_948 = x_941; -} -lean_ctor_set(x_948, 0, x_39); -lean_ctor_set(x_948, 1, x_942); -lean_ctor_set_usize(x_948, 2, x_940); -x_949 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_949, 0, x_948); -lean_ctor_set(x_949, 1, x_937); -lean_ctor_set_usize(x_949, 2, x_938); -lean_ctor_set(x_12, 0, x_949); -if (lean_is_scalar(x_945)) { - x_950 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_950 = x_945; -} -lean_ctor_set(x_950, 0, x_12); -lean_ctor_set(x_950, 1, x_40); -lean_ctor_set_usize(x_950, 2, x_42); -x_951 = l_System_FilePath_dirName___closed__1; -x_952 = l_Lean_Name_toStringWithSep___main(x_951, x_950); -x_953 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_954 = lean_string_append(x_953, x_952); -lean_dec(x_952); -x_955 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_955, 0, x_954); -return x_955; -} -else -{ -lean_object* x_956; uint8_t x_957; -lean_dec(x_937); -x_956 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_957 = lean_string_dec_eq(x_43, x_956); -if (x_957 == 0) -{ -lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_941)) { - x_958 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_958 = x_941; -} -lean_ctor_set(x_958, 0, x_39); -lean_ctor_set(x_958, 1, x_942); -lean_ctor_set_usize(x_958, 2, x_940); -x_959 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_959, 0, x_958); -lean_ctor_set(x_959, 1, x_946); -lean_ctor_set_usize(x_959, 2, x_938); -lean_ctor_set(x_12, 0, x_959); -if (lean_is_scalar(x_945)) { - x_960 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_960 = x_945; -} -lean_ctor_set(x_960, 0, x_12); -lean_ctor_set(x_960, 1, x_40); -lean_ctor_set_usize(x_960, 2, x_42); -x_961 = l_System_FilePath_dirName___closed__1; -x_962 = l_Lean_Name_toStringWithSep___main(x_961, x_960); -x_963 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_964 = lean_string_append(x_963, x_962); -lean_dec(x_962); -x_965 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_965, 0, x_964); -return x_965; -} -else -{ -lean_object* x_966; uint8_t x_967; -lean_dec(x_43); -x_966 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_967 = lean_string_dec_eq(x_40, x_966); -if (x_967 == 0) -{ -lean_object* x_968; uint8_t x_969; -x_968 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_969 = lean_string_dec_eq(x_40, x_968); -if (x_969 == 0) -{ -lean_object* x_970; uint8_t x_971; -lean_dec(x_2); -x_970 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_971 = lean_string_dec_eq(x_40, x_970); -if (x_971 == 0) -{ -lean_object* x_972; uint8_t x_973; -x_972 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_973 = lean_string_dec_eq(x_40, x_972); -if (x_973 == 0) -{ -lean_object* x_974; uint8_t x_975; -x_974 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; -x_975 = lean_string_dec_eq(x_40, x_974); -if (x_975 == 0) -{ -lean_object* x_976; uint8_t x_977; -x_976 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; -x_977 = lean_string_dec_eq(x_40, x_976); -if (x_977 == 0) -{ -lean_object* x_978; uint8_t x_979; -x_978 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_979 = lean_string_dec_eq(x_40, x_978); -if (x_979 == 0) -{ -lean_object* x_980; uint8_t x_981; -x_980 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_981 = lean_string_dec_eq(x_40, x_980); -if (x_981 == 0) -{ -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_dec(x_3); -if (lean_is_scalar(x_941)) { - x_982 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_982 = x_941; -} -lean_ctor_set(x_982, 0, x_39); -lean_ctor_set(x_982, 1, x_942); -lean_ctor_set_usize(x_982, 2, x_940); -x_983 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_983, 0, x_982); -lean_ctor_set(x_983, 1, x_946); -lean_ctor_set_usize(x_983, 2, x_938); -lean_ctor_set(x_12, 1, x_956); -lean_ctor_set(x_12, 0, x_983); -if (lean_is_scalar(x_945)) { - x_984 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_984 = x_945; -} -lean_ctor_set(x_984, 0, x_12); -lean_ctor_set(x_984, 1, x_40); -lean_ctor_set_usize(x_984, 2, x_42); -x_985 = l_System_FilePath_dirName___closed__1; -x_986 = l_Lean_Name_toStringWithSep___main(x_985, x_984); -x_987 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_988 = lean_string_append(x_987, x_986); -lean_dec(x_986); -x_989 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_989, 0, x_988); -return x_989; -} -else -{ -lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; 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_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_990 = l_Lean_stxInh; -x_991 = lean_unsigned_to_nat(0u); -x_992 = lean_array_get(x_990, x_3, x_991); -x_993 = lean_unsigned_to_nat(2u); -x_994 = lean_array_get(x_990, x_3, x_993); -lean_dec(x_3); -x_995 = lean_name_mk_string(x_39, x_942); -x_996 = lean_name_mk_string(x_995, x_946); -x_997 = lean_name_mk_string(x_996, x_956); -lean_inc(x_997); -x_998 = lean_name_mk_string(x_997, x_972); -x_999 = lean_name_mk_string(x_997, x_966); -x_1000 = lean_box(0); -x_1001 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -x_1002 = lean_name_mk_string(x_39, x_1001); -x_1003 = lean_name_mk_string(x_1002, x_980); -x_1004 = lean_box(0); -lean_inc(x_1003); -x_1005 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1005, 0, x_1003); -lean_ctor_set(x_1005, 1, x_1004); -x_1006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1006, 0, x_1005); -lean_ctor_set(x_1006, 1, x_1004); -x_1007 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -x_1008 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1008, 0, x_1000); -lean_ctor_set(x_1008, 1, x_1007); -lean_ctor_set(x_1008, 2, x_1003); -lean_ctor_set(x_1008, 3, x_1006); -x_1009 = l_Lean_nullKind___closed__1; -x_1010 = lean_name_mk_string(x_39, x_1009); -x_1011 = l_Array_empty___closed__1; -x_1012 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1012, 0, x_1010); -lean_ctor_set(x_1012, 1, x_1011); -x_1013 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1014 = lean_array_push(x_1013, x_1008); -x_1015 = lean_array_push(x_1014, x_1012); -x_1016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1016, 0, x_999); -lean_ctor_set(x_1016, 1, x_1015); -x_1017 = lean_array_push(x_1013, x_1016); -x_1018 = lean_array_push(x_1017, x_992); -lean_inc(x_998); -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_998); -lean_ctor_set(x_1019, 1, x_1018); -x_1020 = lean_array_push(x_1013, x_1019); -x_1021 = lean_array_push(x_1020, x_994); -x_1022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1022, 0, x_998); -lean_ctor_set(x_1022, 1, x_1021); -x_1023 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1023, 0, x_1022); -x_1024 = l_Lean_Unhygienic_run___rarg(x_1023); -x_2 = x_1024; -goto _start; -} -} -else -{ -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; 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_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1026 = l_Lean_stxInh; -x_1027 = lean_unsigned_to_nat(0u); -x_1028 = lean_array_get(x_1026, x_3, x_1027); -x_1029 = lean_unsigned_to_nat(2u); -x_1030 = lean_array_get(x_1026, x_3, x_1029); -lean_dec(x_3); -x_1031 = lean_name_mk_string(x_39, x_942); -x_1032 = lean_name_mk_string(x_1031, x_946); -x_1033 = lean_name_mk_string(x_1032, x_956); -lean_inc(x_1033); -x_1034 = lean_name_mk_string(x_1033, x_972); -x_1035 = lean_name_mk_string(x_1033, x_966); -x_1036 = lean_box(0); -x_1037 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_1038 = lean_name_mk_string(x_39, x_1037); -x_1039 = lean_box(0); -lean_inc(x_1038); -x_1040 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1040, 0, x_1038); -lean_ctor_set(x_1040, 1, x_1039); -x_1041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1041, 0, x_1040); -lean_ctor_set(x_1041, 1, x_1039); -x_1042 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; -x_1043 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1043, 0, x_1036); -lean_ctor_set(x_1043, 1, x_1042); -lean_ctor_set(x_1043, 2, x_1038); -lean_ctor_set(x_1043, 3, x_1041); -x_1044 = l_Lean_nullKind___closed__1; -x_1045 = lean_name_mk_string(x_39, x_1044); -x_1046 = l_Array_empty___closed__1; -x_1047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1047, 0, x_1045); -lean_ctor_set(x_1047, 1, x_1046); -x_1048 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1049 = lean_array_push(x_1048, x_1043); -x_1050 = lean_array_push(x_1049, x_1047); -x_1051 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1051, 0, x_1035); -lean_ctor_set(x_1051, 1, x_1050); -x_1052 = lean_array_push(x_1048, x_1051); -x_1053 = lean_array_push(x_1052, x_1028); -lean_inc(x_1034); -x_1054 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1054, 0, x_1034); -lean_ctor_set(x_1054, 1, x_1053); -x_1055 = lean_array_push(x_1048, x_1054); -x_1056 = lean_array_push(x_1055, x_1030); -x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_1034); -lean_ctor_set(x_1057, 1, x_1056); -x_1058 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1058, 0, x_1057); -x_1059 = l_Lean_Unhygienic_run___rarg(x_1058); -x_2 = x_1059; -goto _start; -} -} -else -{ -lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; uint8_t x_1067; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1061 = l_Lean_stxInh; -x_1062 = lean_unsigned_to_nat(1u); -x_1063 = lean_array_get(x_1061, x_3, x_1062); -lean_dec(x_3); -x_1064 = l_Lean_Syntax_getArgs(x_1063); -lean_dec(x_1063); -x_1065 = lean_array_get_size(x_1064); -x_1066 = lean_unsigned_to_nat(0u); -x_1067 = lean_nat_dec_eq(x_1065, x_1066); -lean_dec(x_1065); -if (x_1067 == 0) -{ -lean_object* x_1068; -x_1068 = lean_array_get(x_1061, x_1064, x_1066); -lean_dec(x_1064); -x_2 = x_1068; -goto _start; -} -else -{ -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_dec(x_1064); -x_1070 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1071 = lean_name_mk_string(x_39, x_1070); -x_1072 = l_Lean_Elab_Term_elabParen___closed__1; -x_1073 = lean_name_mk_string(x_1071, x_1072); -x_1074 = lean_box(0); -x_1075 = l_Lean_mkConst(x_1073, x_1074); -x_1076 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1076, 0, x_1075); -return x_1076; -} -} -} -else -{ -lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1077 = l_Lean_stxInh; -x_1078 = lean_unsigned_to_nat(2u); -x_1079 = lean_array_get(x_1077, x_3, x_1078); -x_1080 = lean_unsigned_to_nat(4u); -x_1081 = lean_array_get(x_1077, x_3, x_1080); -x_1082 = lean_unsigned_to_nat(6u); -x_1083 = lean_array_get(x_1077, x_3, x_1082); -lean_dec(x_3); -x_1084 = lean_name_mk_string(x_39, x_942); -x_1085 = lean_name_mk_string(x_1084, x_946); -x_1086 = lean_name_mk_string(x_1085, x_956); -lean_inc(x_1086); -x_1087 = lean_name_mk_string(x_1086, x_972); -x_1088 = lean_name_mk_string(x_1086, x_966); -x_1089 = lean_box(0); -x_1090 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_1091 = lean_name_mk_string(x_39, x_1090); -x_1092 = lean_box(0); -lean_inc(x_1091); -x_1093 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1093, 0, x_1091); -lean_ctor_set(x_1093, 1, x_1092); -x_1094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1094, 0, x_1093); -lean_ctor_set(x_1094, 1, x_1092); -x_1095 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; -x_1096 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1096, 0, x_1089); -lean_ctor_set(x_1096, 1, x_1095); -lean_ctor_set(x_1096, 2, x_1091); -lean_ctor_set(x_1096, 3, x_1094); -x_1097 = l_Lean_nullKind___closed__1; -x_1098 = lean_name_mk_string(x_39, x_1097); -x_1099 = l_Array_empty___closed__1; -x_1100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1100, 0, x_1098); -lean_ctor_set(x_1100, 1, x_1099); -x_1101 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1102 = lean_array_push(x_1101, x_1096); -x_1103 = lean_array_push(x_1102, x_1100); -x_1104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1104, 0, x_1088); -lean_ctor_set(x_1104, 1, x_1103); -x_1105 = lean_array_push(x_1101, x_1104); -x_1106 = lean_array_push(x_1105, x_1079); -lean_inc(x_1087); -x_1107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1107, 0, x_1087); -lean_ctor_set(x_1107, 1, x_1106); -x_1108 = lean_array_push(x_1101, x_1107); -x_1109 = lean_array_push(x_1108, x_1081); -lean_inc(x_1087); -x_1110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1110, 0, x_1087); -lean_ctor_set(x_1110, 1, x_1109); -x_1111 = lean_array_push(x_1101, x_1110); -x_1112 = lean_array_push(x_1111, x_1083); -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_1087); -lean_ctor_set(x_1113, 1, x_1112); -x_1114 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1114, 0, x_1113); -x_1115 = l_Lean_Unhygienic_run___rarg(x_1114); -x_2 = x_1115; -goto _start; -} -} -else -{ -lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1117 = l_Lean_stxInh; -x_1118 = lean_unsigned_to_nat(0u); -x_1119 = lean_array_get(x_1117, x_3, x_1118); -x_1120 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1119); -if (lean_obj_tag(x_1120) == 0) -{ -lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; -lean_dec(x_3); -x_1121 = lean_ctor_get(x_1120, 0); -lean_inc(x_1121); -if (lean_is_exclusive(x_1120)) { - lean_ctor_release(x_1120, 0); - x_1122 = x_1120; -} else { - lean_dec_ref(x_1120); - x_1122 = lean_box(0); -} -if (lean_is_scalar(x_1122)) { - x_1123 = lean_alloc_ctor(0, 1, 0); -} else { - x_1123 = x_1122; -} -lean_ctor_set(x_1123, 0, x_1121); -return x_1123; -} -else -{ -lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; -x_1124 = lean_ctor_get(x_1120, 0); -lean_inc(x_1124); -lean_dec(x_1120); -x_1125 = lean_unsigned_to_nat(1u); -x_1126 = lean_array_get(x_1117, x_3, x_1125); -lean_dec(x_3); -x_1127 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1126); -if (lean_obj_tag(x_1127) == 0) -{ -lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; -lean_dec(x_1124); -x_1128 = lean_ctor_get(x_1127, 0); -lean_inc(x_1128); -if (lean_is_exclusive(x_1127)) { - lean_ctor_release(x_1127, 0); - x_1129 = x_1127; -} else { - lean_dec_ref(x_1127); - x_1129 = lean_box(0); -} -if (lean_is_scalar(x_1129)) { - x_1130 = lean_alloc_ctor(0, 1, 0); -} else { - x_1130 = x_1129; -} -lean_ctor_set(x_1130, 0, x_1128); -return x_1130; -} -else -{ -lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; -x_1131 = lean_ctor_get(x_1127, 0); -lean_inc(x_1131); -if (lean_is_exclusive(x_1127)) { - lean_ctor_release(x_1127, 0); - x_1132 = x_1127; -} else { - lean_dec_ref(x_1127); - x_1132 = lean_box(0); -} -x_1133 = l_Lean_mkApp(x_1124, x_1131); -if (lean_is_scalar(x_1132)) { - x_1134 = lean_alloc_ctor(1, 1, 0); -} else { - x_1134 = x_1132; -} -lean_ctor_set(x_1134, 0, x_1133); -return x_1134; -} -} -} -} -else -{ -lean_object* x_1135; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1161 = l_Lean_stxInh; -x_1162 = lean_unsigned_to_nat(1u); -x_1163 = lean_array_get(x_1161, x_3, x_1162); -x_1164 = l_Lean_Syntax_getKind(x_1163); -if (lean_obj_tag(x_1164) == 1) -{ -lean_object* x_1165; -x_1165 = lean_ctor_get(x_1164, 0); -lean_inc(x_1165); -if (lean_obj_tag(x_1165) == 1) -{ -lean_object* x_1166; -x_1166 = lean_ctor_get(x_1165, 0); -lean_inc(x_1166); -if (lean_obj_tag(x_1166) == 1) -{ -lean_object* x_1167; -x_1167 = lean_ctor_get(x_1166, 0); -lean_inc(x_1167); -if (lean_obj_tag(x_1167) == 1) -{ -lean_object* x_1168; -x_1168 = lean_ctor_get(x_1167, 0); -lean_inc(x_1168); -if (lean_obj_tag(x_1168) == 0) -{ -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; uint8_t x_1173; -x_1169 = lean_ctor_get(x_1164, 1); -lean_inc(x_1169); -lean_dec(x_1164); -x_1170 = lean_ctor_get(x_1165, 1); -lean_inc(x_1170); -lean_dec(x_1165); -x_1171 = lean_ctor_get(x_1166, 1); -lean_inc(x_1171); -lean_dec(x_1166); -x_1172 = lean_ctor_get(x_1167, 1); -lean_inc(x_1172); -lean_dec(x_1167); -x_1173 = lean_string_dec_eq(x_1172, x_942); -lean_dec(x_1172); -if (x_1173 == 0) -{ -lean_object* x_1174; lean_object* x_1175; -lean_dec(x_1171); -lean_dec(x_1170); -lean_dec(x_1169); -lean_dec(x_1163); -x_1174 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1175 = l_unreachable_x21___rarg(x_1174); -x_1135 = x_1175; -goto block_1160; -} -else -{ -uint8_t x_1176; -x_1176 = lean_string_dec_eq(x_1171, x_946); -lean_dec(x_1171); -if (x_1176 == 0) -{ -lean_object* x_1177; lean_object* x_1178; -lean_dec(x_1170); -lean_dec(x_1169); -lean_dec(x_1163); -x_1177 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1178 = l_unreachable_x21___rarg(x_1177); -x_1135 = x_1178; -goto block_1160; -} -else -{ -uint8_t x_1179; -x_1179 = lean_string_dec_eq(x_1170, x_956); -lean_dec(x_1170); -if (x_1179 == 0) -{ -lean_object* x_1180; lean_object* x_1181; -lean_dec(x_1169); -lean_dec(x_1163); -x_1180 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1181 = l_unreachable_x21___rarg(x_1180); -x_1135 = x_1181; -goto block_1160; -} -else -{ -lean_object* x_1182; uint8_t x_1183; -x_1182 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1183 = lean_string_dec_eq(x_1169, x_1182); -if (x_1183 == 0) -{ -lean_object* x_1184; uint8_t x_1185; -x_1184 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; -x_1185 = lean_string_dec_eq(x_1169, x_1184); -lean_dec(x_1169); -if (x_1185 == 0) -{ -lean_object* x_1186; lean_object* x_1187; -lean_dec(x_1163); -x_1186 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1187 = l_unreachable_x21___rarg(x_1186); -x_1135 = x_1187; -goto block_1160; -} -else -{ -lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; -x_1188 = lean_unsigned_to_nat(0u); -x_1189 = l_Lean_Syntax_getArg(x_1163, x_1188); -x_1190 = l_Lean_Syntax_getIdAt(x_1189, x_1188); -lean_dec(x_1189); -x_1191 = lean_unsigned_to_nat(3u); -x_1192 = l_Lean_Syntax_getArg(x_1163, x_1191); -lean_dec(x_1163); -x_1193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1193, 0, x_1190); -lean_ctor_set(x_1193, 1, x_1192); -x_1135 = x_1193; -goto block_1160; -} -} -else -{ -lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; -lean_dec(x_1169); -x_1194 = lean_unsigned_to_nat(0u); -x_1195 = l_Lean_Syntax_getIdAt(x_1163, x_1194); -x_1196 = lean_unsigned_to_nat(4u); -x_1197 = l_Lean_Syntax_getArg(x_1163, x_1196); -lean_dec(x_1163); -x_1198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1198, 0, x_1195); -lean_ctor_set(x_1198, 1, x_1197); -x_1135 = x_1198; -goto block_1160; -} -} -} -} -} -else -{ -lean_object* x_1199; lean_object* x_1200; -lean_dec(x_1168); -lean_dec(x_1167); -lean_dec(x_1166); -lean_dec(x_1165); -lean_dec(x_1164); -lean_dec(x_1163); -x_1199 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1200 = l_unreachable_x21___rarg(x_1199); -x_1135 = x_1200; -goto block_1160; -} -} -else -{ -lean_object* x_1201; lean_object* x_1202; -lean_dec(x_1167); -lean_dec(x_1166); -lean_dec(x_1165); -lean_dec(x_1164); -lean_dec(x_1163); -x_1201 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1202 = l_unreachable_x21___rarg(x_1201); -x_1135 = x_1202; -goto block_1160; -} -} -else -{ -lean_object* x_1203; lean_object* x_1204; -lean_dec(x_1166); -lean_dec(x_1165); -lean_dec(x_1164); -lean_dec(x_1163); -x_1203 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1204 = l_unreachable_x21___rarg(x_1203); -x_1135 = x_1204; -goto block_1160; -} -} -else -{ -lean_object* x_1205; lean_object* x_1206; -lean_dec(x_1165); -lean_dec(x_1164); -lean_dec(x_1163); -x_1205 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1206 = l_unreachable_x21___rarg(x_1205); -x_1135 = x_1206; -goto block_1160; -} -} -else -{ -lean_object* x_1207; lean_object* x_1208; -lean_dec(x_1164); -lean_dec(x_1163); -x_1207 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1208 = l_unreachable_x21___rarg(x_1207); -x_1135 = x_1208; -goto block_1160; -} -block_1160: -{ -lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; -x_1136 = lean_ctor_get(x_1135, 0); -lean_inc(x_1136); -x_1137 = lean_ctor_get(x_1135, 1); -lean_inc(x_1137); -lean_dec(x_1135); -x_1138 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1137); -if (lean_obj_tag(x_1138) == 0) -{ -lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; -lean_dec(x_1136); -lean_dec(x_3); -x_1139 = lean_ctor_get(x_1138, 0); -lean_inc(x_1139); -if (lean_is_exclusive(x_1138)) { - lean_ctor_release(x_1138, 0); - x_1140 = x_1138; -} else { - lean_dec_ref(x_1138); - x_1140 = lean_box(0); -} -if (lean_is_scalar(x_1140)) { - x_1141 = lean_alloc_ctor(0, 1, 0); -} else { - x_1141 = x_1140; -} -lean_ctor_set(x_1141, 0, x_1139); -return x_1141; -} -else -{ -lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; -x_1142 = lean_ctor_get(x_1138, 0); -lean_inc(x_1142); -lean_dec(x_1138); -x_1143 = l_Lean_stxInh; -x_1144 = lean_unsigned_to_nat(3u); -x_1145 = lean_array_get(x_1143, x_3, x_1144); -lean_dec(x_3); -x_1146 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1145); -if (lean_obj_tag(x_1146) == 0) -{ -lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; -lean_dec(x_1142); -lean_dec(x_1136); -x_1147 = lean_ctor_get(x_1146, 0); -lean_inc(x_1147); -if (lean_is_exclusive(x_1146)) { - lean_ctor_release(x_1146, 0); - x_1148 = x_1146; -} else { - lean_dec_ref(x_1146); - x_1148 = lean_box(0); -} -if (lean_is_scalar(x_1148)) { - x_1149 = lean_alloc_ctor(0, 1, 0); -} else { - x_1149 = x_1148; -} -lean_ctor_set(x_1149, 0, x_1147); -return x_1149; -} -else -{ -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; uint8_t x_1157; lean_object* x_1158; lean_object* x_1159; -x_1150 = lean_ctor_get(x_1146, 0); -lean_inc(x_1150); -if (lean_is_exclusive(x_1146)) { - lean_ctor_release(x_1146, 0); - x_1151 = x_1146; -} else { - lean_dec_ref(x_1146); - x_1151 = lean_box(0); -} -lean_inc(x_1136); -x_1152 = l_Lean_mkFVar(x_1136); -x_1153 = l_Lean_FileMap_ofString___closed__1; -x_1154 = lean_array_push(x_1153, x_1152); -x_1155 = lean_expr_abstract(x_1150, x_1154); -lean_dec(x_1154); -lean_dec(x_1150); -x_1156 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_1157 = 0; -x_1158 = l_Lean_mkLet(x_1136, x_1156, x_1142, x_1155, x_1157); -if (lean_is_scalar(x_1151)) { - x_1159 = lean_alloc_ctor(1, 1, 0); -} else { - x_1159 = x_1151; -} -lean_ctor_set(x_1159, 0, x_1158); -return x_1159; -} -} -} -} -} -else -{ -lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -x_1209 = l_Lean_stxInh; -x_1210 = lean_unsigned_to_nat(1u); -x_1211 = lean_array_get(x_1209, x_3, x_1210); -x_1212 = l_Lean_Syntax_getArgs(x_1211); -lean_dec(x_1211); -x_1213 = lean_unsigned_to_nat(3u); -x_1214 = lean_array_get(x_1209, x_3, x_1213); -lean_dec(x_3); -x_1215 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1214); -if (lean_obj_tag(x_1215) == 0) -{ -lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; -lean_dec(x_1212); -lean_dec(x_2); -x_1216 = lean_ctor_get(x_1215, 0); -lean_inc(x_1216); -if (lean_is_exclusive(x_1215)) { - lean_ctor_release(x_1215, 0); - x_1217 = x_1215; -} else { - lean_dec_ref(x_1215); - x_1217 = lean_box(0); -} -if (lean_is_scalar(x_1217)) { - x_1218 = lean_alloc_ctor(0, 1, 0); -} else { - x_1218 = x_1217; -} -lean_ctor_set(x_1218, 0, x_1216); -return x_1218; -} -else -{ -lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -x_1219 = lean_ctor_get(x_1215, 0); -lean_inc(x_1219); -lean_dec(x_1215); -x_1220 = lean_array_get_size(x_1212); -x_1221 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_1212, x_1220, lean_box(0), x_1219); -lean_dec(x_1212); -lean_dec(x_2); -return x_1221; -} -} -} -else -{ -lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; -lean_dec(x_945); -lean_dec(x_941); -lean_free_object(x_12); -lean_dec(x_40); -lean_dec(x_2); -x_1222 = l_Lean_stxInh; -x_1223 = lean_unsigned_to_nat(0u); -x_1224 = lean_array_get(x_1222, x_3, x_1223); -lean_dec(x_3); -if (lean_obj_tag(x_1224) == 3) -{ -lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; -x_1225 = lean_ctor_get(x_1224, 2); -lean_inc(x_1225); -x_1226 = lean_ctor_get(x_1224, 3); -lean_inc(x_1226); -lean_dec(x_1224); -x_1227 = lean_box(0); -lean_inc(x_1225); -x_1228 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_1227, x_1225); -x_1229 = l_List_append___rarg(x_1228, x_1226); -if (lean_obj_tag(x_1229) == 0) -{ -lean_object* x_1230; lean_object* x_1231; -x_1230 = l_Lean_mkFVar(x_1225); -x_1231 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1231, 0, x_1230); -return x_1231; -} -else -{ -lean_object* x_1232; lean_object* x_1233; -lean_dec(x_1225); -x_1232 = lean_ctor_get(x_1229, 0); -lean_inc(x_1232); -lean_dec(x_1229); -x_1233 = lean_ctor_get(x_1232, 1); -lean_inc(x_1233); -if (lean_obj_tag(x_1233) == 0) -{ -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; -x_1234 = lean_ctor_get(x_1232, 0); -lean_inc(x_1234); -lean_dec(x_1232); -x_1235 = l_Lean_mkConst(x_1234, x_1227); -x_1236 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1236, 0, x_1235); -return x_1236; -} -else -{ -lean_object* x_1237; -lean_dec(x_1233); -lean_dec(x_1232); -x_1237 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -return x_1237; -} -} -} -else -{ -lean_object* x_1238; lean_object* x_1239; -lean_dec(x_1224); -x_1238 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; -x_1239 = l_unreachable_x21___rarg(x_1238); -return x_1239; -} -} -} -} -} -} -} -else -{ -size_t x_1240; lean_object* x_1241; size_t x_1242; lean_object* x_1243; size_t x_1244; lean_object* x_1245; lean_object* x_1246; size_t x_1247; lean_object* x_1248; lean_object* x_1249; uint8_t x_1250; -x_1240 = lean_ctor_get_usize(x_4, 2); -x_1241 = lean_ctor_get(x_12, 1); -x_1242 = lean_ctor_get_usize(x_12, 2); -lean_inc(x_1241); +size_t x_924; lean_object* x_925; size_t x_926; lean_object* x_927; size_t x_928; lean_object* x_929; lean_object* x_930; size_t x_931; lean_object* x_932; lean_object* x_933; uint8_t x_934; +x_924 = lean_ctor_get_usize(x_4, 2); +x_925 = lean_ctor_get(x_12, 1); +x_926 = lean_ctor_get_usize(x_12, 2); +lean_inc(x_925); lean_dec(x_12); -x_1243 = lean_ctor_get(x_37, 1); -lean_inc(x_1243); -x_1244 = lean_ctor_get_usize(x_37, 2); +x_927 = lean_ctor_get(x_37, 1); +lean_inc(x_927); +x_928 = lean_ctor_get_usize(x_37, 2); if (lean_is_exclusive(x_37)) { lean_ctor_release(x_37, 0); lean_ctor_release(x_37, 1); - x_1245 = x_37; + x_929 = x_37; } else { lean_dec_ref(x_37); - x_1245 = lean_box(0); + x_929 = lean_box(0); } -x_1246 = lean_ctor_get(x_38, 1); -lean_inc(x_1246); -x_1247 = lean_ctor_get_usize(x_38, 2); +x_930 = lean_ctor_get(x_38, 1); +lean_inc(x_930); +x_931 = lean_ctor_get_usize(x_38, 2); if (lean_is_exclusive(x_38)) { lean_ctor_release(x_38, 0); lean_ctor_release(x_38, 1); - x_1248 = x_38; + x_932 = x_38; } else { lean_dec_ref(x_38); - x_1248 = lean_box(0); + x_932 = lean_box(0); } -x_1249 = l_Lean_nameToExprAux___main___closed__1; -x_1250 = lean_string_dec_eq(x_1246, x_1249); -lean_dec(x_1246); -if (x_1250 == 0) +x_933 = l_Lean_nameToExprAux___main___closed__1; +x_934 = lean_string_dec_eq(x_930, x_933); +lean_dec(x_930); +if (x_934 == 0) { -lean_object* x_1251; -lean_dec(x_1248); -lean_dec(x_1245); -lean_dec(x_1243); -lean_dec(x_1241); +lean_object* x_935; +lean_dec(x_932); +lean_dec(x_929); +lean_dec(x_927); +lean_dec(x_925); lean_dec(x_40); lean_dec(x_3); lean_dec(x_2); -x_1251 = lean_box(0); -x_5 = x_1251; +x_935 = lean_box(0); +x_5 = x_935; goto block_11; } else { -lean_object* x_1252; lean_object* x_1253; uint8_t x_1254; +lean_object* x_936; lean_object* x_937; uint8_t x_938; if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); - x_1252 = x_4; + x_936 = x_4; } else { lean_dec_ref(x_4); - x_1252 = lean_box(0); + x_936 = lean_box(0); } -x_1253 = l_Lean_Syntax_formatStx___main___closed__5; -x_1254 = lean_string_dec_eq(x_1243, x_1253); -if (x_1254 == 0) +x_937 = l_Lean_Syntax_formatStx___main___closed__5; +x_938 = lean_string_dec_eq(x_927, x_937); +if (x_938 == 0) { -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_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_1248)) { - x_1255 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_932)) { + x_939 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1255 = x_1248; + x_939 = x_932; } -lean_ctor_set(x_1255, 0, x_39); -lean_ctor_set(x_1255, 1, x_1249); -lean_ctor_set_usize(x_1255, 2, x_1247); -if (lean_is_scalar(x_1245)) { - x_1256 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_939, 0, x_39); +lean_ctor_set(x_939, 1, x_933); +lean_ctor_set_usize(x_939, 2, x_931); +if (lean_is_scalar(x_929)) { + x_940 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1256 = x_1245; + x_940 = x_929; } -lean_ctor_set(x_1256, 0, x_1255); -lean_ctor_set(x_1256, 1, x_1243); -lean_ctor_set_usize(x_1256, 2, x_1244); -x_1257 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1257, 0, x_1256); -lean_ctor_set(x_1257, 1, x_1241); -lean_ctor_set_usize(x_1257, 2, x_1242); -if (lean_is_scalar(x_1252)) { - x_1258 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_940, 0, x_939); +lean_ctor_set(x_940, 1, x_927); +lean_ctor_set_usize(x_940, 2, x_928); +x_941 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_941, 0, x_940); +lean_ctor_set(x_941, 1, x_925); +lean_ctor_set_usize(x_941, 2, x_926); +if (lean_is_scalar(x_936)) { + x_942 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1258 = x_1252; + x_942 = x_936; } -lean_ctor_set(x_1258, 0, x_1257); -lean_ctor_set(x_1258, 1, x_40); -lean_ctor_set_usize(x_1258, 2, x_1240); -x_1259 = l_System_FilePath_dirName___closed__1; -x_1260 = l_Lean_Name_toStringWithSep___main(x_1259, x_1258); -x_1261 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_1262 = lean_string_append(x_1261, x_1260); -lean_dec(x_1260); -x_1263 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1263, 0, x_1262); -return x_1263; +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_40); +lean_ctor_set_usize(x_942, 2, x_924); +x_943 = l_System_FilePath_dirName___closed__1; +x_944 = l_Lean_Name_toStringWithSep___main(x_943, x_942); +x_945 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_946 = lean_string_append(x_945, x_944); +lean_dec(x_944); +x_947 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_947, 0, x_946); +return x_947; } else { -lean_object* x_1264; uint8_t x_1265; -lean_dec(x_1243); -x_1264 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_1265 = lean_string_dec_eq(x_1241, x_1264); -if (x_1265 == 0) +lean_object* x_948; uint8_t x_949; +lean_dec(x_927); +x_948 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_949 = lean_string_dec_eq(x_925, x_948); +if (x_949 == 0) { -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_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_1248)) { - x_1266 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_932)) { + x_950 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1266 = x_1248; + x_950 = x_932; } -lean_ctor_set(x_1266, 0, x_39); -lean_ctor_set(x_1266, 1, x_1249); -lean_ctor_set_usize(x_1266, 2, x_1247); -if (lean_is_scalar(x_1245)) { - x_1267 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_950, 0, x_39); +lean_ctor_set(x_950, 1, x_933); +lean_ctor_set_usize(x_950, 2, x_931); +if (lean_is_scalar(x_929)) { + x_951 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1267 = x_1245; + x_951 = x_929; } -lean_ctor_set(x_1267, 0, x_1266); -lean_ctor_set(x_1267, 1, x_1253); -lean_ctor_set_usize(x_1267, 2, x_1244); -x_1268 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1268, 0, x_1267); -lean_ctor_set(x_1268, 1, x_1241); -lean_ctor_set_usize(x_1268, 2, x_1242); -if (lean_is_scalar(x_1252)) { - x_1269 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_951, 0, x_950); +lean_ctor_set(x_951, 1, x_937); +lean_ctor_set_usize(x_951, 2, x_928); +x_952 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_952, 0, x_951); +lean_ctor_set(x_952, 1, x_925); +lean_ctor_set_usize(x_952, 2, x_926); +if (lean_is_scalar(x_936)) { + x_953 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1269 = x_1252; + x_953 = x_936; } -lean_ctor_set(x_1269, 0, x_1268); -lean_ctor_set(x_1269, 1, x_40); -lean_ctor_set_usize(x_1269, 2, x_1240); -x_1270 = l_System_FilePath_dirName___closed__1; -x_1271 = l_Lean_Name_toStringWithSep___main(x_1270, x_1269); -x_1272 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_1273 = lean_string_append(x_1272, x_1271); -lean_dec(x_1271); -x_1274 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1274, 0, x_1273); -return x_1274; +lean_ctor_set(x_953, 0, x_952); +lean_ctor_set(x_953, 1, x_40); +lean_ctor_set_usize(x_953, 2, x_924); +x_954 = l_System_FilePath_dirName___closed__1; +x_955 = l_Lean_Name_toStringWithSep___main(x_954, x_953); +x_956 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_957 = lean_string_append(x_956, x_955); +lean_dec(x_955); +x_958 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_958, 0, x_957); +return x_958; } else { -lean_object* x_1275; uint8_t x_1276; -lean_dec(x_1241); -x_1275 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_1276 = lean_string_dec_eq(x_40, x_1275); -if (x_1276 == 0) +lean_object* x_959; uint8_t x_960; +lean_dec(x_925); +x_959 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_960 = lean_string_dec_eq(x_40, x_959); +if (x_960 == 0) { -lean_object* x_1277; uint8_t x_1278; -x_1277 = l_Lean_Parser_Term_fun___elambda__1___closed__1; -x_1278 = lean_string_dec_eq(x_40, x_1277); -if (x_1278 == 0) +lean_object* x_961; uint8_t x_962; +x_961 = l_Lean_Parser_Term_fun___elambda__1___closed__1; +x_962 = lean_string_dec_eq(x_40, x_961); +if (x_962 == 0) { -lean_object* x_1279; uint8_t x_1280; +lean_object* x_963; uint8_t x_964; lean_dec(x_2); -x_1279 = l_Lean_Parser_Term_let___elambda__1___closed__1; -x_1280 = lean_string_dec_eq(x_40, x_1279); -if (x_1280 == 0) +x_963 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_964 = lean_string_dec_eq(x_40, x_963); +if (x_964 == 0) { -lean_object* x_1281; uint8_t x_1282; -x_1281 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_1282 = lean_string_dec_eq(x_40, x_1281); -if (x_1282 == 0) +lean_object* x_965; uint8_t x_966; +x_965 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_966 = lean_string_dec_eq(x_40, x_965); +if (x_966 == 0) { -lean_object* x_1283; uint8_t x_1284; -x_1283 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; -x_1284 = lean_string_dec_eq(x_40, x_1283); -if (x_1284 == 0) +lean_object* x_967; uint8_t x_968; +x_967 = l_Lean_Parser_Term_if___elambda__1___rarg___closed__1; +x_968 = lean_string_dec_eq(x_40, x_967); +if (x_968 == 0) { -lean_object* x_1285; uint8_t x_1286; -x_1285 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; -x_1286 = lean_string_dec_eq(x_40, x_1285); -if (x_1286 == 0) +lean_object* x_969; uint8_t x_970; +x_969 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; +x_970 = lean_string_dec_eq(x_40, x_969); +if (x_970 == 0) { -lean_object* x_1287; uint8_t x_1288; -x_1287 = l_Lean_Parser_Term_band___elambda__1___closed__1; -x_1288 = lean_string_dec_eq(x_40, x_1287); -if (x_1288 == 0) +lean_object* x_971; uint8_t x_972; +x_971 = l_Lean_Parser_Term_band___elambda__1___closed__1; +x_972 = lean_string_dec_eq(x_40, x_971); +if (x_972 == 0) { -lean_object* x_1289; uint8_t x_1290; -x_1289 = l_Lean_Parser_Term_beq___elambda__1___closed__1; -x_1290 = lean_string_dec_eq(x_40, x_1289); -if (x_1290 == 0) +lean_object* x_973; uint8_t x_974; +x_973 = l_Lean_Parser_Term_beq___elambda__1___closed__1; +x_974 = lean_string_dec_eq(x_40, x_973); +if (x_974 == 0) { -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; lean_object* x_1299; +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_dec(x_3); -if (lean_is_scalar(x_1248)) { - x_1291 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_932)) { + x_975 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1291 = x_1248; + x_975 = x_932; } -lean_ctor_set(x_1291, 0, x_39); -lean_ctor_set(x_1291, 1, x_1249); -lean_ctor_set_usize(x_1291, 2, x_1247); -if (lean_is_scalar(x_1245)) { - x_1292 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_975, 0, x_39); +lean_ctor_set(x_975, 1, x_933); +lean_ctor_set_usize(x_975, 2, x_931); +if (lean_is_scalar(x_929)) { + x_976 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1292 = x_1245; + x_976 = x_929; } -lean_ctor_set(x_1292, 0, x_1291); -lean_ctor_set(x_1292, 1, x_1253); -lean_ctor_set_usize(x_1292, 2, x_1244); -x_1293 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1293, 0, x_1292); -lean_ctor_set(x_1293, 1, x_1264); -lean_ctor_set_usize(x_1293, 2, x_1242); -if (lean_is_scalar(x_1252)) { - x_1294 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_937); +lean_ctor_set_usize(x_976, 2, x_928); +x_977 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_977, 0, x_976); +lean_ctor_set(x_977, 1, x_948); +lean_ctor_set_usize(x_977, 2, x_926); +if (lean_is_scalar(x_936)) { + x_978 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1294 = x_1252; + x_978 = x_936; } -lean_ctor_set(x_1294, 0, x_1293); -lean_ctor_set(x_1294, 1, x_40); -lean_ctor_set_usize(x_1294, 2, x_1240); -x_1295 = l_System_FilePath_dirName___closed__1; -x_1296 = l_Lean_Name_toStringWithSep___main(x_1295, x_1294); -x_1297 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; -x_1298 = lean_string_append(x_1297, x_1296); -lean_dec(x_1296); -x_1299 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1299, 0, x_1298); -return x_1299; +lean_ctor_set(x_978, 0, x_977); +lean_ctor_set(x_978, 1, x_40); +lean_ctor_set_usize(x_978, 2, x_924); +x_979 = l_System_FilePath_dirName___closed__1; +x_980 = l_Lean_Name_toStringWithSep___main(x_979, x_978); +x_981 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1; +x_982 = lean_string_append(x_981, x_980); +lean_dec(x_980); +x_983 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_983, 0, x_982); +return x_983; } else { -lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_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_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +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_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1300 = l_Lean_stxInh; -x_1301 = lean_unsigned_to_nat(0u); -x_1302 = lean_array_get(x_1300, x_3, x_1301); -x_1303 = lean_unsigned_to_nat(2u); -x_1304 = lean_array_get(x_1300, x_3, x_1303); +x_984 = l_Lean_stxInh; +x_985 = lean_unsigned_to_nat(0u); +x_986 = lean_array_get(x_984, x_3, x_985); +x_987 = lean_unsigned_to_nat(2u); +x_988 = lean_array_get(x_984, x_3, x_987); lean_dec(x_3); -x_1305 = lean_name_mk_string(x_39, x_1249); -x_1306 = lean_name_mk_string(x_1305, x_1253); -x_1307 = lean_name_mk_string(x_1306, x_1264); -lean_inc(x_1307); -x_1308 = lean_name_mk_string(x_1307, x_1281); -x_1309 = lean_name_mk_string(x_1307, x_1275); -x_1310 = lean_box(0); -x_1311 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; -x_1312 = lean_name_mk_string(x_39, x_1311); -x_1313 = lean_name_mk_string(x_1312, x_1289); -x_1314 = lean_box(0); -lean_inc(x_1313); -x_1315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1315, 0, x_1313); -lean_ctor_set(x_1315, 1, x_1314); -x_1316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1316, 0, x_1315); -lean_ctor_set(x_1316, 1, x_1314); -x_1317 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9; -x_1318 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1318, 0, x_1310); -lean_ctor_set(x_1318, 1, x_1317); -lean_ctor_set(x_1318, 2, x_1313); -lean_ctor_set(x_1318, 3, x_1316); -x_1319 = l_Lean_nullKind___closed__1; -x_1320 = lean_name_mk_string(x_39, x_1319); -x_1321 = l_Array_empty___closed__1; -x_1322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1322, 0, x_1320); -lean_ctor_set(x_1322, 1, x_1321); -x_1323 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1324 = lean_array_push(x_1323, x_1318); -x_1325 = lean_array_push(x_1324, x_1322); -x_1326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1326, 0, x_1309); -lean_ctor_set(x_1326, 1, x_1325); -x_1327 = lean_array_push(x_1323, x_1326); -x_1328 = lean_array_push(x_1327, x_1302); -lean_inc(x_1308); -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1308); -lean_ctor_set(x_1329, 1, x_1328); -x_1330 = lean_array_push(x_1323, x_1329); -x_1331 = lean_array_push(x_1330, x_1304); -x_1332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1332, 0, x_1308); -lean_ctor_set(x_1332, 1, x_1331); -x_1333 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1333, 0, x_1332); -x_1334 = l_Lean_Unhygienic_run___rarg(x_1333); -x_2 = x_1334; +x_989 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___boxed), 6, 3); +lean_closure_set(x_989, 0, x_39); +lean_closure_set(x_989, 1, x_986); +lean_closure_set(x_989, 2, x_988); +x_990 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_991 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_991, 0, x_990); +lean_closure_set(x_991, 1, x_989); +x_992 = l_Lean_Unhygienic_run___rarg(x_991); +x_2 = x_992; goto _start; } } else { -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; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1336 = l_Lean_stxInh; -x_1337 = lean_unsigned_to_nat(0u); -x_1338 = lean_array_get(x_1336, x_3, x_1337); -x_1339 = lean_unsigned_to_nat(2u); -x_1340 = lean_array_get(x_1336, x_3, x_1339); +x_994 = l_Lean_stxInh; +x_995 = lean_unsigned_to_nat(0u); +x_996 = lean_array_get(x_994, x_3, x_995); +x_997 = lean_unsigned_to_nat(2u); +x_998 = lean_array_get(x_994, x_3, x_997); lean_dec(x_3); -x_1341 = lean_name_mk_string(x_39, x_1249); -x_1342 = lean_name_mk_string(x_1341, x_1253); -x_1343 = lean_name_mk_string(x_1342, x_1264); -lean_inc(x_1343); -x_1344 = lean_name_mk_string(x_1343, x_1281); -x_1345 = lean_name_mk_string(x_1343, x_1275); -x_1346 = lean_box(0); -x_1347 = l_Lean_Parser_Term_and___elambda__1___closed__1; -x_1348 = lean_name_mk_string(x_39, x_1347); -x_1349 = lean_box(0); -lean_inc(x_1348); -x_1350 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1350, 0, x_1348); -lean_ctor_set(x_1350, 1, x_1349); -x_1351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1351, 0, x_1350); -lean_ctor_set(x_1351, 1, x_1349); -x_1352 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12; -x_1353 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1353, 0, x_1346); -lean_ctor_set(x_1353, 1, x_1352); -lean_ctor_set(x_1353, 2, x_1348); -lean_ctor_set(x_1353, 3, x_1351); -x_1354 = l_Lean_nullKind___closed__1; -x_1355 = lean_name_mk_string(x_39, x_1354); -x_1356 = l_Array_empty___closed__1; -x_1357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1357, 0, x_1355); -lean_ctor_set(x_1357, 1, x_1356); -x_1358 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1359 = lean_array_push(x_1358, x_1353); -x_1360 = lean_array_push(x_1359, x_1357); -x_1361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1361, 0, x_1345); -lean_ctor_set(x_1361, 1, x_1360); -x_1362 = lean_array_push(x_1358, x_1361); -x_1363 = lean_array_push(x_1362, x_1338); -lean_inc(x_1344); -x_1364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1364, 0, x_1344); -lean_ctor_set(x_1364, 1, x_1363); -x_1365 = lean_array_push(x_1358, x_1364); -x_1366 = lean_array_push(x_1365, x_1340); -x_1367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1367, 0, x_1344); -lean_ctor_set(x_1367, 1, x_1366); -x_1368 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1368, 0, x_1367); -x_1369 = l_Lean_Unhygienic_run___rarg(x_1368); -x_2 = x_1369; +x_999 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___boxed), 6, 3); +lean_closure_set(x_999, 0, x_39); +lean_closure_set(x_999, 1, x_996); +lean_closure_set(x_999, 2, x_998); +x_1000 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_1001 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_1001, 0, x_1000); +lean_closure_set(x_1001, 1, x_999); +x_1002 = l_Lean_Unhygienic_run___rarg(x_1001); +x_2 = x_1002; goto _start; } } else { -lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; uint8_t x_1377; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; uint8_t x_1010; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1371 = l_Lean_stxInh; -x_1372 = lean_unsigned_to_nat(1u); -x_1373 = lean_array_get(x_1371, x_3, x_1372); +x_1004 = l_Lean_stxInh; +x_1005 = lean_unsigned_to_nat(1u); +x_1006 = lean_array_get(x_1004, x_3, x_1005); lean_dec(x_3); -x_1374 = l_Lean_Syntax_getArgs(x_1373); -lean_dec(x_1373); -x_1375 = lean_array_get_size(x_1374); -x_1376 = lean_unsigned_to_nat(0u); -x_1377 = lean_nat_dec_eq(x_1375, x_1376); -lean_dec(x_1375); -if (x_1377 == 0) +x_1007 = l_Lean_Syntax_getArgs(x_1006); +lean_dec(x_1006); +x_1008 = lean_array_get_size(x_1007); +x_1009 = lean_unsigned_to_nat(0u); +x_1010 = lean_nat_dec_eq(x_1008, x_1009); +lean_dec(x_1008); +if (x_1010 == 0) { -lean_object* x_1378; -x_1378 = lean_array_get(x_1371, x_1374, x_1376); -lean_dec(x_1374); -x_2 = x_1378; +lean_object* x_1011; +x_1011 = lean_array_get(x_1004, x_1007, x_1009); +lean_dec(x_1007); +x_2 = x_1011; goto _start; } else { -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_1374); -x_1380 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; -x_1381 = lean_name_mk_string(x_39, x_1380); -x_1382 = l_Lean_Elab_Term_elabParen___closed__1; -x_1383 = lean_name_mk_string(x_1381, x_1382); -x_1384 = lean_box(0); -x_1385 = l_Lean_mkConst(x_1383, x_1384); -x_1386 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1386, 0, x_1385); -return x_1386; +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_dec(x_1007); +x_1013 = l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; +x_1014 = lean_name_mk_string(x_39, x_1013); +x_1015 = l_Lean_Elab_Term_elabParen___closed__4; +x_1016 = lean_name_mk_string(x_1014, x_1015); +x_1017 = lean_box(0); +x_1018 = l_Lean_mkConst(x_1016, x_1017); +x_1019 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1019, 0, x_1018); +return x_1019; } } } else { -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; lean_object* x_1424; lean_object* x_1425; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +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_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1387 = l_Lean_stxInh; -x_1388 = lean_unsigned_to_nat(2u); -x_1389 = lean_array_get(x_1387, x_3, x_1388); -x_1390 = lean_unsigned_to_nat(4u); -x_1391 = lean_array_get(x_1387, x_3, x_1390); -x_1392 = lean_unsigned_to_nat(6u); -x_1393 = lean_array_get(x_1387, x_3, x_1392); +x_1020 = l_Lean_stxInh; +x_1021 = lean_unsigned_to_nat(2u); +x_1022 = lean_array_get(x_1020, x_3, x_1021); +x_1023 = lean_unsigned_to_nat(4u); +x_1024 = lean_array_get(x_1020, x_3, x_1023); +x_1025 = lean_unsigned_to_nat(6u); +x_1026 = lean_array_get(x_1020, x_3, x_1025); lean_dec(x_3); -x_1394 = lean_name_mk_string(x_39, x_1249); -x_1395 = lean_name_mk_string(x_1394, x_1253); -x_1396 = lean_name_mk_string(x_1395, x_1264); -lean_inc(x_1396); -x_1397 = lean_name_mk_string(x_1396, x_1281); -x_1398 = lean_name_mk_string(x_1396, x_1275); -x_1399 = lean_box(0); -x_1400 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13; -x_1401 = lean_name_mk_string(x_39, x_1400); -x_1402 = lean_box(0); -lean_inc(x_1401); -x_1403 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1403, 0, x_1401); -lean_ctor_set(x_1403, 1, x_1402); -x_1404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1404, 0, x_1403); -lean_ctor_set(x_1404, 1, x_1402); -x_1405 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15; -x_1406 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1406, 0, x_1399); -lean_ctor_set(x_1406, 1, x_1405); -lean_ctor_set(x_1406, 2, x_1401); -lean_ctor_set(x_1406, 3, x_1404); -x_1407 = l_Lean_nullKind___closed__1; -x_1408 = lean_name_mk_string(x_39, x_1407); -x_1409 = l_Array_empty___closed__1; -x_1410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1410, 0, x_1408); -lean_ctor_set(x_1410, 1, x_1409); -x_1411 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_1412 = lean_array_push(x_1411, x_1406); -x_1413 = lean_array_push(x_1412, x_1410); -x_1414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1414, 0, x_1398); -lean_ctor_set(x_1414, 1, x_1413); -x_1415 = lean_array_push(x_1411, x_1414); -x_1416 = lean_array_push(x_1415, x_1389); -lean_inc(x_1397); -x_1417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1417, 0, x_1397); -lean_ctor_set(x_1417, 1, x_1416); -x_1418 = lean_array_push(x_1411, x_1417); -x_1419 = lean_array_push(x_1418, x_1391); -lean_inc(x_1397); -x_1420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1420, 0, x_1397); -lean_ctor_set(x_1420, 1, x_1419); -x_1421 = lean_array_push(x_1411, x_1420); -x_1422 = lean_array_push(x_1421, x_1393); -x_1423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1423, 0, x_1397); -lean_ctor_set(x_1423, 1, x_1422); -x_1424 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_Quotation_1__quoteName___main___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1424, 0, x_1423); -x_1425 = l_Lean_Unhygienic_run___rarg(x_1424); -x_2 = x_1425; +x_1027 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___boxed), 7, 4); +lean_closure_set(x_1027, 0, x_39); +lean_closure_set(x_1027, 1, x_1022); +lean_closure_set(x_1027, 2, x_1024); +lean_closure_set(x_1027, 3, x_1026); +x_1028 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1; +x_1029 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Unhygienic_MonadQuotation___spec__3___rarg), 4, 2); +lean_closure_set(x_1029, 0, x_1028); +lean_closure_set(x_1029, 1, x_1027); +x_1030 = l_Lean_Unhygienic_run___rarg(x_1029); +x_2 = x_1030; goto _start; } } else { -lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1427 = l_Lean_stxInh; -x_1428 = lean_unsigned_to_nat(0u); -x_1429 = lean_array_get(x_1427, x_3, x_1428); -x_1430 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1429); -if (lean_obj_tag(x_1430) == 0) +x_1032 = l_Lean_stxInh; +x_1033 = lean_unsigned_to_nat(0u); +x_1034 = lean_array_get(x_1032, x_3, x_1033); +x_1035 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1034); +if (lean_obj_tag(x_1035) == 0) { -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; +lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_dec(x_3); -x_1431 = lean_ctor_get(x_1430, 0); -lean_inc(x_1431); -if (lean_is_exclusive(x_1430)) { - lean_ctor_release(x_1430, 0); - x_1432 = x_1430; +x_1036 = lean_ctor_get(x_1035, 0); +lean_inc(x_1036); +if (lean_is_exclusive(x_1035)) { + lean_ctor_release(x_1035, 0); + x_1037 = x_1035; } else { - lean_dec_ref(x_1430); - x_1432 = lean_box(0); + lean_dec_ref(x_1035); + x_1037 = lean_box(0); } -if (lean_is_scalar(x_1432)) { - x_1433 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1037)) { + x_1038 = lean_alloc_ctor(0, 1, 0); } else { - x_1433 = x_1432; + x_1038 = x_1037; } -lean_ctor_set(x_1433, 0, x_1431); -return x_1433; +lean_ctor_set(x_1038, 0, x_1036); +return x_1038; } else { -lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; -x_1434 = lean_ctor_get(x_1430, 0); -lean_inc(x_1434); -lean_dec(x_1430); -x_1435 = lean_unsigned_to_nat(1u); -x_1436 = lean_array_get(x_1427, x_3, x_1435); +lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; +x_1039 = lean_ctor_get(x_1035, 0); +lean_inc(x_1039); +lean_dec(x_1035); +x_1040 = lean_unsigned_to_nat(1u); +x_1041 = lean_array_get(x_1032, x_3, x_1040); lean_dec(x_3); -x_1437 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1436); -if (lean_obj_tag(x_1437) == 0) +x_1042 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1041); +if (lean_obj_tag(x_1042) == 0) { -lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; -lean_dec(x_1434); -x_1438 = lean_ctor_get(x_1437, 0); -lean_inc(x_1438); -if (lean_is_exclusive(x_1437)) { - lean_ctor_release(x_1437, 0); - x_1439 = x_1437; +lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; +lean_dec(x_1039); +x_1043 = lean_ctor_get(x_1042, 0); +lean_inc(x_1043); +if (lean_is_exclusive(x_1042)) { + lean_ctor_release(x_1042, 0); + x_1044 = x_1042; } else { - lean_dec_ref(x_1437); - x_1439 = lean_box(0); + lean_dec_ref(x_1042); + x_1044 = lean_box(0); } -if (lean_is_scalar(x_1439)) { - x_1440 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1044)) { + x_1045 = lean_alloc_ctor(0, 1, 0); } else { - x_1440 = x_1439; + x_1045 = x_1044; } -lean_ctor_set(x_1440, 0, x_1438); -return x_1440; +lean_ctor_set(x_1045, 0, x_1043); +return x_1045; } else { -lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; -x_1441 = lean_ctor_get(x_1437, 0); -lean_inc(x_1441); -if (lean_is_exclusive(x_1437)) { - lean_ctor_release(x_1437, 0); - x_1442 = x_1437; +lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; +x_1046 = lean_ctor_get(x_1042, 0); +lean_inc(x_1046); +if (lean_is_exclusive(x_1042)) { + lean_ctor_release(x_1042, 0); + x_1047 = x_1042; } else { - lean_dec_ref(x_1437); - x_1442 = lean_box(0); + lean_dec_ref(x_1042); + x_1047 = lean_box(0); } -x_1443 = l_Lean_mkApp(x_1434, x_1441); -if (lean_is_scalar(x_1442)) { - x_1444 = lean_alloc_ctor(1, 1, 0); +x_1048 = l_Lean_mkApp(x_1039, x_1046); +if (lean_is_scalar(x_1047)) { + x_1049 = lean_alloc_ctor(1, 1, 0); } else { - x_1444 = x_1442; + x_1049 = x_1047; } -lean_ctor_set(x_1444, 0, x_1443); -return x_1444; +lean_ctor_set(x_1049, 0, x_1048); +return x_1049; } } } } else { -lean_object* x_1445; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_1050; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1471 = l_Lean_stxInh; -x_1472 = lean_unsigned_to_nat(1u); -x_1473 = lean_array_get(x_1471, x_3, x_1472); -x_1474 = l_Lean_Syntax_getKind(x_1473); -if (lean_obj_tag(x_1474) == 1) +x_1076 = l_Lean_stxInh; +x_1077 = lean_unsigned_to_nat(1u); +x_1078 = lean_array_get(x_1076, x_3, x_1077); +x_1079 = l_Lean_Syntax_getKind(x_1078); +if (lean_obj_tag(x_1079) == 1) { -lean_object* x_1475; -x_1475 = lean_ctor_get(x_1474, 0); -lean_inc(x_1475); -if (lean_obj_tag(x_1475) == 1) +lean_object* x_1080; +x_1080 = lean_ctor_get(x_1079, 0); +lean_inc(x_1080); +if (lean_obj_tag(x_1080) == 1) { -lean_object* x_1476; -x_1476 = lean_ctor_get(x_1475, 0); -lean_inc(x_1476); -if (lean_obj_tag(x_1476) == 1) +lean_object* x_1081; +x_1081 = lean_ctor_get(x_1080, 0); +lean_inc(x_1081); +if (lean_obj_tag(x_1081) == 1) { -lean_object* x_1477; -x_1477 = lean_ctor_get(x_1476, 0); -lean_inc(x_1477); -if (lean_obj_tag(x_1477) == 1) +lean_object* x_1082; +x_1082 = lean_ctor_get(x_1081, 0); +lean_inc(x_1082); +if (lean_obj_tag(x_1082) == 1) { -lean_object* x_1478; -x_1478 = lean_ctor_get(x_1477, 0); -lean_inc(x_1478); -if (lean_obj_tag(x_1478) == 0) +lean_object* x_1083; +x_1083 = lean_ctor_get(x_1082, 0); +lean_inc(x_1083); +if (lean_obj_tag(x_1083) == 0) { -lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; uint8_t x_1483; -x_1479 = lean_ctor_get(x_1474, 1); -lean_inc(x_1479); -lean_dec(x_1474); -x_1480 = lean_ctor_get(x_1475, 1); -lean_inc(x_1480); -lean_dec(x_1475); -x_1481 = lean_ctor_get(x_1476, 1); -lean_inc(x_1481); -lean_dec(x_1476); -x_1482 = lean_ctor_get(x_1477, 1); -lean_inc(x_1482); -lean_dec(x_1477); -x_1483 = lean_string_dec_eq(x_1482, x_1249); -lean_dec(x_1482); -if (x_1483 == 0) +lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; uint8_t x_1088; +x_1084 = lean_ctor_get(x_1079, 1); +lean_inc(x_1084); +lean_dec(x_1079); +x_1085 = lean_ctor_get(x_1080, 1); +lean_inc(x_1085); +lean_dec(x_1080); +x_1086 = lean_ctor_get(x_1081, 1); +lean_inc(x_1086); +lean_dec(x_1081); +x_1087 = lean_ctor_get(x_1082, 1); +lean_inc(x_1087); +lean_dec(x_1082); +x_1088 = lean_string_dec_eq(x_1087, x_933); +lean_dec(x_1087); +if (x_1088 == 0) { -lean_object* x_1484; lean_object* x_1485; -lean_dec(x_1481); -lean_dec(x_1480); -lean_dec(x_1479); -lean_dec(x_1473); -x_1484 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1485 = l_unreachable_x21___rarg(x_1484); -x_1445 = x_1485; -goto block_1470; +lean_object* x_1089; lean_object* x_1090; +lean_dec(x_1086); +lean_dec(x_1085); +lean_dec(x_1084); +lean_dec(x_1078); +x_1089 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1090 = l_unreachable_x21___rarg(x_1089); +x_1050 = x_1090; +goto block_1075; } else { -uint8_t x_1486; -x_1486 = lean_string_dec_eq(x_1481, x_1253); -lean_dec(x_1481); -if (x_1486 == 0) +uint8_t x_1091; +x_1091 = lean_string_dec_eq(x_1086, x_937); +lean_dec(x_1086); +if (x_1091 == 0) { -lean_object* x_1487; lean_object* x_1488; -lean_dec(x_1480); -lean_dec(x_1479); -lean_dec(x_1473); -x_1487 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1488 = l_unreachable_x21___rarg(x_1487); -x_1445 = x_1488; -goto block_1470; +lean_object* x_1092; lean_object* x_1093; +lean_dec(x_1085); +lean_dec(x_1084); +lean_dec(x_1078); +x_1092 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1093 = l_unreachable_x21___rarg(x_1092); +x_1050 = x_1093; +goto block_1075; } else { -uint8_t x_1489; -x_1489 = lean_string_dec_eq(x_1480, x_1264); -lean_dec(x_1480); -if (x_1489 == 0) +uint8_t x_1094; +x_1094 = lean_string_dec_eq(x_1085, x_948); +lean_dec(x_1085); +if (x_1094 == 0) { -lean_object* x_1490; lean_object* x_1491; -lean_dec(x_1479); -lean_dec(x_1473); -x_1490 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1491 = l_unreachable_x21___rarg(x_1490); -x_1445 = x_1491; -goto block_1470; +lean_object* x_1095; lean_object* x_1096; +lean_dec(x_1084); +lean_dec(x_1078); +x_1095 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1096 = l_unreachable_x21___rarg(x_1095); +x_1050 = x_1096; +goto block_1075; } else { -lean_object* x_1492; uint8_t x_1493; -x_1492 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; -x_1493 = lean_string_dec_eq(x_1479, x_1492); -if (x_1493 == 0) +lean_object* x_1097; uint8_t x_1098; +x_1097 = l_Lean_Parser_Term_letIdDecl___elambda__1___closed__1; +x_1098 = lean_string_dec_eq(x_1084, x_1097); +if (x_1098 == 0) { -lean_object* x_1494; uint8_t x_1495; -x_1494 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; -x_1495 = lean_string_dec_eq(x_1479, x_1494); -lean_dec(x_1479); -if (x_1495 == 0) +lean_object* x_1099; uint8_t x_1100; +x_1099 = l_Lean_Parser_Term_letPatDecl___elambda__1___rarg___closed__1; +x_1100 = lean_string_dec_eq(x_1084, x_1099); +lean_dec(x_1084); +if (x_1100 == 0) { -lean_object* x_1496; lean_object* x_1497; -lean_dec(x_1473); -x_1496 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1497 = l_unreachable_x21___rarg(x_1496); -x_1445 = x_1497; -goto block_1470; +lean_object* x_1101; lean_object* x_1102; +lean_dec(x_1078); +x_1101 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1102 = l_unreachable_x21___rarg(x_1101); +x_1050 = x_1102; +goto block_1075; } else { -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_unsigned_to_nat(0u); -x_1499 = l_Lean_Syntax_getArg(x_1473, x_1498); -x_1500 = l_Lean_Syntax_getIdAt(x_1499, x_1498); -lean_dec(x_1499); -x_1501 = lean_unsigned_to_nat(3u); -x_1502 = l_Lean_Syntax_getArg(x_1473, x_1501); -lean_dec(x_1473); -x_1503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1503, 0, x_1500); -lean_ctor_set(x_1503, 1, x_1502); -x_1445 = x_1503; -goto block_1470; +lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; +x_1103 = lean_unsigned_to_nat(0u); +x_1104 = l_Lean_Syntax_getArg(x_1078, x_1103); +x_1105 = l_Lean_Syntax_getIdAt(x_1104, x_1103); +lean_dec(x_1104); +x_1106 = lean_unsigned_to_nat(3u); +x_1107 = l_Lean_Syntax_getArg(x_1078, x_1106); +lean_dec(x_1078); +x_1108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1108, 0, x_1105); +lean_ctor_set(x_1108, 1, x_1107); +x_1050 = x_1108; +goto block_1075; } } else { -lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; -lean_dec(x_1479); -x_1504 = lean_unsigned_to_nat(0u); -x_1505 = l_Lean_Syntax_getIdAt(x_1473, x_1504); -x_1506 = lean_unsigned_to_nat(4u); -x_1507 = l_Lean_Syntax_getArg(x_1473, x_1506); -lean_dec(x_1473); -x_1508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1508, 0, x_1505); -lean_ctor_set(x_1508, 1, x_1507); -x_1445 = x_1508; -goto block_1470; +lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; +lean_dec(x_1084); +x_1109 = lean_unsigned_to_nat(0u); +x_1110 = l_Lean_Syntax_getIdAt(x_1078, x_1109); +x_1111 = lean_unsigned_to_nat(4u); +x_1112 = l_Lean_Syntax_getArg(x_1078, x_1111); +lean_dec(x_1078); +x_1113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1113, 0, x_1110); +lean_ctor_set(x_1113, 1, x_1112); +x_1050 = x_1113; +goto block_1075; } } } @@ -18977,161 +18702,161 @@ goto block_1470; } else { -lean_object* x_1509; lean_object* x_1510; -lean_dec(x_1478); -lean_dec(x_1477); -lean_dec(x_1476); -lean_dec(x_1475); -lean_dec(x_1474); -lean_dec(x_1473); -x_1509 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1510 = l_unreachable_x21___rarg(x_1509); -x_1445 = x_1510; -goto block_1470; +lean_object* x_1114; lean_object* x_1115; +lean_dec(x_1083); +lean_dec(x_1082); +lean_dec(x_1081); +lean_dec(x_1080); +lean_dec(x_1079); +lean_dec(x_1078); +x_1114 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1115 = l_unreachable_x21___rarg(x_1114); +x_1050 = x_1115; +goto block_1075; } } else { -lean_object* x_1511; lean_object* x_1512; -lean_dec(x_1477); -lean_dec(x_1476); -lean_dec(x_1475); -lean_dec(x_1474); -lean_dec(x_1473); -x_1511 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1512 = l_unreachable_x21___rarg(x_1511); -x_1445 = x_1512; -goto block_1470; +lean_object* x_1116; lean_object* x_1117; +lean_dec(x_1082); +lean_dec(x_1081); +lean_dec(x_1080); +lean_dec(x_1079); +lean_dec(x_1078); +x_1116 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1117 = l_unreachable_x21___rarg(x_1116); +x_1050 = x_1117; +goto block_1075; } } else { -lean_object* x_1513; lean_object* x_1514; -lean_dec(x_1476); -lean_dec(x_1475); -lean_dec(x_1474); -lean_dec(x_1473); -x_1513 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1514 = l_unreachable_x21___rarg(x_1513); -x_1445 = x_1514; -goto block_1470; +lean_object* x_1118; lean_object* x_1119; +lean_dec(x_1081); +lean_dec(x_1080); +lean_dec(x_1079); +lean_dec(x_1078); +x_1118 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1119 = l_unreachable_x21___rarg(x_1118); +x_1050 = x_1119; +goto block_1075; } } else { -lean_object* x_1515; lean_object* x_1516; -lean_dec(x_1475); -lean_dec(x_1474); -lean_dec(x_1473); -x_1515 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1516 = l_unreachable_x21___rarg(x_1515); -x_1445 = x_1516; -goto block_1470; +lean_object* x_1120; lean_object* x_1121; +lean_dec(x_1080); +lean_dec(x_1079); +lean_dec(x_1078); +x_1120 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1121 = l_unreachable_x21___rarg(x_1120); +x_1050 = x_1121; +goto block_1075; } } else { -lean_object* x_1517; lean_object* x_1518; -lean_dec(x_1474); -lean_dec(x_1473); -x_1517 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16; -x_1518 = l_unreachable_x21___rarg(x_1517); -x_1445 = x_1518; -goto block_1470; +lean_object* x_1122; lean_object* x_1123; +lean_dec(x_1079); +lean_dec(x_1078); +x_1122 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__7; +x_1123 = l_unreachable_x21___rarg(x_1122); +x_1050 = x_1123; +goto block_1075; } -block_1470: +block_1075: { -lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; -x_1446 = lean_ctor_get(x_1445, 0); -lean_inc(x_1446); -x_1447 = lean_ctor_get(x_1445, 1); -lean_inc(x_1447); -lean_dec(x_1445); -x_1448 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1447); -if (lean_obj_tag(x_1448) == 0) +lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; +x_1051 = lean_ctor_get(x_1050, 0); +lean_inc(x_1051); +x_1052 = lean_ctor_get(x_1050, 1); +lean_inc(x_1052); +lean_dec(x_1050); +x_1053 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1052); +if (lean_obj_tag(x_1053) == 0) { -lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; -lean_dec(x_1446); +lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; +lean_dec(x_1051); lean_dec(x_3); -x_1449 = lean_ctor_get(x_1448, 0); -lean_inc(x_1449); -if (lean_is_exclusive(x_1448)) { - lean_ctor_release(x_1448, 0); - x_1450 = x_1448; +x_1054 = lean_ctor_get(x_1053, 0); +lean_inc(x_1054); +if (lean_is_exclusive(x_1053)) { + lean_ctor_release(x_1053, 0); + x_1055 = x_1053; } else { - lean_dec_ref(x_1448); - x_1450 = lean_box(0); + lean_dec_ref(x_1053); + x_1055 = lean_box(0); } -if (lean_is_scalar(x_1450)) { - x_1451 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1055)) { + x_1056 = lean_alloc_ctor(0, 1, 0); } else { - x_1451 = x_1450; + x_1056 = x_1055; } -lean_ctor_set(x_1451, 0, x_1449); -return x_1451; +lean_ctor_set(x_1056, 0, x_1054); +return x_1056; } else { -lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; -x_1452 = lean_ctor_get(x_1448, 0); -lean_inc(x_1452); -lean_dec(x_1448); -x_1453 = l_Lean_stxInh; -x_1454 = lean_unsigned_to_nat(3u); -x_1455 = lean_array_get(x_1453, x_3, x_1454); +lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; +x_1057 = lean_ctor_get(x_1053, 0); +lean_inc(x_1057); +lean_dec(x_1053); +x_1058 = l_Lean_stxInh; +x_1059 = lean_unsigned_to_nat(3u); +x_1060 = lean_array_get(x_1058, x_3, x_1059); lean_dec(x_3); -x_1456 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1455); -if (lean_obj_tag(x_1456) == 0) +x_1061 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1060); +if (lean_obj_tag(x_1061) == 0) { -lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; -lean_dec(x_1452); -lean_dec(x_1446); -x_1457 = lean_ctor_get(x_1456, 0); -lean_inc(x_1457); -if (lean_is_exclusive(x_1456)) { - lean_ctor_release(x_1456, 0); - x_1458 = x_1456; +lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; +lean_dec(x_1057); +lean_dec(x_1051); +x_1062 = lean_ctor_get(x_1061, 0); +lean_inc(x_1062); +if (lean_is_exclusive(x_1061)) { + lean_ctor_release(x_1061, 0); + x_1063 = x_1061; } else { - lean_dec_ref(x_1456); - x_1458 = lean_box(0); + lean_dec_ref(x_1061); + x_1063 = lean_box(0); } -if (lean_is_scalar(x_1458)) { - x_1459 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1063)) { + x_1064 = lean_alloc_ctor(0, 1, 0); } else { - x_1459 = x_1458; + x_1064 = x_1063; } -lean_ctor_set(x_1459, 0, x_1457); -return x_1459; +lean_ctor_set(x_1064, 0, x_1062); +return x_1064; } else { -lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; uint8_t x_1467; lean_object* x_1468; lean_object* x_1469; -x_1460 = lean_ctor_get(x_1456, 0); -lean_inc(x_1460); -if (lean_is_exclusive(x_1456)) { - lean_ctor_release(x_1456, 0); - x_1461 = x_1456; +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; uint8_t x_1072; lean_object* x_1073; lean_object* x_1074; +x_1065 = lean_ctor_get(x_1061, 0); +lean_inc(x_1065); +if (lean_is_exclusive(x_1061)) { + lean_ctor_release(x_1061, 0); + x_1066 = x_1061; } else { - lean_dec_ref(x_1456); - x_1461 = lean_box(0); + lean_dec_ref(x_1061); + x_1066 = lean_box(0); } -lean_inc(x_1446); -x_1462 = l_Lean_mkFVar(x_1446); -x_1463 = l_Lean_FileMap_ofString___closed__1; -x_1464 = lean_array_push(x_1463, x_1462); -x_1465 = lean_expr_abstract(x_1460, x_1464); -lean_dec(x_1464); -lean_dec(x_1460); -x_1466 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; -x_1467 = 0; -x_1468 = l_Lean_mkLet(x_1446, x_1466, x_1452, x_1465, x_1467); -if (lean_is_scalar(x_1461)) { - x_1469 = lean_alloc_ctor(1, 1, 0); +lean_inc(x_1051); +x_1067 = l_Lean_mkFVar(x_1051); +x_1068 = l_Lean_FileMap_ofString___closed__1; +x_1069 = lean_array_push(x_1068, x_1067); +x_1070 = lean_expr_abstract(x_1065, x_1069); +lean_dec(x_1069); +lean_dec(x_1065); +x_1071 = l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder; +x_1072 = 0; +x_1073 = l_Lean_mkLet(x_1051, x_1071, x_1057, x_1070, x_1072); +if (lean_is_scalar(x_1066)) { + x_1074 = lean_alloc_ctor(1, 1, 0); } else { - x_1469 = x_1461; + x_1074 = x_1066; } -lean_ctor_set(x_1469, 0, x_1468); -return x_1469; +lean_ctor_set(x_1074, 0, x_1073); +return x_1074; } } } @@ -19139,125 +18864,125 @@ return x_1469; } else { -lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); -x_1519 = l_Lean_stxInh; -x_1520 = lean_unsigned_to_nat(1u); -x_1521 = lean_array_get(x_1519, x_3, x_1520); -x_1522 = l_Lean_Syntax_getArgs(x_1521); -lean_dec(x_1521); -x_1523 = lean_unsigned_to_nat(3u); -x_1524 = lean_array_get(x_1519, x_3, x_1523); +x_1124 = l_Lean_stxInh; +x_1125 = lean_unsigned_to_nat(1u); +x_1126 = lean_array_get(x_1124, x_3, x_1125); +x_1127 = l_Lean_Syntax_getArgs(x_1126); +lean_dec(x_1126); +x_1128 = lean_unsigned_to_nat(3u); +x_1129 = lean_array_get(x_1124, x_3, x_1128); lean_dec(x_3); -x_1525 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1524); -if (lean_obj_tag(x_1525) == 0) +x_1130 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main(x_1, x_1129); +if (lean_obj_tag(x_1130) == 0) { -lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; -lean_dec(x_1522); +lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; +lean_dec(x_1127); lean_dec(x_2); -x_1526 = lean_ctor_get(x_1525, 0); -lean_inc(x_1526); -if (lean_is_exclusive(x_1525)) { - lean_ctor_release(x_1525, 0); - x_1527 = x_1525; +x_1131 = lean_ctor_get(x_1130, 0); +lean_inc(x_1131); +if (lean_is_exclusive(x_1130)) { + lean_ctor_release(x_1130, 0); + x_1132 = x_1130; } else { - lean_dec_ref(x_1525); - x_1527 = lean_box(0); + lean_dec_ref(x_1130); + x_1132 = lean_box(0); } -if (lean_is_scalar(x_1527)) { - x_1528 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1132)) { + x_1133 = lean_alloc_ctor(0, 1, 0); } else { - x_1528 = x_1527; + x_1133 = x_1132; } -lean_ctor_set(x_1528, 0, x_1526); -return x_1528; +lean_ctor_set(x_1133, 0, x_1131); +return x_1133; } else { -lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; -x_1529 = lean_ctor_get(x_1525, 0); -lean_inc(x_1529); -lean_dec(x_1525); -x_1530 = lean_array_get_size(x_1522); -x_1531 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_1522, x_1530, lean_box(0), x_1529); -lean_dec(x_1522); +lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +x_1134 = lean_ctor_get(x_1130, 0); +lean_inc(x_1134); +lean_dec(x_1130); +x_1135 = lean_array_get_size(x_1127); +x_1136 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_Elab_Quotation_17__toPreterm___main___spec__1(x_1, x_2, x_39, x_1127, x_1135, lean_box(0), x_1134); +lean_dec(x_1127); lean_dec(x_2); -return x_1531; +return x_1136; } } } else { -lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; -lean_dec(x_1252); -lean_dec(x_1248); -lean_dec(x_1245); +lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; +lean_dec(x_936); +lean_dec(x_932); +lean_dec(x_929); lean_dec(x_40); lean_dec(x_2); -x_1532 = l_Lean_stxInh; -x_1533 = lean_unsigned_to_nat(0u); -x_1534 = lean_array_get(x_1532, x_3, x_1533); +x_1137 = l_Lean_stxInh; +x_1138 = lean_unsigned_to_nat(0u); +x_1139 = lean_array_get(x_1137, x_3, x_1138); lean_dec(x_3); -if (lean_obj_tag(x_1534) == 3) +if (lean_obj_tag(x_1139) == 3) { -lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; -x_1535 = lean_ctor_get(x_1534, 2); -lean_inc(x_1535); -x_1536 = lean_ctor_get(x_1534, 3); -lean_inc(x_1536); -lean_dec(x_1534); -x_1537 = lean_box(0); -lean_inc(x_1535); -x_1538 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_1537, x_1535); -x_1539 = l_List_append___rarg(x_1538, x_1536); -if (lean_obj_tag(x_1539) == 0) +lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; +x_1140 = lean_ctor_get(x_1139, 2); +lean_inc(x_1140); +x_1141 = lean_ctor_get(x_1139, 3); +lean_inc(x_1141); +lean_dec(x_1139); +x_1142 = lean_box(0); +lean_inc(x_1140); +x_1143 = l_Lean_Elab_resolveGlobalName(x_1, x_39, x_1142, x_1140); +x_1144 = l_List_append___rarg(x_1143, x_1141); +if (lean_obj_tag(x_1144) == 0) { -lean_object* x_1540; lean_object* x_1541; -x_1540 = l_Lean_mkFVar(x_1535); -x_1541 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1541, 0, x_1540); -return x_1541; +lean_object* x_1145; lean_object* x_1146; +x_1145 = l_Lean_mkFVar(x_1140); +x_1146 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1146, 0, x_1145); +return x_1146; } else { -lean_object* x_1542; lean_object* x_1543; -lean_dec(x_1535); -x_1542 = lean_ctor_get(x_1539, 0); -lean_inc(x_1542); -lean_dec(x_1539); -x_1543 = lean_ctor_get(x_1542, 1); -lean_inc(x_1543); -if (lean_obj_tag(x_1543) == 0) +lean_object* x_1147; lean_object* x_1148; +lean_dec(x_1140); +x_1147 = lean_ctor_get(x_1144, 0); +lean_inc(x_1147); +lean_dec(x_1144); +x_1148 = lean_ctor_get(x_1147, 1); +lean_inc(x_1148); +if (lean_obj_tag(x_1148) == 0) { -lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; -x_1544 = lean_ctor_get(x_1542, 0); -lean_inc(x_1544); -lean_dec(x_1542); -x_1545 = l_Lean_mkConst(x_1544, x_1537); -x_1546 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1546, 0, x_1545); -return x_1546; +lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; +x_1149 = lean_ctor_get(x_1147, 0); +lean_inc(x_1149); +lean_dec(x_1147); +x_1150 = l_Lean_mkConst(x_1149, x_1142); +x_1151 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1151, 0, x_1150); +return x_1151; } else { -lean_object* x_1547; -lean_dec(x_1543); -lean_dec(x_1542); -x_1547 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19; -return x_1547; +lean_object* x_1152; +lean_dec(x_1148); +lean_dec(x_1147); +x_1152 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10; +return x_1152; } } } else { -lean_object* x_1548; lean_object* x_1549; -lean_dec(x_1534); -x_1548 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17; -x_1549 = l_unreachable_x21___rarg(x_1548); -return x_1549; +lean_object* x_1153; lean_object* x_1154; +lean_dec(x_1139); +x_1153 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__8; +x_1154 = l_unreachable_x21___rarg(x_1153); +return x_1154; } } } @@ -19267,62 +18992,62 @@ return x_1549; } else { -lean_object* x_1550; +lean_object* x_1155; lean_dec(x_39); lean_dec(x_38); lean_dec(x_37); lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -x_1550 = lean_box(0); -x_5 = x_1550; +x_1155 = lean_box(0); +x_5 = x_1155; goto block_11; } } else { -lean_object* x_1551; +lean_object* x_1156; lean_dec(x_38); lean_dec(x_37); lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -x_1551 = lean_box(0); -x_5 = x_1551; +x_1156 = lean_box(0); +x_5 = x_1156; goto block_11; } } else { -lean_object* x_1552; +lean_object* x_1157; lean_dec(x_37); lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -x_1552 = lean_box(0); -x_5 = x_1552; +x_1157 = lean_box(0); +x_5 = x_1157; goto block_11; } } default: { -lean_object* x_1553; +lean_object* x_1158; lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); -x_1553 = lean_box(0); -x_5 = x_1553; +x_1158 = lean_box(0); +x_5 = x_1158; goto block_11; } } } else { -lean_object* x_1554; +lean_object* x_1159; lean_dec(x_3); lean_dec(x_2); -x_1554 = lean_box(0); -x_5 = x_1554; +x_1159 = lean_box(0); +x_5 = x_1159; goto block_11; } block_11: @@ -19351,6 +19076,33 @@ lean_dec(x_1); return x_8; } } +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___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___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__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___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__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* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +} lean_object* l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -19955,184 +19707,102 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Syntax_HasQuote = _init_l_Lean_Syntax_HasQuote(); lean_mark_persistent(l_Lean_Syntax_HasQuote); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__1); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__2); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__1___closed__3); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__1); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__2); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__3); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__4); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__5); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__6); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__2___closed__7); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__1); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__2); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__3); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__4); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__5); +l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___lambda__3___closed__6); l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__1); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__3); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__4); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__5); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__6); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__7); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__8); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__9); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__10); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__11); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__12); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__13); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__14); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__15); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__16 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__16(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__16); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__17); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__18); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__19); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__20); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__21 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__21(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__21); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__22); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__23); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__24); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__25); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__26); -l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__27 = _init_l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__27(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__27); l_Lean_Name_HasQuote___closed__1 = _init_l_Lean_Name_HasQuote___closed__1(); lean_mark_persistent(l_Lean_Name_HasQuote___closed__1); l_Lean_Name_HasQuote = _init_l_Lean_Name_HasQuote(); lean_mark_persistent(l_Lean_Name_HasQuote); -l_Lean_Prod_HasQuote___rarg___closed__1 = _init_l_Lean_Prod_HasQuote___rarg___closed__1(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__1); -l_Lean_Prod_HasQuote___rarg___closed__2 = _init_l_Lean_Prod_HasQuote___rarg___closed__2(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__2); -l_Lean_Prod_HasQuote___rarg___closed__3 = _init_l_Lean_Prod_HasQuote___rarg___closed__3(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__3); -l_Lean_Prod_HasQuote___rarg___closed__4 = _init_l_Lean_Prod_HasQuote___rarg___closed__4(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__4); -l_Lean_Prod_HasQuote___rarg___closed__5 = _init_l_Lean_Prod_HasQuote___rarg___closed__5(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__5); -l_Lean_Prod_HasQuote___rarg___closed__6 = _init_l_Lean_Prod_HasQuote___rarg___closed__6(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__6); -l_Lean_Prod_HasQuote___rarg___closed__7 = _init_l_Lean_Prod_HasQuote___rarg___closed__7(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__7); -l_Lean_Prod_HasQuote___rarg___closed__8 = _init_l_Lean_Prod_HasQuote___rarg___closed__8(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__8); -l_Lean_Prod_HasQuote___rarg___closed__9 = _init_l_Lean_Prod_HasQuote___rarg___closed__9(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__9); -l_Lean_Prod_HasQuote___rarg___closed__10 = _init_l_Lean_Prod_HasQuote___rarg___closed__10(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__10); -l_Lean_Prod_HasQuote___rarg___closed__11 = _init_l_Lean_Prod_HasQuote___rarg___closed__11(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__11); -l_Lean_Prod_HasQuote___rarg___closed__12 = _init_l_Lean_Prod_HasQuote___rarg___closed__12(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__12); -l_Lean_Prod_HasQuote___rarg___closed__13 = _init_l_Lean_Prod_HasQuote___rarg___closed__13(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__13); -l_Lean_Prod_HasQuote___rarg___closed__14 = _init_l_Lean_Prod_HasQuote___rarg___closed__14(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__14); -l_Lean_Prod_HasQuote___rarg___closed__15 = _init_l_Lean_Prod_HasQuote___rarg___closed__15(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__15); -l_Lean_Prod_HasQuote___rarg___closed__16 = _init_l_Lean_Prod_HasQuote___rarg___closed__16(); -lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___closed__16); +l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1 = _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___lambda__1___closed__1); +l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2 = _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___lambda__1___closed__2); +l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3 = _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___lambda__1___closed__3); +l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4 = _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___lambda__1___closed__4); +l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5 = _init_l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Prod_HasQuote___rarg___lambda__1___closed__5); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__1); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__2); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__3); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__4); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__5); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__6); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__1___closed__7); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__1); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__2); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__3); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__4); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__5); +l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___lambda__2___closed__6); l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__1); l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__2); l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__3); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__4); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__5); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__6); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__7); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__8); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__9); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__10); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__11); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__12); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__13); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__14); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__15); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__16); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__17); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__18 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__18(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__18); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__19); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__20); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__21); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__22); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__23); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___rarg___closed__24); -l_Lean_Array_HasQuote___rarg___closed__1 = _init_l_Lean_Array_HasQuote___rarg___closed__1(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__1); -l_Lean_Array_HasQuote___rarg___closed__2 = _init_l_Lean_Array_HasQuote___rarg___closed__2(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__2); -l_Lean_Array_HasQuote___rarg___closed__3 = _init_l_Lean_Array_HasQuote___rarg___closed__3(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__3); -l_Lean_Array_HasQuote___rarg___closed__4 = _init_l_Lean_Array_HasQuote___rarg___closed__4(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__4); -l_Lean_Array_HasQuote___rarg___closed__5 = _init_l_Lean_Array_HasQuote___rarg___closed__5(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__5); -l_Lean_Array_HasQuote___rarg___closed__6 = _init_l_Lean_Array_HasQuote___rarg___closed__6(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__6); -l_Lean_Array_HasQuote___rarg___closed__7 = _init_l_Lean_Array_HasQuote___rarg___closed__7(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__7); -l_Lean_Array_HasQuote___rarg___closed__8 = _init_l_Lean_Array_HasQuote___rarg___closed__8(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__8); -l_Lean_Array_HasQuote___rarg___closed__9 = _init_l_Lean_Array_HasQuote___rarg___closed__9(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__9); -l_Lean_Array_HasQuote___rarg___closed__10 = _init_l_Lean_Array_HasQuote___rarg___closed__10(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__10); -l_Lean_Array_HasQuote___rarg___closed__11 = _init_l_Lean_Array_HasQuote___rarg___closed__11(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__11); -l_Lean_Array_HasQuote___rarg___closed__12 = _init_l_Lean_Array_HasQuote___rarg___closed__12(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__12); -l_Lean_Array_HasQuote___rarg___closed__13 = _init_l_Lean_Array_HasQuote___rarg___closed__13(); -lean_mark_persistent(l_Lean_Array_HasQuote___rarg___closed__13); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__1); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__2); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__3); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__4); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__5 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__5); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__6); -l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7 = _init_l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_3__quoteList___main___at___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___spec__4___closed__7); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__1 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__1); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__2 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__2); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__3 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__3); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__4 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__4); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__5 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__5); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__6 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__6); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__7 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__7); +l_Lean_Array_HasQuote___rarg___lambda__1___closed__8 = _init_l_Lean_Array_HasQuote___rarg___lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Array_HasQuote___rarg___lambda__1___closed__8); l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__1); l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__2(); @@ -20253,112 +19923,6 @@ l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59 = _init_ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__59); l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__60); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__61 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__61(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__61); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__62); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__63); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__64); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__65); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__66); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__67); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__68); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__69); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__70); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__71); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__72); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__73); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__74); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__75); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__76); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__77); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__78); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__79); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__80); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__81); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__82); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__83); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__84); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__85); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__86); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__87); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__88); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__89); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__90); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__91); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__92); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__93); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__94); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__95 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__95(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__95); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__96); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__97); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__98); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__99); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__100); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__101); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__102); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__103); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__104); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__105); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__106); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__107); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__108); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__109); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__110); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__111); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__112); -l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113 = _init_l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_6__quoteSyntax___main___closed__113); l_Lean_Elab_Term_stxQuot_expand___closed__1 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__1); l_Lean_Elab_Term_stxQuot_expand___closed__2 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__2(); @@ -20413,54 +19977,6 @@ l_Lean_Elab_Term_stxQuot_expand___closed__26 = _init_l_Lean_Elab_Term_stxQuot_ex lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__26); l_Lean_Elab_Term_stxQuot_expand___closed__27 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__27(); lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__27); -l_Lean_Elab_Term_stxQuot_expand___closed__28 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__28(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__28); -l_Lean_Elab_Term_stxQuot_expand___closed__29 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__29(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__29); -l_Lean_Elab_Term_stxQuot_expand___closed__30 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__30(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__30); -l_Lean_Elab_Term_stxQuot_expand___closed__31 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__31(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__31); -l_Lean_Elab_Term_stxQuot_expand___closed__32 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__32(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__32); -l_Lean_Elab_Term_stxQuot_expand___closed__33 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__33(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__33); -l_Lean_Elab_Term_stxQuot_expand___closed__34 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__34(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__34); -l_Lean_Elab_Term_stxQuot_expand___closed__35 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__35(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__35); -l_Lean_Elab_Term_stxQuot_expand___closed__36 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__36(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__36); -l_Lean_Elab_Term_stxQuot_expand___closed__37 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__37(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__37); -l_Lean_Elab_Term_stxQuot_expand___closed__38 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__38(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__38); -l_Lean_Elab_Term_stxQuot_expand___closed__39 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__39(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__39); -l_Lean_Elab_Term_stxQuot_expand___closed__40 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__40(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__40); -l_Lean_Elab_Term_stxQuot_expand___closed__41 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__41(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__41); -l_Lean_Elab_Term_stxQuot_expand___closed__42 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__42(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__42); -l_Lean_Elab_Term_stxQuot_expand___closed__43 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__43(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__43); -l_Lean_Elab_Term_stxQuot_expand___closed__44 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__44(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__44); -l_Lean_Elab_Term_stxQuot_expand___closed__45 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__45(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__45); -l_Lean_Elab_Term_stxQuot_expand___closed__46 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__46(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__46); -l_Lean_Elab_Term_stxQuot_expand___closed__47 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__47(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__47); -l_Lean_Elab_Term_stxQuot_expand___closed__48 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__48(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__48); -l_Lean_Elab_Term_stxQuot_expand___closed__49 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__49(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__49); -l_Lean_Elab_Term_stxQuot_expand___closed__50 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__50(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__50); -l_Lean_Elab_Term_stxQuot_expand___closed__51 = _init_l_Lean_Elab_Term_stxQuot_expand___closed__51(); -lean_mark_persistent(l_Lean_Elab_Term_stxQuot_expand___closed__51); l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot___closed__2(); @@ -20504,36 +20020,6 @@ l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16 = lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__16); l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__17); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__18); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__19); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__20); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__21); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__22); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__23 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__23(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__23); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__24); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__25); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__26 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__26(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__26); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__27); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__1___closed__28); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__1); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__2); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__3); -l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___elambda__2___closed__4); l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__1); l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_8__isVarPat_x3f___closed__2(); @@ -20572,22 +20058,6 @@ l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch__ lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__6); l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7(); lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__7); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__8); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__9); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__10); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__11); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__12); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__13); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__14); -l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15 = _init_l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15(); -lean_mark_persistent(l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___spec__2___closed__15); l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__1); l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__2(); @@ -20656,90 +20126,6 @@ l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33 = _ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__33); l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__34); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__35); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__36); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__37); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__38); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__39); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__40); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__41); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__42); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__43); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__44); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__45); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__46); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__47); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__48 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__48(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__48); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__49); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__50); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__51); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__52); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__53); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__54 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__54(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__54); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__55); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__56); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__57 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__57(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__57); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__58 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__58(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__58); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__59); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__60 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__60(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__60); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__61); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__62); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__63 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__63(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__63); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__64); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__65); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__66 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__66(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__66); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__67); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__68); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__69); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__70); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__71); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__72); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__73); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__74); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__75); -l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76 = _init_l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_12__compileStxMatch___main___closed__76); l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__1); l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_13__getAntiquotVarsAux___main___closed__2(); @@ -20762,22 +20148,6 @@ l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7 = _init_ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__7); l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__8); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__9); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__10); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__11); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__12); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__13); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__14); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__15); -l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16 = _init_l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_15__letBindRhss___main___closed__16); l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__1 = _init_l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__1(); lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__1); l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__2 = _init_l_Array_umapMAux___main___at_Lean_Elab_Term_match__syntax_expand___spec__1___lambda__1___closed__2(); @@ -20797,6 +20167,24 @@ l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder___closed__1 = _init_l__ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder___closed__1); l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder = _init_l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_16__exprPlaceholder); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__1); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__2); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__3); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__1___closed__4); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__1); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__2___closed__2); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__1); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__2); +l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___lambda__3___closed__3); l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__1); l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__2 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__2(); @@ -20817,24 +20205,6 @@ l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9 = _init_l_ lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__9); l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10(); lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__10); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__11); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__12); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__13); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__14); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__15); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__16); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__17); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__18); -l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19 = _init_l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19(); -lean_mark_persistent(l___private_Init_Lean_Elab_Quotation_17__toPreterm___main___closed__19); l_Lean_Elab_Term_oldParseExpr___closed__1 = _init_l_Lean_Elab_Term_oldParseExpr___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_oldParseExpr___closed__1); l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__1 = _init_l___private_Init_Lean_Elab_Quotation_18__oldRunTermElabM___rarg___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index 1d2b5066b1..01a3d75b92 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -44,6 +44,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__3; extern lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandCDotArgs(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_exceptionToSorry___closed__3; lean_object* l_Array_getD___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabDepArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -59,6 +60,7 @@ lean_object* l_Lean_Elab_Term_instantiateMVars(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Term_TermElabM_monadLog___closed__3; lean_object* l_Lean_Elab_Term_tracer___closed__5; lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__9; +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameToExprAux___main___closed__1; lean_object* l_unreachable_x21___rarg(lean_object*); @@ -81,7 +83,6 @@ lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object* extern lean_object* l_Lean_Parser_Term_num___elambda__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_Term_22__resolveLValLoop___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_hasSorry___main___closed__1; lean_object* l_Lean_Elab_Term_ensureHasType___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_28__elabAppFn___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,10 +92,10 @@ lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen(lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); extern lean_object* l_Lean_List_format___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___closed__7; +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__4; lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__3; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__3; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__1; -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_28__elabAppFn___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__1; lean_object* l_Lean_Elab_Term_mkFreshId(lean_object*); @@ -107,8 +108,8 @@ lean_object* l_Lean_Elab_Term_elabArrow___closed__2; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__2; +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__9; lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); extern lean_object* l_Lean_nameToExprAux___main___closed__4; @@ -125,6 +126,7 @@ lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_monadLog___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; lean_object* l_Lean_Elab_Term_tracingAtPos(lean_object*); +extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_decLevel___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_Lean_Elab_Term_tracingAt(lean_object*); @@ -157,7 +159,9 @@ lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__5; lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getEnv___boxed(lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot(lean_object*); lean_object* l_Lean_Elab_Term_elabArrow___closed__3; lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__15(lean_object*, lean_object*); @@ -178,8 +182,10 @@ lean_object* l_Lean_Elab_Term_withoutPostponing(lean_object*); lean_object* l_Lean_Elab_Term_decLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_decLevel___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall(lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__1; lean_object* l___private_Init_Lean_Elab_Term_16__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__8; lean_object* l_Lean_Elab_Term_elabParen___closed__3; lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__2; @@ -197,6 +203,7 @@ lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_resetSynthInstanceCache(lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__6; lean_object* l_Lean_Elab_Term_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerAttribute(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__2; @@ -205,12 +212,14 @@ extern lean_object* l_Lean_Meta_Exception_toStr___closed__1; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___closed__4; +lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_24__mkBaseProjections___closed__2; lean_object* l___private_Init_Lean_Elab_Term_24__mkBaseProjections___closed__1; lean_object* l_ReaderT_read___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_14__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdxAux___main___at___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__2; lean_object* l___private_Init_Lean_Elab_Term_9__expandOptIdent(lean_object*, lean_object*, lean_object*); extern lean_object* l_String_splitAux___main___closed__1; @@ -233,9 +242,12 @@ lean_object* l_Lean_Elab_Term_hasCDot___boxed(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__6; lean_object* l_Lean_Elab_Term_elabTypeStx___rarg(lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__1; lean_object* l_Lean_mkAtom(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_27__elabAppLVals___closed__1; +lean_object* l_Lean_Elab_Term_elabParen___closed__6; +extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__1; lean_object* l___private_Init_Lean_Elab_Term_19__elabAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__1; @@ -247,6 +259,7 @@ lean_object* l_Lean_Elab_Term_assignExprMVar(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_TermElabM_monadLog___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_34__expandApp___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +lean_object* l_Lean_Elab_Term_elabParen___closed__5; lean_object* l_Lean_Elab_Term_NamedArg_inhabited; lean_object* l___private_Init_Lean_Elab_Term_25__addLValArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; @@ -256,12 +269,14 @@ lean_object* l_Lean_Elab_Term_LVal_hasToString(lean_object*); lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_10__matchBinder___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__3; lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__8; +lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l___private_Init_Lean_Elab_Term_32__elabAppAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute___closed__2; lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__11(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_24__mkBaseProjections___closed__3; lean_object* l_Lean_Elab_Term_getTraceState(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_11__elabBinderViews___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -269,6 +284,7 @@ lean_object* l___private_Init_Lean_Elab_Term_7__expandBinderType___boxed(lean_ob extern lean_object* l_Lean_AttributeImpl_inhabited___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__3; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__10; lean_object* l___private_Init_Lean_Elab_Term_35__regTraceClasses___closed__1; lean_object* l_Lean_Elab_Term_elabParen___closed__2; lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__25; @@ -282,7 +298,7 @@ lean_object* l_Lean_Elab_Term_elabListLit___closed__1; lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; lean_object* l_Lean_Elab_Term_expandFunBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_hasCDotArg___boxed(lean_object*); +extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___rarg___closed__2; lean_object* l___private_Init_Lean_Elab_Term_28__elabAppFn___main___closed__3; extern lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); @@ -310,10 +326,10 @@ lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Term_elabTerm___spec__6(lean_o extern lean_object* l_Array_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__6; -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__1; lean_object* l___private_Init_Lean_Elab_Term_26__elabAppLValsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_replace___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__16(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabParen___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -336,7 +352,9 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChoice___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__2; lean_object* l_Lean_Elab_Term_observing(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__15; +extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8; lean_object* l_Lean_Elab_Term_declareBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Term_getTraceState___rarg(lean_object*); lean_object* l_Lean_Elab_Term_State_inhabited___closed__1; extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; @@ -350,7 +368,6 @@ lean_object* l_Lean_Elab_Term_elabTerm___closed__6; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__3(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__3; lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; @@ -380,6 +397,7 @@ lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_16__mkConst lean_object* l___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_4__mkFreshAnonymousName___boxed(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_29__getSuccess(lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__3; @@ -440,7 +458,9 @@ lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Elab_Term_exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___closed__1; lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__24; +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__7; lean_object* l_Lean_Elab_Term_Arg_hasToString(lean_object*); +extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__2; lean_object* l_Lean_Elab_Term_resolveName___closed__7; lean_object* l_Lean_Elab_Term_elabFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); @@ -455,11 +475,13 @@ lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_monadLog___closed__5; lean_object* l_Lean_Elab_Term_getFunBinderIdsAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withNode___rarg___closed__2; +lean_object* l_Lean_Elab_Term_mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__1; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__3; lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Elab_Term_mkTermElabAttribute___spec__4(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l___private_Init_Lean_Elab_Term_28__elabAppFn___main___closed__4; lean_object* l_Lean_Elab_Term_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_23__resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -488,13 +510,15 @@ lean_object* l_Lean_Elab_Term_tracingAt___rarg___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_34__expandApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow(lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__5; extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx___rarg___closed__1; lean_object* l_Lean_Elab_Term_mkFreshId___rarg(lean_object*); -lean_object* l_Lean_Elab_Term_elabParen___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; extern lean_object* l_PersistentArray_empty___closed__3; lean_object* l_Lean_Elab_Term_mkBuiltinTermElabTable(lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__9; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__2; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Term_10__matchBinder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,6 +538,7 @@ lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__4; uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_formatStx___main___closed__5; +extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_Term_25__addLValArg___main___closed__2; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; lean_object* l_Lean_Elab_Term_mkAppM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -537,6 +562,7 @@ lean_object* l___private_Init_Lean_Elab_Term_17__elabArg___boxed(lean_object*, l lean_object* l___private_Init_Lean_Elab_Term_24__mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; +lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_24__mkBaseProjections___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__16; @@ -555,6 +581,7 @@ lean_object* l_Lean_Elab_Term_elabChoice(lean_object*, lean_object*, lean_object lean_object* l___private_Init_Lean_Elab_Term_18__elabAppArgsAux___main___closed__2; lean_object* l_Lean_Elab_Term_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_25__addLValArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__2; @@ -573,6 +600,7 @@ lean_object* l_Lean_Elab_Term_ensureHasType___closed__1; lean_object* l_Lean_Elab_Term_addBuiltinTermElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp(lean_object*); +lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_formatEntry___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__2; @@ -609,6 +637,7 @@ lean_object* l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec lean_object* l_Lean_Elab_Term_mkConst___closed__3; lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l_Lean_Elab_Term_withNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_elabProj(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_7__expandBinderType(lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -616,14 +645,17 @@ lean_object* l_Lean_MessageData_ofArray(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabDepArrow___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow___closed__3; lean_object* l_Lean_Elab_Term_termElabAttribute; +lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; lean_object* l_fix1___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermIdFromIdent(lean_object*); extern lean_object* l_Lean_Meta_Exception_toStr___closed__7; lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_withNode___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_elabExplicitUniv___rarg(lean_object*); +lean_object* l_Lean_Elab_Term_expandCDot_x3f___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabExplicit___closed__2; +lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__11; extern lean_object* l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_28__elabAppFn___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__6; @@ -632,8 +664,9 @@ lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_withNode___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_tracingAtPos___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main___closed__3; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Term_decLevel___spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Elab_Term_hasCDotArg(lean_object*); lean_object* l_Lean_Elab_Term_withLCtx(lean_object*); lean_object* l_Lean_Elab_Term_withNode(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; @@ -651,6 +684,7 @@ extern lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId(lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_monadLog; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__2; +lean_object* l_Lean_Elab_Term_elabBadCDot___closed__2; lean_object* l_Lean_Elab_Term_synthesizeInstMVars(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_tracingAtPos___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,11 +693,11 @@ lean_object* l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(lean_objec lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_22__resolveLValLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__4; +extern lean_object* l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_Term_10__matchBinder___closed__2; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__7; uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__1; lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Term_20__throwLValError___spec__1(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabForall___closed__3; @@ -693,7 +727,9 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_Term_elabTerm___s lean_object* l_Lean_Elab_logInfoAt___at_Lean_Elab_Term_tracingAtPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkInitAttr___lambda__1___closed__1; +extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__2; lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_tracingAt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_25__addLValArg___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; @@ -769,6 +805,7 @@ lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandCDotArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkHole___closed__3; lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_withNode___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_32__elabAppAux___closed__3; @@ -784,6 +821,7 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVar___boxed(lean_object*, lean_obje lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__3; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__26; lean_object* l___private_Init_Lean_Elab_Term_4__mkFreshAnonymousName(lean_object*); lean_object* l___private_Init_Lean_Elab_Term_26__elabAppLValsAux___main___closed__1; @@ -866,6 +904,7 @@ lean_object* l_Lean_Elab_Term_TermElabM_monadLog___lambda__1(lean_object*, lean_ lean_object* l_Lean_Elab_Term_resolveName___closed__2; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_20__throwLValError(lean_object*); +lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStr___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInstMVar___closed__3; lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTerm___spec__2___boxed(lean_object*, lean_object*); @@ -880,8 +919,8 @@ uint8_t l___private_Init_Lean_Util_Trace_3__checkTraceOptionAux___main(lean_obje lean_object* l_Lean_Elab_Term_expandCDotAux___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_Elab_Term_tracingAtPos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairs(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_12__elabBindersAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_34__expandApp(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Message_Inhabited___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg___closed__2; @@ -890,6 +929,7 @@ lean_object* l_Lean_Elab_Term_TermElabM_MonadQuotation___lambda__1(lean_object*, lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTerm___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* l___private_Init_Lean_Elab_Term_10__matchBinder___closed__1; lean_object* l_Lean_Elab_Term_getFunBinderIdsAux_x3f___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -918,6 +958,7 @@ lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___boxed(lean_object*); lean_object* l_Lean_Elab_Term_decLevel___closed__2; lean_object* l_Lean_Elab_Term_decLevel___closed__1; extern lean_object* l_Nat_Inhabited; +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__19; @@ -929,6 +970,7 @@ lean_object* l_Lean_Elab_logInfoAt___at_Lean_Elab_Term_tracingAtPos___spec__1___ lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMCtx___boxed(lean_object*); lean_object* l_Lean_Elab_throwError___at___private_Init_Lean_Elab_Term_28__elabAppFn___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabForall(lean_object*, lean_object*, lean_object*, lean_object*); @@ -941,6 +983,8 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrow(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTerm___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTerm___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_hasCDot___main___boxed(lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2; +lean_object* l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; extern lean_object* l_Lean_levelOne; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__5; lean_object* l___private_Init_Lean_Elab_Term_35__regTraceClasses(lean_object*); @@ -949,6 +993,7 @@ extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l___private_Init_Lean_Elab_Term_31__mergeFailures___rarg___closed__3; lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Init_Lean_Elab_Term_28__elabAppFn___main___spec__4(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); 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_Lean_indentExpr(lean_object*); @@ -957,6 +1002,7 @@ lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__1; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_mkTermElabAttribute___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_22__resolveLValLoop___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; lean_object* l_Lean_Elab_Term_resolveName___closed__1; @@ -968,6 +1014,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f___main(lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__3; lean_object* l_Lean_Elab_Term_exceptionToSorry___closed__1; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; @@ -976,6 +1023,7 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_addBuiltinTermElab__ lean_object* l_Lean_Elab_Term_exceptionToSorry___closed__2; lean_object* l_Lean_Elab_Term_getOptions___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_elabBadCDot___closed__3; lean_object* l_Lean_Name_components(lean_object*); lean_object* l_Lean_Elab_Term_tracer___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -1005,7 +1053,9 @@ lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1___box lean_object* l_Lean_Elab_Term_consumeDefaultParams___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; +lean_object* l_Lean_Elab_Term_elabBadCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Arg_inhabited; @@ -8830,6 +8880,72 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_3, 7); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +lean_ctor_set(x_3, 7, x_7); +x_8 = lean_apply_2(x_2, x_3, x_4); +return x_8; +} +else +{ +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; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_3, 2); +x_12 = lean_ctor_get(x_3, 3); +x_13 = lean_ctor_get(x_3, 4); +x_14 = lean_ctor_get(x_3, 5); +x_15 = lean_ctor_get(x_3, 6); +x_16 = lean_ctor_get(x_3, 7); +x_17 = lean_ctor_get(x_3, 8); +x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*9); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_3); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_1); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_20, 2, x_11); +lean_ctor_set(x_20, 3, x_12); +lean_ctor_set(x_20, 4, x_13); +lean_ctor_set(x_20, 5, x_14); +lean_ctor_set(x_20, 6, x_15); +lean_ctor_set(x_20, 7, x_19); +lean_ctor_set(x_20, 8, x_17); +lean_ctor_set_uint8(x_20, sizeof(void*)*9, x_18); +x_21 = lean_apply_2(x_2, x_20, x_4); +return x_21; +} +} +} +lean_object* l_Lean_Elab_Term_withMacroExpansion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 4, 0); +return x_2; +} +} lean_object* l_Lean_Elab_Term_registerSyntheticMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -10675,83 +10791,6 @@ x_3 = lean_box(x_2); return x_3; } } -uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_4); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_4); -x_8 = l_Lean_Elab_Term_hasCDot___main(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_4, x_9); -lean_dec(x_4); -x_4 = x_10; -goto _start; -} -else -{ -lean_dec(x_4); -return x_8; -} -} -} -} -uint8_t l_Lean_Elab_Term_hasCDotArg(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 1); -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1(x_2, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = 0; -return x_6; -} -} -} -lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1___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 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_hasCDotArg___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_box(x_5); -return x_6; -} -} -lean_object* l_Lean_Elab_Term_hasCDotArg___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Term_hasCDotArg(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} lean_object* l_Lean_Elab_Term_expandCDotAux___main(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -11065,266 +11104,260 @@ lean_dec(x_2); x_99 = !lean_is_exclusive(x_98); if (x_99 == 0) { -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_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_100 = lean_ctor_get(x_98, 0); -x_101 = l_Lean_Elab_Term_mkHole; -lean_inc(x_100); -x_102 = l_Lean_Elab_Term_mkExplicitBinder(x_100, x_101); -x_103 = lean_array_push(x_3, x_102); -x_104 = l_Lean_Elab_Term_mkTermIdFromIdent(x_100); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_98, 0, x_105); +x_101 = l_Lean_Elab_Term_mkTermIdFromIdent(x_100); +lean_inc(x_101); +x_102 = lean_array_push(x_3, x_101); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_98, 0, x_103); return x_98; } else { -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; -x_106 = lean_ctor_get(x_98, 0); -x_107 = lean_ctor_get(x_98, 1); -lean_inc(x_107); -lean_inc(x_106); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_104 = lean_ctor_get(x_98, 0); +x_105 = lean_ctor_get(x_98, 1); +lean_inc(x_105); +lean_inc(x_104); lean_dec(x_98); -x_108 = l_Lean_Elab_Term_mkHole; +x_106 = l_Lean_Elab_Term_mkTermIdFromIdent(x_104); lean_inc(x_106); -x_109 = l_Lean_Elab_Term_mkExplicitBinder(x_106, x_108); -x_110 = lean_array_push(x_3, x_109); -x_111 = l_Lean_Elab_Term_mkTermIdFromIdent(x_106); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); +x_107 = lean_array_push(x_3, x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +} +} +} +} +else +{ +lean_object* x_110; uint8_t x_111; +lean_dec(x_2); +x_110 = l_Lean_Syntax_formatStx___main___closed__5; +x_111 = lean_string_dec_eq(x_19, x_110); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_ctor_set(x_9, 1, x_25); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_6); +lean_ctor_set(x_112, 1, x_11); x_113 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_107); -return x_113; -} -} -} -} +lean_ctor_set(x_113, 1, x_3); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_5); +return x_114; } else { -lean_object* x_114; uint8_t x_115; -lean_dec(x_2); -x_114 = l_Lean_Syntax_formatStx___main___closed__5; -x_115 = lean_string_dec_eq(x_19, x_114); -if (x_115 == 0) +lean_object* x_115; uint8_t x_116; +lean_dec(x_19); +x_115 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_116 = lean_string_dec_eq(x_16, x_115); +if (x_116 == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_ctor_set(x_9, 1, x_25); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_6); -lean_ctor_set(x_116, 1, x_11); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_3); +lean_ctor_set(x_8, 1, x_110); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_6); +lean_ctor_set(x_117, 1, x_11); x_118 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_5); -return x_118; +lean_ctor_set(x_118, 1, x_3); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_5); +return x_119; } else { -lean_object* x_119; uint8_t x_120; -lean_dec(x_19); -x_119 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_120 = lean_string_dec_eq(x_16, x_119); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_ctor_set(x_9, 1, x_25); -lean_ctor_set(x_8, 1, x_114); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_6); -lean_ctor_set(x_121, 1, x_11); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_3); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_5); -return x_123; -} -else -{ -lean_object* x_124; uint8_t x_125; +lean_object* x_120; uint8_t x_121; lean_dec(x_16); -x_124 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_125 = lean_string_dec_eq(x_13, x_124); -if (x_125 == 0) +x_120 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_121 = lean_string_dec_eq(x_13, x_120); +if (x_121 == 0) { -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_127 = lean_string_dec_eq(x_13, x_126); -if (x_127 == 0) +lean_object* x_122; uint8_t x_123; +x_122 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_123 = lean_string_dec_eq(x_13, x_122); +if (x_123 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_ctor_set(x_9, 1, x_25); -lean_ctor_set(x_8, 1, x_114); -lean_ctor_set(x_7, 1, x_119); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_6); -lean_ctor_set(x_128, 1, x_11); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_3); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_5); -return x_130; +lean_ctor_set(x_8, 1, x_110); +lean_ctor_set(x_7, 1, x_115); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_6); +lean_ctor_set(x_124, 1, x_11); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_3); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_5); +return x_126; } else { -lean_object* x_131; lean_object* x_132; uint8_t x_133; +lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_dec(x_13); -x_131 = lean_array_get_size(x_11); -x_132 = lean_unsigned_to_nat(2u); -x_133 = lean_nat_dec_eq(x_131, x_132); -lean_dec(x_131); -if (x_133 == 0) +x_127 = lean_array_get_size(x_11); +x_128 = lean_unsigned_to_nat(2u); +x_129 = lean_nat_dec_eq(x_127, x_128); +lean_dec(x_127); +if (x_129 == 0) { -lean_object* x_134; lean_object* x_135; lean_object* x_136; +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_ctor_set(x_9, 1, x_25); -lean_ctor_set(x_8, 1, x_114); +lean_ctor_set(x_8, 1, x_110); lean_ctor_set_usize(x_8, 2, x_23); -lean_ctor_set(x_7, 1, x_119); +lean_ctor_set(x_7, 1, x_115); lean_ctor_set_usize(x_7, 2, x_23); -lean_ctor_set(x_6, 1, x_126); +lean_ctor_set(x_6, 1, x_122); lean_ctor_set_usize(x_6, 2, x_23); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_6); -lean_ctor_set(x_134, 1, x_11); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_3); -x_136 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_5); -return x_136; +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_6); +lean_ctor_set(x_130, 1, x_11); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_3); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_5); +return x_132; } else { -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; uint8_t 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_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; uint8_t 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_free_object(x_9); lean_free_object(x_8); lean_free_object(x_7); lean_free_object(x_6); -x_137 = l_Lean_stxInh; -x_138 = lean_unsigned_to_nat(0u); -x_139 = lean_array_get(x_137, x_11, x_138); -x_140 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_139, x_3, x_4, x_5); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_141, 1); -lean_inc(x_144); -lean_dec(x_141); -x_145 = lean_unsigned_to_nat(1u); -x_146 = lean_array_get(x_137, x_11, x_145); +x_133 = l_Lean_stxInh; +x_134 = lean_unsigned_to_nat(0u); +x_135 = lean_array_get(x_133, x_11, x_134); +x_136 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_135, x_3, x_4, x_5); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = lean_ctor_get(x_137, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_137, 1); +lean_inc(x_140); +lean_dec(x_137); +x_141 = lean_unsigned_to_nat(1u); +x_142 = lean_array_get(x_133, x_11, x_141); lean_dec(x_11); -x_147 = 1; -x_148 = l_Lean_Elab_Term_expandCDotAux___main(x_147, x_146, x_144, x_4, x_142); -x_149 = lean_ctor_get(x_148, 0); +x_143 = 1; +x_144 = l_Lean_Elab_Term_expandCDotAux___main(x_143, x_142, x_140, x_4, x_138); +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_147 = x_144; +} else { + lean_dec_ref(x_144); + x_147 = lean_box(0); +} +x_148 = lean_ctor_get(x_145, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_145, 1); lean_inc(x_149); -x_150 = lean_ctor_get(x_148, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_151 = x_148; +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_150 = x_145; } else { - lean_dec_ref(x_148); - x_151 = lean_box(0); + lean_dec_ref(x_145); + x_150 = lean_box(0); } -x_152 = lean_ctor_get(x_149, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_149, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_149)) { - lean_ctor_release(x_149, 0); - lean_ctor_release(x_149, 1); - x_154 = x_149; +x_151 = lean_name_mk_string(x_10, x_25); +x_152 = lean_name_mk_string(x_151, x_110); +x_153 = lean_name_mk_string(x_152, x_115); +x_154 = lean_name_mk_string(x_153, x_122); +x_155 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_156 = lean_array_push(x_155, x_139); +x_157 = lean_array_push(x_156, x_148); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_154); +lean_ctor_set(x_158, 1, x_157); +if (lean_is_scalar(x_150)) { + x_159 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_149); - x_154 = lean_box(0); + x_159 = x_150; } -x_155 = lean_name_mk_string(x_10, x_25); -x_156 = lean_name_mk_string(x_155, x_114); -x_157 = lean_name_mk_string(x_156, x_119); -x_158 = lean_name_mk_string(x_157, x_126); -x_159 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_160 = lean_array_push(x_159, x_143); -x_161 = lean_array_push(x_160, x_152); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_158); -lean_ctor_set(x_162, 1, x_161); -if (lean_is_scalar(x_154)) { - x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_149); +if (lean_is_scalar(x_147)) { + x_160 = lean_alloc_ctor(0, 2, 0); } else { - x_163 = x_154; + x_160 = x_147; } -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_153); -if (lean_is_scalar(x_151)) { - x_164 = lean_alloc_ctor(0, 2, 0); -} else { - x_164 = x_151; -} -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_150); -return x_164; +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_146); +return x_160; } } } else { -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_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_dec(x_13); lean_ctor_set(x_9, 1, x_25); -lean_ctor_set(x_8, 1, x_114); +lean_ctor_set(x_8, 1, x_110); lean_ctor_set_usize(x_8, 2, x_23); -lean_ctor_set(x_7, 1, x_119); +lean_ctor_set(x_7, 1, x_115); lean_ctor_set_usize(x_7, 2, x_23); -lean_ctor_set(x_6, 1, x_124); +lean_ctor_set(x_6, 1, x_120); lean_ctor_set_usize(x_6, 2, x_23); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_6); -lean_ctor_set(x_165, 1, x_11); -x_166 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_165, x_4, x_5); -lean_dec(x_165); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_166)) { - lean_ctor_release(x_166, 0); - lean_ctor_release(x_166, 1); - x_169 = x_166; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_6); +lean_ctor_set(x_161, 1, x_11); +x_162 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_161, x_4, x_5); +lean_dec(x_161); +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_165 = x_162; } else { - lean_dec_ref(x_166); - x_169 = lean_box(0); + lean_dec_ref(x_162); + x_165 = lean_box(0); } -x_170 = l_Lean_Elab_Term_mkHole; -lean_inc(x_167); -x_171 = l_Lean_Elab_Term_mkExplicitBinder(x_167, x_170); -x_172 = lean_array_push(x_3, x_171); -x_173 = l_Lean_Elab_Term_mkTermIdFromIdent(x_167); -x_174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -if (lean_is_scalar(x_169)) { - x_175 = lean_alloc_ctor(0, 2, 0); +x_166 = l_Lean_Elab_Term_mkTermIdFromIdent(x_163); +lean_inc(x_166); +x_167 = lean_array_push(x_3, x_166); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +if (lean_is_scalar(x_165)) { + x_169 = lean_alloc_ctor(0, 2, 0); } else { - x_175 = x_169; + x_169 = x_165; } -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_168); -return x_175; +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_164); +return x_169; } } } @@ -11333,17 +11366,17 @@ return x_175; } else { -lean_object* x_176; size_t x_177; lean_object* x_178; uint8_t x_179; -x_176 = lean_ctor_get(x_9, 1); -x_177 = lean_ctor_get_usize(x_9, 2); -lean_inc(x_176); +lean_object* x_170; size_t x_171; lean_object* x_172; uint8_t x_173; +x_170 = lean_ctor_get(x_9, 1); +x_171 = lean_ctor_get_usize(x_9, 2); +lean_inc(x_170); lean_dec(x_9); -x_178 = l_Lean_nameToExprAux___main___closed__1; -x_179 = lean_string_dec_eq(x_176, x_178); -lean_dec(x_176); -if (x_179 == 0) +x_172 = l_Lean_nameToExprAux___main___closed__1; +x_173 = lean_string_dec_eq(x_170, x_172); +lean_dec(x_170); +if (x_173 == 0) { -lean_object* x_180; lean_object* x_181; +lean_object* x_174; lean_object* x_175; lean_free_object(x_8); lean_dec(x_19); lean_free_object(x_7); @@ -11351,39 +11384,69 @@ lean_dec(x_16); lean_free_object(x_6); lean_dec(x_13); lean_dec(x_11); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_2); -lean_ctor_set(x_180, 1, x_3); -x_181 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_5); -return x_181; +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_2); +lean_ctor_set(x_174, 1, x_3); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_5); +return x_175; } else { -lean_object* x_182; lean_object* x_183; uint8_t x_184; +lean_object* x_176; lean_object* x_177; uint8_t x_178; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_182 = x_2; + x_176 = x_2; } else { lean_dec_ref(x_2); - x_182 = lean_box(0); + x_176 = lean_box(0); } -x_183 = l_Lean_Syntax_formatStx___main___closed__5; -x_184 = lean_string_dec_eq(x_19, x_183); +x_177 = l_Lean_Syntax_formatStx___main___closed__5; +x_178 = lean_string_dec_eq(x_19, x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_179 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_179, 0, x_10); +lean_ctor_set(x_179, 1, x_172); +lean_ctor_set_usize(x_179, 2, x_171); +lean_ctor_set(x_8, 0, x_179); +if (lean_is_scalar(x_176)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_176; +} +lean_ctor_set(x_180, 0, x_6); +lean_ctor_set(x_180, 1, x_11); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_3); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_5); +return x_182; +} +else +{ +lean_object* x_183; uint8_t x_184; +lean_dec(x_19); +x_183 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_184 = lean_string_dec_eq(x_16, x_183); if (x_184 == 0) { lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; x_185 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_185, 0, x_10); -lean_ctor_set(x_185, 1, x_178); -lean_ctor_set_usize(x_185, 2, x_177); +lean_ctor_set(x_185, 1, x_172); +lean_ctor_set_usize(x_185, 2, x_171); +lean_ctor_set(x_8, 1, x_177); lean_ctor_set(x_8, 0, x_185); -if (lean_is_scalar(x_182)) { +if (lean_is_scalar(x_176)) { x_186 = lean_alloc_ctor(1, 2, 0); } else { - x_186 = x_182; + x_186 = x_176; } lean_ctor_set(x_186, 0, x_6); lean_ctor_set(x_186, 1, x_11); @@ -11398,239 +11461,207 @@ return x_188; else { lean_object* x_189; uint8_t x_190; -lean_dec(x_19); -x_189 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_190 = lean_string_dec_eq(x_16, x_189); +lean_dec(x_16); +x_189 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_190 = lean_string_dec_eq(x_13, x_189); if (x_190 == 0) { -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_191 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_191, 0, x_10); -lean_ctor_set(x_191, 1, x_178); -lean_ctor_set_usize(x_191, 2, x_177); -lean_ctor_set(x_8, 1, x_183); -lean_ctor_set(x_8, 0, x_191); -if (lean_is_scalar(x_182)) { - x_192 = lean_alloc_ctor(1, 2, 0); +lean_object* x_191; uint8_t x_192; +x_191 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_192 = lean_string_dec_eq(x_13, x_191); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_193 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_193, 0, x_10); +lean_ctor_set(x_193, 1, x_172); +lean_ctor_set_usize(x_193, 2, x_171); +lean_ctor_set(x_8, 1, x_177); +lean_ctor_set(x_8, 0, x_193); +lean_ctor_set(x_7, 1, x_183); +if (lean_is_scalar(x_176)) { + x_194 = lean_alloc_ctor(1, 2, 0); } else { - x_192 = x_182; + x_194 = x_176; } -lean_ctor_set(x_192, 0, x_6); -lean_ctor_set(x_192, 1, x_11); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_3); -x_194 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_5); -return x_194; +lean_ctor_set(x_194, 0, x_6); +lean_ctor_set(x_194, 1, x_11); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_3); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_5); +return x_196; } else { -lean_object* x_195; uint8_t x_196; -lean_dec(x_16); -x_195 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_196 = lean_string_dec_eq(x_13, x_195); -if (x_196 == 0) +lean_object* x_197; lean_object* x_198; uint8_t x_199; +lean_dec(x_13); +x_197 = lean_array_get_size(x_11); +x_198 = lean_unsigned_to_nat(2u); +x_199 = lean_nat_dec_eq(x_197, x_198); +lean_dec(x_197); +if (x_199 == 0) { -lean_object* x_197; uint8_t x_198; -x_197 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_198 = lean_string_dec_eq(x_13, x_197); -if (x_198 == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_199 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_199, 0, x_10); -lean_ctor_set(x_199, 1, x_178); -lean_ctor_set_usize(x_199, 2, x_177); -lean_ctor_set(x_8, 1, x_183); -lean_ctor_set(x_8, 0, x_199); -lean_ctor_set(x_7, 1, x_189); -if (lean_is_scalar(x_182)) { - x_200 = lean_alloc_ctor(1, 2, 0); +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_200 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_200, 0, x_10); +lean_ctor_set(x_200, 1, x_172); +lean_ctor_set_usize(x_200, 2, x_171); +lean_ctor_set(x_8, 1, x_177); +lean_ctor_set(x_8, 0, x_200); +lean_ctor_set_usize(x_8, 2, x_171); +lean_ctor_set(x_7, 1, x_183); +lean_ctor_set_usize(x_7, 2, x_171); +lean_ctor_set(x_6, 1, x_191); +lean_ctor_set_usize(x_6, 2, x_171); +if (lean_is_scalar(x_176)) { + x_201 = lean_alloc_ctor(1, 2, 0); } else { - x_200 = x_182; + x_201 = x_176; } -lean_ctor_set(x_200, 0, x_6); -lean_ctor_set(x_200, 1, x_11); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_3); +lean_ctor_set(x_201, 0, x_6); +lean_ctor_set(x_201, 1, x_11); x_202 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_5); -return x_202; +lean_ctor_set(x_202, 1, x_3); +x_203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_5); +return x_203; } else { -lean_object* x_203; lean_object* x_204; uint8_t x_205; -lean_dec(x_13); -x_203 = lean_array_get_size(x_11); -x_204 = lean_unsigned_to_nat(2u); -x_205 = lean_nat_dec_eq(x_203, x_204); -lean_dec(x_203); -if (x_205 == 0) -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_206 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_206, 0, x_10); -lean_ctor_set(x_206, 1, x_178); -lean_ctor_set_usize(x_206, 2, x_177); -lean_ctor_set(x_8, 1, x_183); -lean_ctor_set(x_8, 0, x_206); -lean_ctor_set_usize(x_8, 2, x_177); -lean_ctor_set(x_7, 1, x_189); -lean_ctor_set_usize(x_7, 2, x_177); -lean_ctor_set(x_6, 1, x_197); -lean_ctor_set_usize(x_6, 2, x_177); -if (lean_is_scalar(x_182)) { - x_207 = lean_alloc_ctor(1, 2, 0); -} else { - x_207 = x_182; -} -lean_ctor_set(x_207, 0, x_6); -lean_ctor_set(x_207, 1, x_11); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_3); -x_209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_5); -return x_209; -} -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_object* x_219; uint8_t 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_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; uint8_t 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_free_object(x_8); lean_free_object(x_7); lean_free_object(x_6); -x_210 = l_Lean_stxInh; -x_211 = lean_unsigned_to_nat(0u); -x_212 = lean_array_get(x_210, x_11, x_211); -x_213 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_212, x_3, x_4, x_5); -x_214 = lean_ctor_get(x_213, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_213, 1); -lean_inc(x_215); -lean_dec(x_213); -x_216 = lean_ctor_get(x_214, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_214, 1); -lean_inc(x_217); -lean_dec(x_214); -x_218 = lean_unsigned_to_nat(1u); -x_219 = lean_array_get(x_210, x_11, x_218); +x_204 = l_Lean_stxInh; +x_205 = lean_unsigned_to_nat(0u); +x_206 = lean_array_get(x_204, x_11, x_205); +x_207 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_206, x_3, x_4, x_5); +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +lean_dec(x_207); +x_210 = lean_ctor_get(x_208, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_208, 1); +lean_inc(x_211); +lean_dec(x_208); +x_212 = lean_unsigned_to_nat(1u); +x_213 = lean_array_get(x_204, x_11, x_212); lean_dec(x_11); -x_220 = 1; -x_221 = l_Lean_Elab_Term_expandCDotAux___main(x_220, x_219, x_217, x_4, x_215); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -if (lean_is_exclusive(x_221)) { - lean_ctor_release(x_221, 0); - lean_ctor_release(x_221, 1); - x_224 = x_221; +x_214 = 1; +x_215 = l_Lean_Elab_Term_expandCDotAux___main(x_214, x_213, x_211, x_4, x_209); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_218 = x_215; } else { - lean_dec_ref(x_221); - x_224 = lean_box(0); + lean_dec_ref(x_215); + x_218 = lean_box(0); } -x_225 = lean_ctor_get(x_222, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_222, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_227 = x_222; +x_219 = lean_ctor_get(x_216, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_216, 1); +lean_inc(x_220); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_221 = x_216; } else { - lean_dec_ref(x_222); - x_227 = lean_box(0); + lean_dec_ref(x_216); + x_221 = lean_box(0); } -x_228 = lean_name_mk_string(x_10, x_178); -x_229 = lean_name_mk_string(x_228, x_183); -x_230 = lean_name_mk_string(x_229, x_189); -x_231 = lean_name_mk_string(x_230, x_197); -x_232 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_233 = lean_array_push(x_232, x_216); -x_234 = lean_array_push(x_233, x_225); -if (lean_is_scalar(x_182)) { - x_235 = lean_alloc_ctor(1, 2, 0); +x_222 = lean_name_mk_string(x_10, x_172); +x_223 = lean_name_mk_string(x_222, x_177); +x_224 = lean_name_mk_string(x_223, x_183); +x_225 = lean_name_mk_string(x_224, x_191); +x_226 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_227 = lean_array_push(x_226, x_210); +x_228 = lean_array_push(x_227, x_219); +if (lean_is_scalar(x_176)) { + x_229 = lean_alloc_ctor(1, 2, 0); } else { - x_235 = x_182; + x_229 = x_176; } -lean_ctor_set(x_235, 0, x_231); -lean_ctor_set(x_235, 1, x_234); -if (lean_is_scalar(x_227)) { - x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_225); +lean_ctor_set(x_229, 1, x_228); +if (lean_is_scalar(x_221)) { + x_230 = lean_alloc_ctor(0, 2, 0); } else { - x_236 = x_227; + x_230 = x_221; } -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_226); -if (lean_is_scalar(x_224)) { - x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_220); +if (lean_is_scalar(x_218)) { + x_231 = lean_alloc_ctor(0, 2, 0); } else { - x_237 = x_224; + x_231 = x_218; } -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_223); -return x_237; +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_217); +return x_231; } } } else { -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_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_dec(x_13); -x_238 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_238, 0, x_10); -lean_ctor_set(x_238, 1, x_178); -lean_ctor_set_usize(x_238, 2, x_177); -lean_ctor_set(x_8, 1, x_183); -lean_ctor_set(x_8, 0, x_238); -lean_ctor_set_usize(x_8, 2, x_177); -lean_ctor_set(x_7, 1, x_189); -lean_ctor_set_usize(x_7, 2, x_177); -lean_ctor_set(x_6, 1, x_195); -lean_ctor_set_usize(x_6, 2, x_177); -if (lean_is_scalar(x_182)) { - x_239 = lean_alloc_ctor(1, 2, 0); +x_232 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_232, 0, x_10); +lean_ctor_set(x_232, 1, x_172); +lean_ctor_set_usize(x_232, 2, x_171); +lean_ctor_set(x_8, 1, x_177); +lean_ctor_set(x_8, 0, x_232); +lean_ctor_set_usize(x_8, 2, x_171); +lean_ctor_set(x_7, 1, x_183); +lean_ctor_set_usize(x_7, 2, x_171); +lean_ctor_set(x_6, 1, x_189); +lean_ctor_set_usize(x_6, 2, x_171); +if (lean_is_scalar(x_176)) { + x_233 = lean_alloc_ctor(1, 2, 0); } else { - x_239 = x_182; + x_233 = x_176; } -lean_ctor_set(x_239, 0, x_6); -lean_ctor_set(x_239, 1, x_11); -x_240 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_239, x_4, x_5); -lean_dec(x_239); -x_241 = lean_ctor_get(x_240, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 1); -lean_inc(x_242); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - x_243 = x_240; +lean_ctor_set(x_233, 0, x_6); +lean_ctor_set(x_233, 1, x_11); +x_234 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_233, x_4, x_5); +lean_dec(x_233); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_234, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_237 = x_234; } else { - lean_dec_ref(x_240); - x_243 = lean_box(0); + lean_dec_ref(x_234); + x_237 = lean_box(0); } -x_244 = l_Lean_Elab_Term_mkHole; -lean_inc(x_241); -x_245 = l_Lean_Elab_Term_mkExplicitBinder(x_241, x_244); -x_246 = lean_array_push(x_3, x_245); -x_247 = l_Lean_Elab_Term_mkTermIdFromIdent(x_241); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -if (lean_is_scalar(x_243)) { - x_249 = lean_alloc_ctor(0, 2, 0); +x_238 = l_Lean_Elab_Term_mkTermIdFromIdent(x_235); +lean_inc(x_238); +x_239 = lean_array_push(x_3, x_238); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_238); +lean_ctor_set(x_240, 1, x_239); +if (lean_is_scalar(x_237)) { + x_241 = lean_alloc_ctor(0, 2, 0); } else { - x_249 = x_243; + x_241 = x_237; } -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_242); -return x_249; +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_236); +return x_241; } } } @@ -11639,37 +11670,81 @@ return x_249; } else { -lean_object* x_250; size_t x_251; lean_object* x_252; size_t x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; -x_250 = lean_ctor_get(x_8, 1); -x_251 = lean_ctor_get_usize(x_8, 2); -lean_inc(x_250); +lean_object* x_242; size_t x_243; lean_object* x_244; size_t x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +x_242 = lean_ctor_get(x_8, 1); +x_243 = lean_ctor_get_usize(x_8, 2); +lean_inc(x_242); lean_dec(x_8); -x_252 = lean_ctor_get(x_9, 1); -lean_inc(x_252); -x_253 = lean_ctor_get_usize(x_9, 2); +x_244 = lean_ctor_get(x_9, 1); +lean_inc(x_244); +x_245 = lean_ctor_get_usize(x_9, 2); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); - x_254 = x_9; + x_246 = x_9; } else { lean_dec_ref(x_9); - x_254 = lean_box(0); + x_246 = lean_box(0); } -x_255 = l_Lean_nameToExprAux___main___closed__1; -x_256 = lean_string_dec_eq(x_252, x_255); -lean_dec(x_252); -if (x_256 == 0) +x_247 = l_Lean_nameToExprAux___main___closed__1; +x_248 = lean_string_dec_eq(x_244, x_247); +lean_dec(x_244); +if (x_248 == 0) { -lean_object* x_257; lean_object* x_258; -lean_dec(x_254); -lean_dec(x_250); +lean_object* x_249; lean_object* x_250; +lean_dec(x_246); +lean_dec(x_242); lean_free_object(x_7); lean_dec(x_16); lean_free_object(x_6); lean_dec(x_13); lean_dec(x_11); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_2); +lean_ctor_set(x_249, 1, x_3); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_5); +return x_250; +} +else +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_251 = x_2; +} else { + lean_dec_ref(x_2); + x_251 = lean_box(0); +} +x_252 = l_Lean_Syntax_formatStx___main___closed__5; +x_253 = lean_string_dec_eq(x_242, x_252); +if (x_253 == 0) +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; +if (lean_is_scalar(x_246)) { + x_254 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_254 = x_246; +} +lean_ctor_set(x_254, 0, x_10); +lean_ctor_set(x_254, 1, x_247); +lean_ctor_set_usize(x_254, 2, x_245); +x_255 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_242); +lean_ctor_set_usize(x_255, 2, x_243); +lean_ctor_set(x_7, 0, x_255); +if (lean_is_scalar(x_251)) { + x_256 = lean_alloc_ctor(1, 2, 0); +} else { + x_256 = x_251; +} +lean_ctor_set(x_256, 0, x_6); +lean_ctor_set(x_256, 1, x_11); x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_2); +lean_ctor_set(x_257, 0, x_256); lean_ctor_set(x_257, 1, x_3); x_258 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_258, 0, x_257); @@ -11678,117 +11753,116 @@ return x_258; } else { -lean_object* x_259; lean_object* x_260; uint8_t x_261; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_259 = x_2; -} else { - lean_dec_ref(x_2); - x_259 = lean_box(0); -} -x_260 = l_Lean_Syntax_formatStx___main___closed__5; -x_261 = lean_string_dec_eq(x_250, x_260); -if (x_261 == 0) +lean_object* x_259; uint8_t x_260; +lean_dec(x_242); +x_259 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_260 = lean_string_dec_eq(x_16, x_259); +if (x_260 == 0) { -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -if (lean_is_scalar(x_254)) { - x_262 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +if (lean_is_scalar(x_246)) { + x_261 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_262 = x_254; + x_261 = x_246; } -lean_ctor_set(x_262, 0, x_10); -lean_ctor_set(x_262, 1, x_255); -lean_ctor_set_usize(x_262, 2, x_253); -x_263 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_250); -lean_ctor_set_usize(x_263, 2, x_251); -lean_ctor_set(x_7, 0, x_263); -if (lean_is_scalar(x_259)) { - x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_10); +lean_ctor_set(x_261, 1, x_247); +lean_ctor_set_usize(x_261, 2, x_245); +x_262 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_252); +lean_ctor_set_usize(x_262, 2, x_243); +lean_ctor_set(x_7, 0, x_262); +if (lean_is_scalar(x_251)) { + x_263 = lean_alloc_ctor(1, 2, 0); } else { - x_264 = x_259; + x_263 = x_251; } -lean_ctor_set(x_264, 0, x_6); -lean_ctor_set(x_264, 1, x_11); +lean_ctor_set(x_263, 0, x_6); +lean_ctor_set(x_263, 1, x_11); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_3); x_265 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_3); -x_266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_5); -return x_266; +lean_ctor_set(x_265, 1, x_5); +return x_265; } else { -lean_object* x_267; uint8_t x_268; -lean_dec(x_250); -x_267 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_268 = lean_string_dec_eq(x_16, x_267); -if (x_268 == 0) +lean_object* x_266; uint8_t x_267; +lean_dec(x_16); +x_266 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_267 = lean_string_dec_eq(x_13, x_266); +if (x_267 == 0) { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -if (lean_is_scalar(x_254)) { - x_269 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_268; uint8_t x_269; +x_268 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_269 = lean_string_dec_eq(x_13, x_268); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +if (lean_is_scalar(x_246)) { + x_270 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_269 = x_254; + x_270 = x_246; } -lean_ctor_set(x_269, 0, x_10); -lean_ctor_set(x_269, 1, x_255); -lean_ctor_set_usize(x_269, 2, x_253); -x_270 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_260); -lean_ctor_set_usize(x_270, 2, x_251); -lean_ctor_set(x_7, 0, x_270); -if (lean_is_scalar(x_259)) { - x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_10); +lean_ctor_set(x_270, 1, x_247); +lean_ctor_set_usize(x_270, 2, x_245); +x_271 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_252); +lean_ctor_set_usize(x_271, 2, x_243); +lean_ctor_set(x_7, 1, x_259); +lean_ctor_set(x_7, 0, x_271); +if (lean_is_scalar(x_251)) { + x_272 = lean_alloc_ctor(1, 2, 0); } else { - x_271 = x_259; + x_272 = x_251; } -lean_ctor_set(x_271, 0, x_6); -lean_ctor_set(x_271, 1, x_11); -x_272 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_3); +lean_ctor_set(x_272, 0, x_6); +lean_ctor_set(x_272, 1, x_11); x_273 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_5); -return x_273; +lean_ctor_set(x_273, 1, x_3); +x_274 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_5); +return x_274; } else { -lean_object* x_274; uint8_t x_275; -lean_dec(x_16); -x_274 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_275 = lean_string_dec_eq(x_13, x_274); -if (x_275 == 0) -{ -lean_object* x_276; uint8_t x_277; -x_276 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_277 = lean_string_dec_eq(x_13, x_276); +lean_object* x_275; lean_object* x_276; uint8_t x_277; +lean_dec(x_13); +x_275 = lean_array_get_size(x_11); +x_276 = lean_unsigned_to_nat(2u); +x_277 = lean_nat_dec_eq(x_275, x_276); +lean_dec(x_275); if (x_277 == 0) { lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -if (lean_is_scalar(x_254)) { +if (lean_is_scalar(x_246)) { x_278 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_278 = x_254; + x_278 = x_246; } lean_ctor_set(x_278, 0, x_10); -lean_ctor_set(x_278, 1, x_255); -lean_ctor_set_usize(x_278, 2, x_253); +lean_ctor_set(x_278, 1, x_247); +lean_ctor_set_usize(x_278, 2, x_245); x_279 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_260); -lean_ctor_set_usize(x_279, 2, x_251); -lean_ctor_set(x_7, 1, x_267); +lean_ctor_set(x_279, 1, x_252); +lean_ctor_set_usize(x_279, 2, x_245); +lean_ctor_set(x_7, 1, x_259); lean_ctor_set(x_7, 0, x_279); -if (lean_is_scalar(x_259)) { +lean_ctor_set_usize(x_7, 2, x_245); +lean_ctor_set(x_6, 1, x_268); +lean_ctor_set_usize(x_6, 2, x_245); +if (lean_is_scalar(x_251)) { x_280 = lean_alloc_ctor(1, 2, 0); } else { - x_280 = x_259; + x_280 = x_251; } lean_ctor_set(x_280, 0, x_6); lean_ctor_set(x_280, 1, x_11); @@ -11802,186 +11876,141 @@ return x_282; } else { -lean_object* x_283; lean_object* x_284; uint8_t x_285; -lean_dec(x_13); -x_283 = lean_array_get_size(x_11); -x_284 = lean_unsigned_to_nat(2u); -x_285 = lean_nat_dec_eq(x_283, x_284); -lean_dec(x_283); -if (x_285 == 0) -{ -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -if (lean_is_scalar(x_254)) { - x_286 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_286 = x_254; -} -lean_ctor_set(x_286, 0, x_10); -lean_ctor_set(x_286, 1, x_255); -lean_ctor_set_usize(x_286, 2, x_253); -x_287 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_260); -lean_ctor_set_usize(x_287, 2, x_253); -lean_ctor_set(x_7, 1, x_267); -lean_ctor_set(x_7, 0, x_287); -lean_ctor_set_usize(x_7, 2, x_253); -lean_ctor_set(x_6, 1, x_276); -lean_ctor_set_usize(x_6, 2, x_253); -if (lean_is_scalar(x_259)) { - x_288 = lean_alloc_ctor(1, 2, 0); -} else { - x_288 = x_259; -} -lean_ctor_set(x_288, 0, x_6); -lean_ctor_set(x_288, 1, x_11); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_3); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_5); -return x_290; -} -else -{ -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; uint8_t 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_dec(x_254); +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; uint8_t 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_dec(x_246); lean_free_object(x_7); lean_free_object(x_6); -x_291 = l_Lean_stxInh; -x_292 = lean_unsigned_to_nat(0u); -x_293 = lean_array_get(x_291, x_11, x_292); -x_294 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_293, x_3, x_4, x_5); +x_283 = l_Lean_stxInh; +x_284 = lean_unsigned_to_nat(0u); +x_285 = lean_array_get(x_283, x_11, x_284); +x_286 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_285, x_3, x_4, x_5); +x_287 = lean_ctor_get(x_286, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_286, 1); +lean_inc(x_288); +lean_dec(x_286); +x_289 = lean_ctor_get(x_287, 0); +lean_inc(x_289); +x_290 = lean_ctor_get(x_287, 1); +lean_inc(x_290); +lean_dec(x_287); +x_291 = lean_unsigned_to_nat(1u); +x_292 = lean_array_get(x_283, x_11, x_291); +lean_dec(x_11); +x_293 = 1; +x_294 = l_Lean_Elab_Term_expandCDotAux___main(x_293, x_292, x_290, x_4, x_288); x_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); x_296 = lean_ctor_get(x_294, 1); lean_inc(x_296); -lean_dec(x_294); -x_297 = lean_ctor_get(x_295, 0); -lean_inc(x_297); -x_298 = lean_ctor_get(x_295, 1); +if (lean_is_exclusive(x_294)) { + lean_ctor_release(x_294, 0); + lean_ctor_release(x_294, 1); + x_297 = x_294; +} else { + lean_dec_ref(x_294); + x_297 = lean_box(0); +} +x_298 = lean_ctor_get(x_295, 0); lean_inc(x_298); -lean_dec(x_295); -x_299 = lean_unsigned_to_nat(1u); -x_300 = lean_array_get(x_291, x_11, x_299); -lean_dec(x_11); -x_301 = 1; -x_302 = l_Lean_Elab_Term_expandCDotAux___main(x_301, x_300, x_298, x_4, x_296); -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - x_305 = x_302; +x_299 = lean_ctor_get(x_295, 1); +lean_inc(x_299); +if (lean_is_exclusive(x_295)) { + lean_ctor_release(x_295, 0); + lean_ctor_release(x_295, 1); + x_300 = x_295; } else { - lean_dec_ref(x_302); - x_305 = lean_box(0); + lean_dec_ref(x_295); + x_300 = lean_box(0); } -x_306 = lean_ctor_get(x_303, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_303, 1); -lean_inc(x_307); -if (lean_is_exclusive(x_303)) { - lean_ctor_release(x_303, 0); - lean_ctor_release(x_303, 1); - x_308 = x_303; +x_301 = lean_name_mk_string(x_10, x_247); +x_302 = lean_name_mk_string(x_301, x_252); +x_303 = lean_name_mk_string(x_302, x_259); +x_304 = lean_name_mk_string(x_303, x_268); +x_305 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_306 = lean_array_push(x_305, x_289); +x_307 = lean_array_push(x_306, x_298); +if (lean_is_scalar(x_251)) { + x_308 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_303); - x_308 = lean_box(0); + x_308 = x_251; } -x_309 = lean_name_mk_string(x_10, x_255); -x_310 = lean_name_mk_string(x_309, x_260); -x_311 = lean_name_mk_string(x_310, x_267); -x_312 = lean_name_mk_string(x_311, x_276); -x_313 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_314 = lean_array_push(x_313, x_297); -x_315 = lean_array_push(x_314, x_306); -if (lean_is_scalar(x_259)) { - x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_304); +lean_ctor_set(x_308, 1, x_307); +if (lean_is_scalar(x_300)) { + x_309 = lean_alloc_ctor(0, 2, 0); } else { - x_316 = x_259; + x_309 = x_300; } -lean_ctor_set(x_316, 0, x_312); -lean_ctor_set(x_316, 1, x_315); -if (lean_is_scalar(x_308)) { - x_317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_299); +if (lean_is_scalar(x_297)) { + x_310 = lean_alloc_ctor(0, 2, 0); } else { - x_317 = x_308; + x_310 = x_297; } -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_307); -if (lean_is_scalar(x_305)) { - x_318 = lean_alloc_ctor(0, 2, 0); -} else { - x_318 = x_305; -} -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_304); -return x_318; +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_296); +return x_310; } } } else { -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_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_dec(x_13); -if (lean_is_scalar(x_254)) { - x_319 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_246)) { + x_311 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_319 = x_254; + x_311 = x_246; } -lean_ctor_set(x_319, 0, x_10); -lean_ctor_set(x_319, 1, x_255); -lean_ctor_set_usize(x_319, 2, x_253); -x_320 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_260); -lean_ctor_set_usize(x_320, 2, x_253); -lean_ctor_set(x_7, 1, x_267); -lean_ctor_set(x_7, 0, x_320); -lean_ctor_set_usize(x_7, 2, x_253); -lean_ctor_set(x_6, 1, x_274); -lean_ctor_set_usize(x_6, 2, x_253); -if (lean_is_scalar(x_259)) { - x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_311, 0, x_10); +lean_ctor_set(x_311, 1, x_247); +lean_ctor_set_usize(x_311, 2, x_245); +x_312 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_252); +lean_ctor_set_usize(x_312, 2, x_245); +lean_ctor_set(x_7, 1, x_259); +lean_ctor_set(x_7, 0, x_312); +lean_ctor_set_usize(x_7, 2, x_245); +lean_ctor_set(x_6, 1, x_266); +lean_ctor_set_usize(x_6, 2, x_245); +if (lean_is_scalar(x_251)) { + x_313 = lean_alloc_ctor(1, 2, 0); } else { - x_321 = x_259; + x_313 = x_251; } -lean_ctor_set(x_321, 0, x_6); -lean_ctor_set(x_321, 1, x_11); -x_322 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_321, x_4, x_5); -lean_dec(x_321); -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - lean_ctor_release(x_322, 1); - x_325 = x_322; +lean_ctor_set(x_313, 0, x_6); +lean_ctor_set(x_313, 1, x_11); +x_314 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_313, x_4, x_5); +lean_dec(x_313); +x_315 = lean_ctor_get(x_314, 0); +lean_inc(x_315); +x_316 = lean_ctor_get(x_314, 1); +lean_inc(x_316); +if (lean_is_exclusive(x_314)) { + lean_ctor_release(x_314, 0); + lean_ctor_release(x_314, 1); + x_317 = x_314; } else { - lean_dec_ref(x_322); - x_325 = lean_box(0); + lean_dec_ref(x_314); + x_317 = lean_box(0); } -x_326 = l_Lean_Elab_Term_mkHole; -lean_inc(x_323); -x_327 = l_Lean_Elab_Term_mkExplicitBinder(x_323, x_326); -x_328 = lean_array_push(x_3, x_327); -x_329 = l_Lean_Elab_Term_mkTermIdFromIdent(x_323); -x_330 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_328); -if (lean_is_scalar(x_325)) { - x_331 = lean_alloc_ctor(0, 2, 0); +x_318 = l_Lean_Elab_Term_mkTermIdFromIdent(x_315); +lean_inc(x_318); +x_319 = lean_array_push(x_3, x_318); +x_320 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_320, 0, x_318); +lean_ctor_set(x_320, 1, x_319); +if (lean_is_scalar(x_317)) { + x_321 = lean_alloc_ctor(0, 2, 0); } else { - x_331 = x_325; + x_321 = x_317; } -lean_ctor_set(x_331, 0, x_330); -lean_ctor_set(x_331, 1, x_324); -return x_331; +lean_ctor_set(x_321, 0, x_320); +lean_ctor_set(x_321, 1, x_316); +return x_321; } } } @@ -11990,140 +12019,190 @@ return x_331; } else { -lean_object* x_332; size_t x_333; lean_object* x_334; size_t x_335; lean_object* x_336; lean_object* x_337; size_t x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; -x_332 = lean_ctor_get(x_7, 1); -x_333 = lean_ctor_get_usize(x_7, 2); -lean_inc(x_332); +lean_object* x_322; size_t x_323; lean_object* x_324; size_t x_325; lean_object* x_326; lean_object* x_327; size_t x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; +x_322 = lean_ctor_get(x_7, 1); +x_323 = lean_ctor_get_usize(x_7, 2); +lean_inc(x_322); lean_dec(x_7); -x_334 = lean_ctor_get(x_8, 1); -lean_inc(x_334); -x_335 = lean_ctor_get_usize(x_8, 2); +x_324 = lean_ctor_get(x_8, 1); +lean_inc(x_324); +x_325 = lean_ctor_get_usize(x_8, 2); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_336 = x_8; + x_326 = x_8; } else { lean_dec_ref(x_8); - x_336 = lean_box(0); + x_326 = lean_box(0); } -x_337 = lean_ctor_get(x_9, 1); -lean_inc(x_337); -x_338 = lean_ctor_get_usize(x_9, 2); +x_327 = lean_ctor_get(x_9, 1); +lean_inc(x_327); +x_328 = lean_ctor_get_usize(x_9, 2); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); - x_339 = x_9; + x_329 = x_9; } else { lean_dec_ref(x_9); - x_339 = lean_box(0); + x_329 = lean_box(0); } -x_340 = l_Lean_nameToExprAux___main___closed__1; -x_341 = lean_string_dec_eq(x_337, x_340); -lean_dec(x_337); -if (x_341 == 0) +x_330 = l_Lean_nameToExprAux___main___closed__1; +x_331 = lean_string_dec_eq(x_327, x_330); +lean_dec(x_327); +if (x_331 == 0) { -lean_object* x_342; lean_object* x_343; -lean_dec(x_339); -lean_dec(x_336); -lean_dec(x_334); -lean_dec(x_332); +lean_object* x_332; lean_object* x_333; +lean_dec(x_329); +lean_dec(x_326); +lean_dec(x_324); +lean_dec(x_322); lean_free_object(x_6); lean_dec(x_13); lean_dec(x_11); -x_342 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_342, 0, x_2); -lean_ctor_set(x_342, 1, x_3); -x_343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_5); -return x_343; +x_332 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_332, 0, x_2); +lean_ctor_set(x_332, 1, x_3); +x_333 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_5); +return x_333; } else { -lean_object* x_344; lean_object* x_345; uint8_t x_346; +lean_object* x_334; lean_object* x_335; uint8_t x_336; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_344 = x_2; + x_334 = x_2; } else { lean_dec_ref(x_2); - x_344 = lean_box(0); + x_334 = lean_box(0); } -x_345 = l_Lean_Syntax_formatStx___main___closed__5; -x_346 = lean_string_dec_eq(x_334, x_345); -if (x_346 == 0) +x_335 = l_Lean_Syntax_formatStx___main___closed__5; +x_336 = lean_string_dec_eq(x_324, x_335); +if (x_336 == 0) { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -if (lean_is_scalar(x_339)) { - x_347 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +if (lean_is_scalar(x_329)) { + x_337 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_347 = x_339; + x_337 = x_329; } -lean_ctor_set(x_347, 0, x_10); -lean_ctor_set(x_347, 1, x_340); -lean_ctor_set_usize(x_347, 2, x_338); -if (lean_is_scalar(x_336)) { - x_348 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_337, 0, x_10); +lean_ctor_set(x_337, 1, x_330); +lean_ctor_set_usize(x_337, 2, x_328); +if (lean_is_scalar(x_326)) { + x_338 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_348 = x_336; + x_338 = x_326; } -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_334); -lean_ctor_set_usize(x_348, 2, x_335); -x_349 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_349, 0, x_348); -lean_ctor_set(x_349, 1, x_332); -lean_ctor_set_usize(x_349, 2, x_333); -lean_ctor_set(x_6, 0, x_349); -if (lean_is_scalar(x_344)) { - x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_324); +lean_ctor_set_usize(x_338, 2, x_325); +x_339 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_322); +lean_ctor_set_usize(x_339, 2, x_323); +lean_ctor_set(x_6, 0, x_339); +if (lean_is_scalar(x_334)) { + x_340 = lean_alloc_ctor(1, 2, 0); } else { - x_350 = x_344; + x_340 = x_334; } -lean_ctor_set(x_350, 0, x_6); -lean_ctor_set(x_350, 1, x_11); -x_351 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_3); -x_352 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_5); -return x_352; +lean_ctor_set(x_340, 0, x_6); +lean_ctor_set(x_340, 1, x_11); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_3); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_5); +return x_342; } else { +lean_object* x_343; uint8_t x_344; +lean_dec(x_324); +x_343 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_344 = lean_string_dec_eq(x_322, x_343); +if (x_344 == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; +if (lean_is_scalar(x_329)) { + x_345 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_345 = x_329; +} +lean_ctor_set(x_345, 0, x_10); +lean_ctor_set(x_345, 1, x_330); +lean_ctor_set_usize(x_345, 2, x_328); +if (lean_is_scalar(x_326)) { + x_346 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_346 = x_326; +} +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_335); +lean_ctor_set_usize(x_346, 2, x_325); +x_347 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_322); +lean_ctor_set_usize(x_347, 2, x_323); +lean_ctor_set(x_6, 0, x_347); +if (lean_is_scalar(x_334)) { + x_348 = lean_alloc_ctor(1, 2, 0); +} else { + x_348 = x_334; +} +lean_ctor_set(x_348, 0, x_6); +lean_ctor_set(x_348, 1, x_11); +x_349 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_349, 0, x_348); +lean_ctor_set(x_349, 1, x_3); +x_350 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_5); +return x_350; +} +else +{ +lean_object* x_351; uint8_t x_352; +lean_dec(x_322); +x_351 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_352 = lean_string_dec_eq(x_13, x_351); +if (x_352 == 0) +{ lean_object* x_353; uint8_t x_354; -lean_dec(x_334); -x_353 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_354 = lean_string_dec_eq(x_332, x_353); +x_353 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_354 = lean_string_dec_eq(x_13, x_353); if (x_354 == 0) { lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; -if (lean_is_scalar(x_339)) { +if (lean_is_scalar(x_329)) { x_355 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_355 = x_339; + x_355 = x_329; } lean_ctor_set(x_355, 0, x_10); -lean_ctor_set(x_355, 1, x_340); -lean_ctor_set_usize(x_355, 2, x_338); -if (lean_is_scalar(x_336)) { +lean_ctor_set(x_355, 1, x_330); +lean_ctor_set_usize(x_355, 2, x_328); +if (lean_is_scalar(x_326)) { x_356 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_356 = x_336; + x_356 = x_326; } lean_ctor_set(x_356, 0, x_355); -lean_ctor_set(x_356, 1, x_345); -lean_ctor_set_usize(x_356, 2, x_335); +lean_ctor_set(x_356, 1, x_335); +lean_ctor_set_usize(x_356, 2, x_325); x_357 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_357, 0, x_356); -lean_ctor_set(x_357, 1, x_332); -lean_ctor_set_usize(x_357, 2, x_333); +lean_ctor_set(x_357, 1, x_343); +lean_ctor_set_usize(x_357, 2, x_323); lean_ctor_set(x_6, 0, x_357); -if (lean_is_scalar(x_344)) { +if (lean_is_scalar(x_334)) { x_358 = lean_alloc_ctor(1, 2, 0); } else { - x_358 = x_344; + x_358 = x_334; } lean_ctor_set(x_358, 0, x_6); lean_ctor_set(x_358, 1, x_11); @@ -12137,248 +12216,196 @@ return x_360; } else { -lean_object* x_361; uint8_t x_362; -lean_dec(x_332); -x_361 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_362 = lean_string_dec_eq(x_13, x_361); -if (x_362 == 0) +lean_object* x_361; lean_object* x_362; uint8_t x_363; +lean_dec(x_13); +x_361 = lean_array_get_size(x_11); +x_362 = lean_unsigned_to_nat(2u); +x_363 = lean_nat_dec_eq(x_361, x_362); +lean_dec(x_361); +if (x_363 == 0) { -lean_object* x_363; uint8_t x_364; -x_363 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_364 = lean_string_dec_eq(x_13, x_363); -if (x_364 == 0) -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -if (lean_is_scalar(x_339)) { +lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +if (lean_is_scalar(x_329)) { + x_364 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_364 = x_329; +} +lean_ctor_set(x_364, 0, x_10); +lean_ctor_set(x_364, 1, x_330); +lean_ctor_set_usize(x_364, 2, x_328); +if (lean_is_scalar(x_326)) { x_365 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_365 = x_339; -} -lean_ctor_set(x_365, 0, x_10); -lean_ctor_set(x_365, 1, x_340); -lean_ctor_set_usize(x_365, 2, x_338); -if (lean_is_scalar(x_336)) { - x_366 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_366 = x_336; + x_365 = x_326; } +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_335); +lean_ctor_set_usize(x_365, 2, x_328); +x_366 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_345); -lean_ctor_set_usize(x_366, 2, x_335); -x_367 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_353); -lean_ctor_set_usize(x_367, 2, x_333); -lean_ctor_set(x_6, 0, x_367); -if (lean_is_scalar(x_344)) { - x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 1, x_343); +lean_ctor_set_usize(x_366, 2, x_328); +lean_ctor_set(x_6, 1, x_353); +lean_ctor_set(x_6, 0, x_366); +lean_ctor_set_usize(x_6, 2, x_328); +if (lean_is_scalar(x_334)) { + x_367 = lean_alloc_ctor(1, 2, 0); } else { - x_368 = x_344; + x_367 = x_334; } -lean_ctor_set(x_368, 0, x_6); -lean_ctor_set(x_368, 1, x_11); +lean_ctor_set(x_367, 0, x_6); +lean_ctor_set(x_367, 1, x_11); +x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_3); x_369 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_3); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_5); -return x_370; +lean_ctor_set(x_369, 1, x_5); +return x_369; } else { -lean_object* x_371; lean_object* x_372; uint8_t x_373; -lean_dec(x_13); -x_371 = lean_array_get_size(x_11); -x_372 = lean_unsigned_to_nat(2u); -x_373 = lean_nat_dec_eq(x_371, x_372); -lean_dec(x_371); -if (x_373 == 0) -{ -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; -if (lean_is_scalar(x_339)) { - x_374 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_374 = x_339; -} -lean_ctor_set(x_374, 0, x_10); -lean_ctor_set(x_374, 1, x_340); -lean_ctor_set_usize(x_374, 2, x_338); -if (lean_is_scalar(x_336)) { - x_375 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_375 = x_336; -} -lean_ctor_set(x_375, 0, x_374); -lean_ctor_set(x_375, 1, x_345); -lean_ctor_set_usize(x_375, 2, x_338); -x_376 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_353); -lean_ctor_set_usize(x_376, 2, x_338); -lean_ctor_set(x_6, 1, x_363); -lean_ctor_set(x_6, 0, x_376); -lean_ctor_set_usize(x_6, 2, x_338); -if (lean_is_scalar(x_344)) { - x_377 = lean_alloc_ctor(1, 2, 0); -} else { - x_377 = x_344; -} -lean_ctor_set(x_377, 0, x_6); -lean_ctor_set(x_377, 1, x_11); -x_378 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_378, 0, x_377); -lean_ctor_set(x_378, 1, x_3); -x_379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_5); -return x_379; -} -else -{ -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; uint8_t 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_dec(x_339); -lean_dec(x_336); +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; uint8_t 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_dec(x_329); +lean_dec(x_326); lean_free_object(x_6); -x_380 = l_Lean_stxInh; -x_381 = lean_unsigned_to_nat(0u); -x_382 = lean_array_get(x_380, x_11, x_381); -x_383 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_382, x_3, x_4, x_5); -x_384 = lean_ctor_get(x_383, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_383, 1); -lean_inc(x_385); -lean_dec(x_383); -x_386 = lean_ctor_get(x_384, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_384, 1); -lean_inc(x_387); -lean_dec(x_384); -x_388 = lean_unsigned_to_nat(1u); -x_389 = lean_array_get(x_380, x_11, x_388); +x_370 = l_Lean_stxInh; +x_371 = lean_unsigned_to_nat(0u); +x_372 = lean_array_get(x_370, x_11, x_371); +x_373 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_372, x_3, x_4, x_5); +x_374 = lean_ctor_get(x_373, 0); +lean_inc(x_374); +x_375 = lean_ctor_get(x_373, 1); +lean_inc(x_375); +lean_dec(x_373); +x_376 = lean_ctor_get(x_374, 0); +lean_inc(x_376); +x_377 = lean_ctor_get(x_374, 1); +lean_inc(x_377); +lean_dec(x_374); +x_378 = lean_unsigned_to_nat(1u); +x_379 = lean_array_get(x_370, x_11, x_378); lean_dec(x_11); -x_390 = 1; -x_391 = l_Lean_Elab_Term_expandCDotAux___main(x_390, x_389, x_387, x_4, x_385); -x_392 = lean_ctor_get(x_391, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_391, 1); -lean_inc(x_393); -if (lean_is_exclusive(x_391)) { - lean_ctor_release(x_391, 0); - lean_ctor_release(x_391, 1); - x_394 = x_391; +x_380 = 1; +x_381 = l_Lean_Elab_Term_expandCDotAux___main(x_380, x_379, x_377, x_4, x_375); +x_382 = lean_ctor_get(x_381, 0); +lean_inc(x_382); +x_383 = lean_ctor_get(x_381, 1); +lean_inc(x_383); +if (lean_is_exclusive(x_381)) { + lean_ctor_release(x_381, 0); + lean_ctor_release(x_381, 1); + x_384 = x_381; } else { - lean_dec_ref(x_391); - x_394 = lean_box(0); + lean_dec_ref(x_381); + x_384 = lean_box(0); } -x_395 = lean_ctor_get(x_392, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_392, 1); -lean_inc(x_396); -if (lean_is_exclusive(x_392)) { - lean_ctor_release(x_392, 0); - lean_ctor_release(x_392, 1); - x_397 = x_392; +x_385 = lean_ctor_get(x_382, 0); +lean_inc(x_385); +x_386 = lean_ctor_get(x_382, 1); +lean_inc(x_386); +if (lean_is_exclusive(x_382)) { + lean_ctor_release(x_382, 0); + lean_ctor_release(x_382, 1); + x_387 = x_382; } else { - lean_dec_ref(x_392); - x_397 = lean_box(0); + lean_dec_ref(x_382); + x_387 = lean_box(0); } -x_398 = lean_name_mk_string(x_10, x_340); -x_399 = lean_name_mk_string(x_398, x_345); -x_400 = lean_name_mk_string(x_399, x_353); -x_401 = lean_name_mk_string(x_400, x_363); -x_402 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_403 = lean_array_push(x_402, x_386); -x_404 = lean_array_push(x_403, x_395); -if (lean_is_scalar(x_344)) { - x_405 = lean_alloc_ctor(1, 2, 0); +x_388 = lean_name_mk_string(x_10, x_330); +x_389 = lean_name_mk_string(x_388, x_335); +x_390 = lean_name_mk_string(x_389, x_343); +x_391 = lean_name_mk_string(x_390, x_353); +x_392 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_393 = lean_array_push(x_392, x_376); +x_394 = lean_array_push(x_393, x_385); +if (lean_is_scalar(x_334)) { + x_395 = lean_alloc_ctor(1, 2, 0); } else { - x_405 = x_344; + x_395 = x_334; } -lean_ctor_set(x_405, 0, x_401); -lean_ctor_set(x_405, 1, x_404); -if (lean_is_scalar(x_397)) { - x_406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_395, 0, x_391); +lean_ctor_set(x_395, 1, x_394); +if (lean_is_scalar(x_387)) { + x_396 = lean_alloc_ctor(0, 2, 0); } else { - x_406 = x_397; + x_396 = x_387; } -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_396); -if (lean_is_scalar(x_394)) { - x_407 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_386); +if (lean_is_scalar(x_384)) { + x_397 = lean_alloc_ctor(0, 2, 0); } else { - x_407 = x_394; + x_397 = x_384; } -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_393); -return x_407; +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_383); +return x_397; } } } else { -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_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_dec(x_13); -if (lean_is_scalar(x_339)) { - x_408 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +if (lean_is_scalar(x_329)) { + x_398 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_408 = x_339; + x_398 = x_329; } -lean_ctor_set(x_408, 0, x_10); -lean_ctor_set(x_408, 1, x_340); -lean_ctor_set_usize(x_408, 2, x_338); -if (lean_is_scalar(x_336)) { - x_409 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_398, 0, x_10); +lean_ctor_set(x_398, 1, x_330); +lean_ctor_set_usize(x_398, 2, x_328); +if (lean_is_scalar(x_326)) { + x_399 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_409 = x_336; + x_399 = x_326; +} +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_335); +lean_ctor_set_usize(x_399, 2, x_328); +x_400 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_343); +lean_ctor_set_usize(x_400, 2, x_328); +lean_ctor_set(x_6, 1, x_351); +lean_ctor_set(x_6, 0, x_400); +lean_ctor_set_usize(x_6, 2, x_328); +if (lean_is_scalar(x_334)) { + x_401 = lean_alloc_ctor(1, 2, 0); +} else { + x_401 = x_334; +} +lean_ctor_set(x_401, 0, x_6); +lean_ctor_set(x_401, 1, x_11); +x_402 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_401, x_4, x_5); +lean_dec(x_401); +x_403 = lean_ctor_get(x_402, 0); +lean_inc(x_403); +x_404 = lean_ctor_get(x_402, 1); +lean_inc(x_404); +if (lean_is_exclusive(x_402)) { + lean_ctor_release(x_402, 0); + lean_ctor_release(x_402, 1); + x_405 = x_402; +} else { + lean_dec_ref(x_402); + x_405 = lean_box(0); +} +x_406 = l_Lean_Elab_Term_mkTermIdFromIdent(x_403); +lean_inc(x_406); +x_407 = lean_array_push(x_3, x_406); +x_408 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +if (lean_is_scalar(x_405)) { + x_409 = lean_alloc_ctor(0, 2, 0); +} else { + x_409 = x_405; } lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_345); -lean_ctor_set_usize(x_409, 2, x_338); -x_410 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_353); -lean_ctor_set_usize(x_410, 2, x_338); -lean_ctor_set(x_6, 1, x_361); -lean_ctor_set(x_6, 0, x_410); -lean_ctor_set_usize(x_6, 2, x_338); -if (lean_is_scalar(x_344)) { - x_411 = lean_alloc_ctor(1, 2, 0); -} else { - x_411 = x_344; -} -lean_ctor_set(x_411, 0, x_6); -lean_ctor_set(x_411, 1, x_11); -x_412 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_411, x_4, x_5); -lean_dec(x_411); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_412, 1); -lean_inc(x_414); -if (lean_is_exclusive(x_412)) { - lean_ctor_release(x_412, 0); - lean_ctor_release(x_412, 1); - x_415 = x_412; -} else { - lean_dec_ref(x_412); - x_415 = lean_box(0); -} -x_416 = l_Lean_Elab_Term_mkHole; -lean_inc(x_413); -x_417 = l_Lean_Elab_Term_mkExplicitBinder(x_413, x_416); -x_418 = lean_array_push(x_3, x_417); -x_419 = l_Lean_Elab_Term_mkTermIdFromIdent(x_413); -x_420 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_418); -if (lean_is_scalar(x_415)) { - x_421 = lean_alloc_ctor(0, 2, 0); -} else { - x_421 = x_415; -} -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_414); -return x_421; +lean_ctor_set(x_409, 1, x_404); +return x_409; } } } @@ -12387,437 +12414,435 @@ return x_421; } else { -lean_object* x_422; size_t x_423; lean_object* x_424; size_t x_425; lean_object* x_426; lean_object* x_427; size_t x_428; lean_object* x_429; lean_object* x_430; size_t x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; -x_422 = lean_ctor_get(x_6, 1); -x_423 = lean_ctor_get_usize(x_6, 2); -lean_inc(x_422); +lean_object* x_410; size_t x_411; lean_object* x_412; size_t x_413; lean_object* x_414; lean_object* x_415; size_t x_416; lean_object* x_417; lean_object* x_418; size_t x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_410 = lean_ctor_get(x_6, 1); +x_411 = lean_ctor_get_usize(x_6, 2); +lean_inc(x_410); lean_dec(x_6); -x_424 = lean_ctor_get(x_7, 1); -lean_inc(x_424); -x_425 = lean_ctor_get_usize(x_7, 2); +x_412 = lean_ctor_get(x_7, 1); +lean_inc(x_412); +x_413 = lean_ctor_get_usize(x_7, 2); if (lean_is_exclusive(x_7)) { lean_ctor_release(x_7, 0); lean_ctor_release(x_7, 1); - x_426 = x_7; + x_414 = x_7; } else { lean_dec_ref(x_7); - x_426 = lean_box(0); + x_414 = lean_box(0); } -x_427 = lean_ctor_get(x_8, 1); -lean_inc(x_427); -x_428 = lean_ctor_get_usize(x_8, 2); +x_415 = lean_ctor_get(x_8, 1); +lean_inc(x_415); +x_416 = lean_ctor_get_usize(x_8, 2); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_429 = x_8; + x_417 = x_8; } else { lean_dec_ref(x_8); - x_429 = lean_box(0); + x_417 = lean_box(0); } -x_430 = lean_ctor_get(x_9, 1); -lean_inc(x_430); -x_431 = lean_ctor_get_usize(x_9, 2); +x_418 = lean_ctor_get(x_9, 1); +lean_inc(x_418); +x_419 = lean_ctor_get_usize(x_9, 2); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); - x_432 = x_9; + x_420 = x_9; } else { lean_dec_ref(x_9); - x_432 = lean_box(0); + x_420 = lean_box(0); } -x_433 = l_Lean_nameToExprAux___main___closed__1; -x_434 = lean_string_dec_eq(x_430, x_433); -lean_dec(x_430); -if (x_434 == 0) +x_421 = l_Lean_nameToExprAux___main___closed__1; +x_422 = lean_string_dec_eq(x_418, x_421); +lean_dec(x_418); +if (x_422 == 0) { -lean_object* x_435; lean_object* x_436; -lean_dec(x_432); -lean_dec(x_429); -lean_dec(x_427); -lean_dec(x_426); -lean_dec(x_424); -lean_dec(x_422); +lean_object* x_423; lean_object* x_424; +lean_dec(x_420); +lean_dec(x_417); +lean_dec(x_415); +lean_dec(x_414); +lean_dec(x_412); +lean_dec(x_410); lean_dec(x_11); -x_435 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_435, 0, x_2); -lean_ctor_set(x_435, 1, x_3); -x_436 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_5); -return x_436; +x_423 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_423, 0, x_2); +lean_ctor_set(x_423, 1, x_3); +x_424 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_424, 0, x_423); +lean_ctor_set(x_424, 1, x_5); +return x_424; } else { -lean_object* x_437; lean_object* x_438; uint8_t x_439; +lean_object* x_425; lean_object* x_426; uint8_t x_427; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_437 = x_2; + x_425 = x_2; } else { lean_dec_ref(x_2); - x_437 = lean_box(0); + x_425 = lean_box(0); } -x_438 = l_Lean_Syntax_formatStx___main___closed__5; -x_439 = lean_string_dec_eq(x_427, x_438); -if (x_439 == 0) +x_426 = l_Lean_Syntax_formatStx___main___closed__5; +x_427 = lean_string_dec_eq(x_415, x_426); +if (x_427 == 0) { -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; -if (lean_is_scalar(x_432)) { - x_440 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +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; +if (lean_is_scalar(x_420)) { + x_428 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_440 = x_432; + x_428 = x_420; } -lean_ctor_set(x_440, 0, x_10); -lean_ctor_set(x_440, 1, x_433); -lean_ctor_set_usize(x_440, 2, x_431); -if (lean_is_scalar(x_429)) { - x_441 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_428, 0, x_10); +lean_ctor_set(x_428, 1, x_421); +lean_ctor_set_usize(x_428, 2, x_419); +if (lean_is_scalar(x_417)) { + x_429 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_441 = x_429; + x_429 = x_417; +} +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_415); +lean_ctor_set_usize(x_429, 2, x_416); +if (lean_is_scalar(x_414)) { + x_430 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_430 = x_414; +} +lean_ctor_set(x_430, 0, x_429); +lean_ctor_set(x_430, 1, x_412); +lean_ctor_set_usize(x_430, 2, x_413); +x_431 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_410); +lean_ctor_set_usize(x_431, 2, x_411); +if (lean_is_scalar(x_425)) { + x_432 = lean_alloc_ctor(1, 2, 0); +} else { + x_432 = x_425; +} +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_11); +x_433 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_3); +x_434 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_434, 0, x_433); +lean_ctor_set(x_434, 1, x_5); +return x_434; +} +else +{ +lean_object* x_435; uint8_t x_436; +lean_dec(x_415); +x_435 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_436 = lean_string_dec_eq(x_412, x_435); +if (x_436 == 0) +{ +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; +if (lean_is_scalar(x_420)) { + x_437 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_437 = x_420; +} +lean_ctor_set(x_437, 0, x_10); +lean_ctor_set(x_437, 1, x_421); +lean_ctor_set_usize(x_437, 2, x_419); +if (lean_is_scalar(x_417)) { + x_438 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_438 = x_417; +} +lean_ctor_set(x_438, 0, x_437); +lean_ctor_set(x_438, 1, x_426); +lean_ctor_set_usize(x_438, 2, x_416); +if (lean_is_scalar(x_414)) { + x_439 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_439 = x_414; +} +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_412); +lean_ctor_set_usize(x_439, 2, x_413); +x_440 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_440, 0, x_439); +lean_ctor_set(x_440, 1, x_410); +lean_ctor_set_usize(x_440, 2, x_411); +if (lean_is_scalar(x_425)) { + x_441 = lean_alloc_ctor(1, 2, 0); +} else { + x_441 = x_425; } lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_427); -lean_ctor_set_usize(x_441, 2, x_428); -if (lean_is_scalar(x_426)) { - x_442 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_442 = x_426; -} +lean_ctor_set(x_441, 1, x_11); +x_442 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_424); -lean_ctor_set_usize(x_442, 2, x_425); -x_443 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_442, 1, x_3); +x_443 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_422); -lean_ctor_set_usize(x_443, 2, x_423); -if (lean_is_scalar(x_437)) { - x_444 = lean_alloc_ctor(1, 2, 0); -} else { - x_444 = x_437; -} -lean_ctor_set(x_444, 0, x_443); -lean_ctor_set(x_444, 1, x_11); -x_445 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_3); -x_446 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_5); -return x_446; +lean_ctor_set(x_443, 1, x_5); +return x_443; } else { -lean_object* x_447; uint8_t x_448; -lean_dec(x_427); -x_447 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_448 = lean_string_dec_eq(x_424, x_447); -if (x_448 == 0) +lean_object* x_444; uint8_t x_445; +lean_dec(x_412); +x_444 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_445 = lean_string_dec_eq(x_410, x_444); +if (x_445 == 0) { -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; -if (lean_is_scalar(x_432)) { +lean_object* x_446; uint8_t x_447; +x_446 = l_Lean_Parser_Term_app___elambda__1___closed__1; +x_447 = lean_string_dec_eq(x_410, x_446); +if (x_447 == 0) +{ +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; +if (lean_is_scalar(x_420)) { + x_448 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_448 = x_420; +} +lean_ctor_set(x_448, 0, x_10); +lean_ctor_set(x_448, 1, x_421); +lean_ctor_set_usize(x_448, 2, x_419); +if (lean_is_scalar(x_417)) { x_449 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_449 = x_432; + x_449 = x_417; } -lean_ctor_set(x_449, 0, x_10); -lean_ctor_set(x_449, 1, x_433); -lean_ctor_set_usize(x_449, 2, x_431); -if (lean_is_scalar(x_429)) { +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_426); +lean_ctor_set_usize(x_449, 2, x_416); +if (lean_is_scalar(x_414)) { x_450 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_450 = x_429; + x_450 = x_414; } lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_438); -lean_ctor_set_usize(x_450, 2, x_428); -if (lean_is_scalar(x_426)) { - x_451 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_451 = x_426; -} +lean_ctor_set(x_450, 1, x_435); +lean_ctor_set_usize(x_450, 2, x_413); +x_451 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_424); -lean_ctor_set_usize(x_451, 2, x_425); -x_452 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_452, 0, x_451); -lean_ctor_set(x_452, 1, x_422); -lean_ctor_set_usize(x_452, 2, x_423); -if (lean_is_scalar(x_437)) { - x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 1, x_410); +lean_ctor_set_usize(x_451, 2, x_411); +if (lean_is_scalar(x_425)) { + x_452 = lean_alloc_ctor(1, 2, 0); } else { - x_453 = x_437; + x_452 = x_425; } +lean_ctor_set(x_452, 0, x_451); +lean_ctor_set(x_452, 1, x_11); +x_453 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_453, 0, x_452); -lean_ctor_set(x_453, 1, x_11); +lean_ctor_set(x_453, 1, x_3); x_454 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_454, 0, x_453); -lean_ctor_set(x_454, 1, x_3); -x_455 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_455, 0, x_454); -lean_ctor_set(x_455, 1, x_5); -return x_455; +lean_ctor_set(x_454, 1, x_5); +return x_454; } else { -lean_object* x_456; uint8_t x_457; -lean_dec(x_424); -x_456 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_457 = lean_string_dec_eq(x_422, x_456); +lean_object* x_455; lean_object* x_456; uint8_t x_457; +lean_dec(x_410); +x_455 = lean_array_get_size(x_11); +x_456 = lean_unsigned_to_nat(2u); +x_457 = lean_nat_dec_eq(x_455, x_456); +lean_dec(x_455); if (x_457 == 0) { -lean_object* x_458; uint8_t x_459; -x_458 = l_Lean_Parser_Term_app___elambda__1___closed__1; -x_459 = lean_string_dec_eq(x_422, x_458); -if (x_459 == 0) -{ -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; -if (lean_is_scalar(x_432)) { +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; +if (lean_is_scalar(x_420)) { + x_458 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_458 = x_420; +} +lean_ctor_set(x_458, 0, x_10); +lean_ctor_set(x_458, 1, x_421); +lean_ctor_set_usize(x_458, 2, x_419); +if (lean_is_scalar(x_417)) { + x_459 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_459 = x_417; +} +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_426); +lean_ctor_set_usize(x_459, 2, x_419); +if (lean_is_scalar(x_414)) { x_460 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_460 = x_432; -} -lean_ctor_set(x_460, 0, x_10); -lean_ctor_set(x_460, 1, x_433); -lean_ctor_set_usize(x_460, 2, x_431); -if (lean_is_scalar(x_429)) { - x_461 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_461 = x_429; + x_460 = x_414; } +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_435); +lean_ctor_set_usize(x_460, 2, x_419); +x_461 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_461, 0, x_460); -lean_ctor_set(x_461, 1, x_438); -lean_ctor_set_usize(x_461, 2, x_428); -if (lean_is_scalar(x_426)) { - x_462 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_461, 1, x_446); +lean_ctor_set_usize(x_461, 2, x_419); +if (lean_is_scalar(x_425)) { + x_462 = lean_alloc_ctor(1, 2, 0); } else { - x_462 = x_426; + x_462 = x_425; } lean_ctor_set(x_462, 0, x_461); -lean_ctor_set(x_462, 1, x_447); -lean_ctor_set_usize(x_462, 2, x_425); -x_463 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_462, 1, x_11); +x_463 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_422); -lean_ctor_set_usize(x_463, 2, x_423); -if (lean_is_scalar(x_437)) { - x_464 = lean_alloc_ctor(1, 2, 0); -} else { - x_464 = x_437; -} +lean_ctor_set(x_463, 1, x_3); +x_464 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_11); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_3); -x_466 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_5); -return x_466; +lean_ctor_set(x_464, 1, x_5); +return x_464; } else { -lean_object* x_467; lean_object* x_468; uint8_t x_469; -lean_dec(x_422); -x_467 = lean_array_get_size(x_11); -x_468 = lean_unsigned_to_nat(2u); -x_469 = lean_nat_dec_eq(x_467, x_468); -lean_dec(x_467); -if (x_469 == 0) -{ -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; -if (lean_is_scalar(x_432)) { - x_470 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_470 = x_432; -} -lean_ctor_set(x_470, 0, x_10); -lean_ctor_set(x_470, 1, x_433); -lean_ctor_set_usize(x_470, 2, x_431); -if (lean_is_scalar(x_429)) { - x_471 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_471 = x_429; -} -lean_ctor_set(x_471, 0, x_470); -lean_ctor_set(x_471, 1, x_438); -lean_ctor_set_usize(x_471, 2, x_431); -if (lean_is_scalar(x_426)) { - x_472 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_472 = x_426; -} -lean_ctor_set(x_472, 0, x_471); -lean_ctor_set(x_472, 1, x_447); -lean_ctor_set_usize(x_472, 2, x_431); -x_473 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_473, 0, x_472); -lean_ctor_set(x_473, 1, x_458); -lean_ctor_set_usize(x_473, 2, x_431); -if (lean_is_scalar(x_437)) { - x_474 = lean_alloc_ctor(1, 2, 0); -} else { - x_474 = x_437; -} -lean_ctor_set(x_474, 0, x_473); -lean_ctor_set(x_474, 1, x_11); -x_475 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_3); -x_476 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_5); -return x_476; -} -else -{ -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; uint8_t 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_dec(x_432); -lean_dec(x_429); -lean_dec(x_426); -x_477 = l_Lean_stxInh; -x_478 = lean_unsigned_to_nat(0u); -x_479 = lean_array_get(x_477, x_11, x_478); -x_480 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_479, x_3, x_4, x_5); -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_480, 1); -lean_inc(x_482); -lean_dec(x_480); -x_483 = lean_ctor_get(x_481, 0); -lean_inc(x_483); -x_484 = lean_ctor_get(x_481, 1); -lean_inc(x_484); -lean_dec(x_481); -x_485 = lean_unsigned_to_nat(1u); -x_486 = lean_array_get(x_477, x_11, x_485); +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; uint8_t 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_dec(x_420); +lean_dec(x_417); +lean_dec(x_414); +x_465 = l_Lean_stxInh; +x_466 = lean_unsigned_to_nat(0u); +x_467 = lean_array_get(x_465, x_11, x_466); +x_468 = l_Lean_Elab_Term_expandCDotAux___main(x_1, x_467, x_3, x_4, x_5); +x_469 = lean_ctor_get(x_468, 0); +lean_inc(x_469); +x_470 = lean_ctor_get(x_468, 1); +lean_inc(x_470); +lean_dec(x_468); +x_471 = lean_ctor_get(x_469, 0); +lean_inc(x_471); +x_472 = lean_ctor_get(x_469, 1); +lean_inc(x_472); +lean_dec(x_469); +x_473 = lean_unsigned_to_nat(1u); +x_474 = lean_array_get(x_465, x_11, x_473); lean_dec(x_11); -x_487 = 1; -x_488 = l_Lean_Elab_Term_expandCDotAux___main(x_487, x_486, x_484, x_4, x_482); -x_489 = lean_ctor_get(x_488, 0); -lean_inc(x_489); -x_490 = lean_ctor_get(x_488, 1); -lean_inc(x_490); -if (lean_is_exclusive(x_488)) { - lean_ctor_release(x_488, 0); - lean_ctor_release(x_488, 1); - x_491 = x_488; +x_475 = 1; +x_476 = l_Lean_Elab_Term_expandCDotAux___main(x_475, x_474, x_472, x_4, x_470); +x_477 = lean_ctor_get(x_476, 0); +lean_inc(x_477); +x_478 = lean_ctor_get(x_476, 1); +lean_inc(x_478); +if (lean_is_exclusive(x_476)) { + lean_ctor_release(x_476, 0); + lean_ctor_release(x_476, 1); + x_479 = x_476; } else { - lean_dec_ref(x_488); - x_491 = lean_box(0); + lean_dec_ref(x_476); + x_479 = lean_box(0); } -x_492 = lean_ctor_get(x_489, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_489, 1); -lean_inc(x_493); -if (lean_is_exclusive(x_489)) { - lean_ctor_release(x_489, 0); - lean_ctor_release(x_489, 1); - x_494 = x_489; +x_480 = lean_ctor_get(x_477, 0); +lean_inc(x_480); +x_481 = lean_ctor_get(x_477, 1); +lean_inc(x_481); +if (lean_is_exclusive(x_477)) { + lean_ctor_release(x_477, 0); + lean_ctor_release(x_477, 1); + x_482 = x_477; } else { - lean_dec_ref(x_489); - x_494 = lean_box(0); + lean_dec_ref(x_477); + x_482 = lean_box(0); } -x_495 = lean_name_mk_string(x_10, x_433); -x_496 = lean_name_mk_string(x_495, x_438); -x_497 = lean_name_mk_string(x_496, x_447); -x_498 = lean_name_mk_string(x_497, x_458); -x_499 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; -x_500 = lean_array_push(x_499, x_483); -x_501 = lean_array_push(x_500, x_492); -if (lean_is_scalar(x_437)) { - x_502 = lean_alloc_ctor(1, 2, 0); +x_483 = lean_name_mk_string(x_10, x_421); +x_484 = lean_name_mk_string(x_483, x_426); +x_485 = lean_name_mk_string(x_484, x_435); +x_486 = lean_name_mk_string(x_485, x_446); +x_487 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_488 = lean_array_push(x_487, x_471); +x_489 = lean_array_push(x_488, x_480); +if (lean_is_scalar(x_425)) { + x_490 = lean_alloc_ctor(1, 2, 0); } else { - x_502 = x_437; + x_490 = x_425; } -lean_ctor_set(x_502, 0, x_498); -lean_ctor_set(x_502, 1, x_501); -if (lean_is_scalar(x_494)) { - x_503 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_490, 0, x_486); +lean_ctor_set(x_490, 1, x_489); +if (lean_is_scalar(x_482)) { + x_491 = lean_alloc_ctor(0, 2, 0); } else { - x_503 = x_494; + x_491 = x_482; } -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_493); -if (lean_is_scalar(x_491)) { - x_504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_491, 0, x_490); +lean_ctor_set(x_491, 1, x_481); +if (lean_is_scalar(x_479)) { + x_492 = lean_alloc_ctor(0, 2, 0); } else { - x_504 = x_491; + x_492 = x_479; } -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_490); -return x_504; +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_478); +return x_492; } } } else { -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_dec(x_422); -if (lean_is_scalar(x_432)) { - x_505 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +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_dec(x_410); +if (lean_is_scalar(x_420)) { + x_493 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_505 = x_432; + x_493 = x_420; } -lean_ctor_set(x_505, 0, x_10); -lean_ctor_set(x_505, 1, x_433); -lean_ctor_set_usize(x_505, 2, x_431); -if (lean_is_scalar(x_429)) { - x_506 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_493, 0, x_10); +lean_ctor_set(x_493, 1, x_421); +lean_ctor_set_usize(x_493, 2, x_419); +if (lean_is_scalar(x_417)) { + x_494 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_506 = x_429; + x_494 = x_417; } -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_438); -lean_ctor_set_usize(x_506, 2, x_431); -if (lean_is_scalar(x_426)) { - x_507 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_426); +lean_ctor_set_usize(x_494, 2, x_419); +if (lean_is_scalar(x_414)) { + x_495 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_507 = x_426; + x_495 = x_414; } -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_447); -lean_ctor_set_usize(x_507, 2, x_431); -x_508 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_456); -lean_ctor_set_usize(x_508, 2, x_431); -if (lean_is_scalar(x_437)) { - x_509 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_435); +lean_ctor_set_usize(x_495, 2, x_419); +x_496 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_496, 0, x_495); +lean_ctor_set(x_496, 1, x_444); +lean_ctor_set_usize(x_496, 2, x_419); +if (lean_is_scalar(x_425)) { + x_497 = lean_alloc_ctor(1, 2, 0); } else { - x_509 = x_437; + x_497 = x_425; } -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_11); -x_510 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_509, x_4, x_5); -lean_dec(x_509); -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_510, 1); -lean_inc(x_512); -if (lean_is_exclusive(x_510)) { - lean_ctor_release(x_510, 0); - lean_ctor_release(x_510, 1); - x_513 = x_510; +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_11); +x_498 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_497, x_4, x_5); +lean_dec(x_497); +x_499 = lean_ctor_get(x_498, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_498, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_498)) { + lean_ctor_release(x_498, 0); + lean_ctor_release(x_498, 1); + x_501 = x_498; } else { - lean_dec_ref(x_510); - x_513 = lean_box(0); + lean_dec_ref(x_498); + x_501 = lean_box(0); } -x_514 = l_Lean_Elab_Term_mkHole; -lean_inc(x_511); -x_515 = l_Lean_Elab_Term_mkExplicitBinder(x_511, x_514); -x_516 = lean_array_push(x_3, x_515); -x_517 = l_Lean_Elab_Term_mkTermIdFromIdent(x_511); -x_518 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_518, 0, x_517); -lean_ctor_set(x_518, 1, x_516); -if (lean_is_scalar(x_513)) { - x_519 = lean_alloc_ctor(0, 2, 0); +x_502 = l_Lean_Elab_Term_mkTermIdFromIdent(x_499); +lean_inc(x_502); +x_503 = lean_array_push(x_3, x_502); +x_504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_504, 0, x_502); +lean_ctor_set(x_504, 1, x_503); +if (lean_is_scalar(x_501)) { + x_505 = lean_alloc_ctor(0, 2, 0); } else { - x_519 = x_513; + x_505 = x_501; } -lean_ctor_set(x_519, 0, x_518); -lean_ctor_set(x_519, 1, x_512); -return x_519; +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_500); +return x_505; } } } @@ -12826,402 +12851,396 @@ return x_519; } else { -lean_object* x_520; lean_object* x_521; +lean_object* x_506; lean_object* x_507; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_520 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_520, 0, x_2); -lean_ctor_set(x_520, 1, x_3); -x_521 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_5); -return x_521; +x_506 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_506, 0, x_2); +lean_ctor_set(x_506, 1, x_3); +x_507 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_507, 0, x_506); +lean_ctor_set(x_507, 1, x_5); +return x_507; } } else { -lean_object* x_522; lean_object* x_523; +lean_object* x_508; lean_object* x_509; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_522 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_522, 0, x_2); -lean_ctor_set(x_522, 1, x_3); -x_523 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_5); -return x_523; +x_508 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_508, 0, x_2); +lean_ctor_set(x_508, 1, x_3); +x_509 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_509, 0, x_508); +lean_ctor_set(x_509, 1, x_5); +return x_509; } } else { -lean_object* x_524; lean_object* x_525; +lean_object* x_510; lean_object* x_511; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_524 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_524, 0, x_2); -lean_ctor_set(x_524, 1, x_3); -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_5); -return x_525; +x_510 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_510, 0, x_2); +lean_ctor_set(x_510, 1, x_3); +x_511 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_5); +return x_511; } } else { -lean_object* x_526; lean_object* x_527; +lean_object* x_512; lean_object* x_513; lean_dec(x_7); lean_dec(x_6); -x_526 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_526, 0, x_2); -lean_ctor_set(x_526, 1, x_3); -x_527 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_5); -return x_527; +x_512 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_512, 0, x_2); +lean_ctor_set(x_512, 1, x_3); +x_513 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_513, 0, x_512); +lean_ctor_set(x_513, 1, x_5); +return x_513; } } else { -lean_object* x_528; lean_object* x_529; +lean_object* x_514; lean_object* x_515; lean_dec(x_6); -x_528 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_528, 0, x_2); -lean_ctor_set(x_528, 1, x_3); -x_529 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_5); -return x_529; +x_514 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_514, 0, x_2); +lean_ctor_set(x_514, 1, x_3); +x_515 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_5); +return x_515; } } else { -lean_object* x_530; lean_object* x_531; -x_530 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_530, 0, x_2); -lean_ctor_set(x_530, 1, x_3); -x_531 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_531, 0, x_530); -lean_ctor_set(x_531, 1, x_5); -return x_531; +lean_object* x_516; lean_object* x_517; +x_516 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_516, 0, x_2); +lean_ctor_set(x_516, 1, x_3); +x_517 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_517, 0, x_516); +lean_ctor_set(x_517, 1, x_5); +return x_517; } } else { if (lean_obj_tag(x_2) == 1) { -lean_object* x_532; -x_532 = lean_ctor_get(x_2, 0); -lean_inc(x_532); -if (lean_obj_tag(x_532) == 1) +lean_object* x_518; +x_518 = lean_ctor_get(x_2, 0); +lean_inc(x_518); +if (lean_obj_tag(x_518) == 1) { -lean_object* x_533; -x_533 = lean_ctor_get(x_532, 0); -lean_inc(x_533); -if (lean_obj_tag(x_533) == 1) +lean_object* x_519; +x_519 = lean_ctor_get(x_518, 0); +lean_inc(x_519); +if (lean_obj_tag(x_519) == 1) { -lean_object* x_534; -x_534 = lean_ctor_get(x_533, 0); -lean_inc(x_534); -if (lean_obj_tag(x_534) == 1) +lean_object* x_520; +x_520 = lean_ctor_get(x_519, 0); +lean_inc(x_520); +if (lean_obj_tag(x_520) == 1) { -lean_object* x_535; -x_535 = lean_ctor_get(x_534, 0); -lean_inc(x_535); -if (lean_obj_tag(x_535) == 1) +lean_object* x_521; +x_521 = lean_ctor_get(x_520, 0); +lean_inc(x_521); +if (lean_obj_tag(x_521) == 1) { -lean_object* x_536; -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -if (lean_obj_tag(x_536) == 0) +lean_object* x_522; +x_522 = lean_ctor_get(x_521, 0); +lean_inc(x_522); +if (lean_obj_tag(x_522) == 0) { -lean_object* x_537; uint8_t x_538; -x_537 = lean_ctor_get(x_2, 1); -lean_inc(x_537); -x_538 = !lean_is_exclusive(x_532); +lean_object* x_523; uint8_t x_524; +x_523 = lean_ctor_get(x_2, 1); +lean_inc(x_523); +x_524 = !lean_is_exclusive(x_518); +if (x_524 == 0) +{ +lean_object* x_525; lean_object* x_526; uint8_t x_527; +x_525 = lean_ctor_get(x_518, 1); +x_526 = lean_ctor_get(x_518, 0); +lean_dec(x_526); +x_527 = !lean_is_exclusive(x_519); +if (x_527 == 0) +{ +lean_object* x_528; lean_object* x_529; uint8_t x_530; +x_528 = lean_ctor_get(x_519, 1); +x_529 = lean_ctor_get(x_519, 0); +lean_dec(x_529); +x_530 = !lean_is_exclusive(x_520); +if (x_530 == 0) +{ +lean_object* x_531; lean_object* x_532; uint8_t x_533; +x_531 = lean_ctor_get(x_520, 1); +x_532 = lean_ctor_get(x_520, 0); +lean_dec(x_532); +x_533 = !lean_is_exclusive(x_521); +if (x_533 == 0) +{ +lean_object* x_534; size_t x_535; lean_object* x_536; lean_object* x_537; uint8_t x_538; +x_534 = lean_ctor_get(x_521, 1); +x_535 = lean_ctor_get_usize(x_521, 2); +x_536 = lean_ctor_get(x_521, 0); +lean_dec(x_536); +x_537 = l_Lean_nameToExprAux___main___closed__1; +x_538 = lean_string_dec_eq(x_534, x_537); +lean_dec(x_534); if (x_538 == 0) { -lean_object* x_539; lean_object* x_540; uint8_t x_541; -x_539 = lean_ctor_get(x_532, 1); -x_540 = lean_ctor_get(x_532, 0); -lean_dec(x_540); -x_541 = !lean_is_exclusive(x_533); +lean_object* x_539; lean_object* x_540; +lean_free_object(x_521); +lean_free_object(x_520); +lean_dec(x_531); +lean_free_object(x_519); +lean_dec(x_528); +lean_free_object(x_518); +lean_dec(x_525); +lean_dec(x_523); +x_539 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_539, 0, x_2); +lean_ctor_set(x_539, 1, x_3); +x_540 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_5); +return x_540; +} +else +{ +uint8_t x_541; +x_541 = !lean_is_exclusive(x_2); if (x_541 == 0) { -lean_object* x_542; lean_object* x_543; uint8_t x_544; -x_542 = lean_ctor_get(x_533, 1); -x_543 = lean_ctor_get(x_533, 0); +lean_object* x_542; lean_object* x_543; lean_object* x_544; uint8_t x_545; +x_542 = lean_ctor_get(x_2, 1); +lean_dec(x_542); +x_543 = lean_ctor_get(x_2, 0); lean_dec(x_543); -x_544 = !lean_is_exclusive(x_534); -if (x_544 == 0) +x_544 = l_Lean_Syntax_formatStx___main___closed__5; +x_545 = lean_string_dec_eq(x_531, x_544); +if (x_545 == 0) { -lean_object* x_545; lean_object* x_546; uint8_t x_547; -x_545 = lean_ctor_get(x_534, 1); -x_546 = lean_ctor_get(x_534, 0); -lean_dec(x_546); -x_547 = !lean_is_exclusive(x_535); -if (x_547 == 0) +lean_object* x_546; lean_object* x_547; +lean_ctor_set(x_521, 1, x_537); +x_546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_546, 0, x_2); +lean_ctor_set(x_546, 1, x_3); +x_547 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_547, 0, x_546); +lean_ctor_set(x_547, 1, x_5); +return x_547; +} +else { -lean_object* x_548; size_t x_549; lean_object* x_550; lean_object* x_551; uint8_t x_552; -x_548 = lean_ctor_get(x_535, 1); -x_549 = lean_ctor_get_usize(x_535, 2); -x_550 = lean_ctor_get(x_535, 0); -lean_dec(x_550); -x_551 = l_Lean_nameToExprAux___main___closed__1; -x_552 = lean_string_dec_eq(x_548, x_551); -lean_dec(x_548); -if (x_552 == 0) +lean_object* x_548; uint8_t x_549; +lean_dec(x_531); +x_548 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_549 = lean_string_dec_eq(x_528, x_548); +if (x_549 == 0) { -lean_object* x_553; lean_object* x_554; -lean_free_object(x_535); -lean_free_object(x_534); -lean_dec(x_545); -lean_free_object(x_533); -lean_dec(x_542); -lean_free_object(x_532); -lean_dec(x_539); -lean_dec(x_537); -x_553 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_553, 0, x_2); -lean_ctor_set(x_553, 1, x_3); +lean_object* x_550; lean_object* x_551; +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_544); +x_550 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_550, 0, x_2); +lean_ctor_set(x_550, 1, x_3); +x_551 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_5); +return x_551; +} +else +{ +lean_object* x_552; uint8_t x_553; +lean_dec(x_528); +x_552 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_553 = lean_string_dec_eq(x_525, x_552); +if (x_553 == 0) +{ +lean_object* x_554; lean_object* x_555; +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_544); +lean_ctor_set(x_519, 1, x_548); x_554 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_5); -return x_554; +lean_ctor_set(x_554, 0, x_2); +lean_ctor_set(x_554, 1, x_3); +x_555 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_555, 0, x_554); +lean_ctor_set(x_555, 1, x_5); +return x_555; } else { -uint8_t x_555; -x_555 = !lean_is_exclusive(x_2); -if (x_555 == 0) -{ -lean_object* x_556; lean_object* x_557; lean_object* x_558; uint8_t x_559; -x_556 = lean_ctor_get(x_2, 1); -lean_dec(x_556); -x_557 = lean_ctor_get(x_2, 0); -lean_dec(x_557); -x_558 = l_Lean_Syntax_formatStx___main___closed__5; -x_559 = lean_string_dec_eq(x_545, x_558); -if (x_559 == 0) -{ -lean_object* x_560; lean_object* x_561; -lean_ctor_set(x_535, 1, x_551); -x_560 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_560, 0, x_2); -lean_ctor_set(x_560, 1, x_3); -x_561 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_561, 0, x_560); -lean_ctor_set(x_561, 1, x_5); -return x_561; -} -else -{ -lean_object* x_562; uint8_t x_563; -lean_dec(x_545); -x_562 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_563 = lean_string_dec_eq(x_542, x_562); -if (x_563 == 0) -{ -lean_object* x_564; lean_object* x_565; -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_558); -x_564 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_564, 0, x_2); -lean_ctor_set(x_564, 1, x_3); -x_565 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_565, 0, x_564); -lean_ctor_set(x_565, 1, x_5); -return x_565; -} -else -{ -lean_object* x_566; uint8_t x_567; -lean_dec(x_542); -x_566 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_567 = lean_string_dec_eq(x_539, x_566); -if (x_567 == 0) -{ -lean_object* x_568; lean_object* x_569; -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_558); -lean_ctor_set(x_533, 1, x_562); -x_568 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_568, 0, x_2); -lean_ctor_set(x_568, 1, x_3); -x_569 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_569, 0, x_568); -lean_ctor_set(x_569, 1, x_5); -return x_569; -} -else -{ -lean_object* x_570; uint8_t x_571; -lean_dec(x_539); -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_558); -lean_ctor_set_usize(x_534, 2, x_549); -lean_ctor_set(x_533, 1, x_562); -lean_ctor_set_usize(x_533, 2, x_549); -lean_ctor_set(x_532, 1, x_566); -lean_ctor_set_usize(x_532, 2, x_549); -x_570 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_2, x_4, x_5); +lean_object* x_556; uint8_t x_557; +lean_dec(x_525); +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_544); +lean_ctor_set_usize(x_520, 2, x_535); +lean_ctor_set(x_519, 1, x_548); +lean_ctor_set_usize(x_519, 2, x_535); +lean_ctor_set(x_518, 1, x_552); +lean_ctor_set_usize(x_518, 2, x_535); +x_556 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_2, x_4, x_5); lean_dec(x_2); -x_571 = !lean_is_exclusive(x_570); -if (x_571 == 0) +x_557 = !lean_is_exclusive(x_556); +if (x_557 == 0) { -lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_572 = lean_ctor_get(x_570, 0); -x_573 = l_Lean_Elab_Term_mkHole; -lean_inc(x_572); -x_574 = l_Lean_Elab_Term_mkExplicitBinder(x_572, x_573); -x_575 = lean_array_push(x_3, x_574); -x_576 = l_Lean_Elab_Term_mkTermIdFromIdent(x_572); +lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; +x_558 = lean_ctor_get(x_556, 0); +x_559 = l_Lean_Elab_Term_mkTermIdFromIdent(x_558); +lean_inc(x_559); +x_560 = lean_array_push(x_3, x_559); +x_561 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_561, 0, x_559); +lean_ctor_set(x_561, 1, x_560); +lean_ctor_set(x_556, 0, x_561); +return x_556; +} +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; +x_562 = lean_ctor_get(x_556, 0); +x_563 = lean_ctor_get(x_556, 1); +lean_inc(x_563); +lean_inc(x_562); +lean_dec(x_556); +x_564 = l_Lean_Elab_Term_mkTermIdFromIdent(x_562); +lean_inc(x_564); +x_565 = lean_array_push(x_3, x_564); +x_566 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_566, 0, x_564); +lean_ctor_set(x_566, 1, x_565); +x_567 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_567, 0, x_566); +lean_ctor_set(x_567, 1, x_563); +return x_567; +} +} +} +} +} +else +{ +lean_object* x_568; uint8_t x_569; +lean_dec(x_2); +x_568 = l_Lean_Syntax_formatStx___main___closed__5; +x_569 = lean_string_dec_eq(x_531, x_568); +if (x_569 == 0) +{ +lean_object* x_570; lean_object* x_571; lean_object* x_572; +lean_ctor_set(x_521, 1, x_537); +x_570 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_570, 0, x_518); +lean_ctor_set(x_570, 1, x_523); +x_571 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_3); +x_572 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_572, 0, x_571); +lean_ctor_set(x_572, 1, x_5); +return x_572; +} +else +{ +lean_object* x_573; uint8_t x_574; +lean_dec(x_531); +x_573 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_574 = lean_string_dec_eq(x_528, x_573); +if (x_574 == 0) +{ +lean_object* x_575; lean_object* x_576; lean_object* x_577; +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_568); +x_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_518); +lean_ctor_set(x_575, 1, x_523); +x_576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_3); x_577 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_575); -lean_ctor_set(x_570, 0, x_577); -return x_570; +lean_ctor_set(x_577, 1, x_5); +return x_577; } else { -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; -x_578 = lean_ctor_get(x_570, 0); -x_579 = lean_ctor_get(x_570, 1); -lean_inc(x_579); -lean_inc(x_578); -lean_dec(x_570); -x_580 = l_Lean_Elab_Term_mkHole; -lean_inc(x_578); -x_581 = l_Lean_Elab_Term_mkExplicitBinder(x_578, x_580); -x_582 = lean_array_push(x_3, x_581); -x_583 = l_Lean_Elab_Term_mkTermIdFromIdent(x_578); -x_584 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_584, 0, x_583); -lean_ctor_set(x_584, 1, x_582); -x_585 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_579); -return x_585; -} -} -} -} +lean_object* x_578; uint8_t x_579; +lean_dec(x_528); +x_578 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_579 = lean_string_dec_eq(x_525, x_578); +if (x_579 == 0) +{ +lean_object* x_580; lean_object* x_581; lean_object* x_582; +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_568); +lean_ctor_set(x_519, 1, x_573); +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_518); +lean_ctor_set(x_580, 1, x_523); +x_581 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_581, 0, x_580); +lean_ctor_set(x_581, 1, x_3); +x_582 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_582, 0, x_581); +lean_ctor_set(x_582, 1, x_5); +return x_582; } else { -lean_object* x_586; uint8_t x_587; -lean_dec(x_2); -x_586 = l_Lean_Syntax_formatStx___main___closed__5; -x_587 = lean_string_dec_eq(x_545, x_586); -if (x_587 == 0) -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; -lean_ctor_set(x_535, 1, x_551); -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_532); -lean_ctor_set(x_588, 1, x_537); -x_589 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_3); +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_dec(x_525); +lean_ctor_set(x_521, 1, x_537); +lean_ctor_set(x_520, 1, x_568); +lean_ctor_set_usize(x_520, 2, x_535); +lean_ctor_set(x_519, 1, x_573); +lean_ctor_set_usize(x_519, 2, x_535); +lean_ctor_set(x_518, 1, x_578); +lean_ctor_set_usize(x_518, 2, x_535); +x_583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_583, 0, x_518); +lean_ctor_set(x_583, 1, x_523); +x_584 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_583, x_4, x_5); +lean_dec(x_583); +x_585 = lean_ctor_get(x_584, 0); +lean_inc(x_585); +x_586 = lean_ctor_get(x_584, 1); +lean_inc(x_586); +if (lean_is_exclusive(x_584)) { + lean_ctor_release(x_584, 0); + lean_ctor_release(x_584, 1); + x_587 = x_584; +} else { + lean_dec_ref(x_584); + x_587 = lean_box(0); +} +x_588 = l_Lean_Elab_Term_mkTermIdFromIdent(x_585); +lean_inc(x_588); +x_589 = lean_array_push(x_3, x_588); x_590 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_5); -return x_590; -} -else -{ -lean_object* x_591; uint8_t x_592; -lean_dec(x_545); -x_591 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_592 = lean_string_dec_eq(x_542, x_591); -if (x_592 == 0) -{ -lean_object* x_593; lean_object* x_594; lean_object* x_595; -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_586); -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_532); -lean_ctor_set(x_593, 1, x_537); -x_594 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_594, 0, x_593); -lean_ctor_set(x_594, 1, x_3); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_5); -return x_595; -} -else -{ -lean_object* x_596; uint8_t x_597; -lean_dec(x_542); -x_596 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_597 = lean_string_dec_eq(x_539, x_596); -if (x_597 == 0) -{ -lean_object* x_598; lean_object* x_599; lean_object* x_600; -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_586); -lean_ctor_set(x_533, 1, x_591); -x_598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_598, 0, x_532); -lean_ctor_set(x_598, 1, x_537); -x_599 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_599, 0, x_598); -lean_ctor_set(x_599, 1, x_3); -x_600 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_5); -return x_600; -} -else -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; -lean_dec(x_539); -lean_ctor_set(x_535, 1, x_551); -lean_ctor_set(x_534, 1, x_586); -lean_ctor_set_usize(x_534, 2, x_549); -lean_ctor_set(x_533, 1, x_591); -lean_ctor_set_usize(x_533, 2, x_549); -lean_ctor_set(x_532, 1, x_596); -lean_ctor_set_usize(x_532, 2, x_549); -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_532); -lean_ctor_set(x_601, 1, x_537); -x_602 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_601, x_4, x_5); -lean_dec(x_601); -x_603 = lean_ctor_get(x_602, 0); -lean_inc(x_603); -x_604 = lean_ctor_get(x_602, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_602)) { - lean_ctor_release(x_602, 0); - lean_ctor_release(x_602, 1); - x_605 = x_602; +lean_ctor_set(x_590, 0, x_588); +lean_ctor_set(x_590, 1, x_589); +if (lean_is_scalar(x_587)) { + x_591 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_602); - x_605 = lean_box(0); + x_591 = x_587; } -x_606 = l_Lean_Elab_Term_mkHole; -lean_inc(x_603); -x_607 = l_Lean_Elab_Term_mkExplicitBinder(x_603, x_606); -x_608 = lean_array_push(x_3, x_607); -x_609 = l_Lean_Elab_Term_mkTermIdFromIdent(x_603); -x_610 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_610, 0, x_609); -lean_ctor_set(x_610, 1, x_608); -if (lean_is_scalar(x_605)) { - x_611 = lean_alloc_ctor(0, 2, 0); -} else { - x_611 = x_605; -} -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_604); -return x_611; +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_586); +return x_591; } } } @@ -13230,220 +13249,337 @@ return x_611; } else { -lean_object* x_612; size_t x_613; lean_object* x_614; uint8_t x_615; -x_612 = lean_ctor_get(x_535, 1); -x_613 = lean_ctor_get_usize(x_535, 2); -lean_inc(x_612); -lean_dec(x_535); -x_614 = l_Lean_nameToExprAux___main___closed__1; -x_615 = lean_string_dec_eq(x_612, x_614); -lean_dec(x_612); -if (x_615 == 0) +lean_object* x_592; size_t x_593; lean_object* x_594; uint8_t x_595; +x_592 = lean_ctor_get(x_521, 1); +x_593 = lean_ctor_get_usize(x_521, 2); +lean_inc(x_592); +lean_dec(x_521); +x_594 = l_Lean_nameToExprAux___main___closed__1; +x_595 = lean_string_dec_eq(x_592, x_594); +lean_dec(x_592); +if (x_595 == 0) { -lean_object* x_616; lean_object* x_617; -lean_free_object(x_534); -lean_dec(x_545); -lean_free_object(x_533); -lean_dec(x_542); -lean_free_object(x_532); -lean_dec(x_539); -lean_dec(x_537); -x_616 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_616, 0, x_2); -lean_ctor_set(x_616, 1, x_3); -x_617 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_5); -return x_617; +lean_object* x_596; lean_object* x_597; +lean_free_object(x_520); +lean_dec(x_531); +lean_free_object(x_519); +lean_dec(x_528); +lean_free_object(x_518); +lean_dec(x_525); +lean_dec(x_523); +x_596 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_596, 0, x_2); +lean_ctor_set(x_596, 1, x_3); +x_597 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_5); +return x_597; } else { -lean_object* x_618; lean_object* x_619; uint8_t x_620; +lean_object* x_598; lean_object* x_599; uint8_t x_600; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_618 = x_2; + x_598 = x_2; } else { lean_dec_ref(x_2); - x_618 = lean_box(0); + x_598 = lean_box(0); } -x_619 = l_Lean_Syntax_formatStx___main___closed__5; -x_620 = lean_string_dec_eq(x_545, x_619); -if (x_620 == 0) +x_599 = l_Lean_Syntax_formatStx___main___closed__5; +x_600 = lean_string_dec_eq(x_531, x_599); +if (x_600 == 0) { -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -x_621 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_621, 0, x_536); -lean_ctor_set(x_621, 1, x_614); -lean_ctor_set_usize(x_621, 2, x_613); -lean_ctor_set(x_534, 0, x_621); -if (lean_is_scalar(x_618)) { - x_622 = lean_alloc_ctor(1, 2, 0); +lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; +x_601 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_601, 0, x_522); +lean_ctor_set(x_601, 1, x_594); +lean_ctor_set_usize(x_601, 2, x_593); +lean_ctor_set(x_520, 0, x_601); +if (lean_is_scalar(x_598)) { + x_602 = lean_alloc_ctor(1, 2, 0); } else { - x_622 = x_618; + x_602 = x_598; } -lean_ctor_set(x_622, 0, x_532); -lean_ctor_set(x_622, 1, x_537); -x_623 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_623, 0, x_622); -lean_ctor_set(x_623, 1, x_3); -x_624 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_5); -return x_624; +lean_ctor_set(x_602, 0, x_518); +lean_ctor_set(x_602, 1, x_523); +x_603 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_603, 0, x_602); +lean_ctor_set(x_603, 1, x_3); +x_604 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_604, 0, x_603); +lean_ctor_set(x_604, 1, x_5); +return x_604; } else { -lean_object* x_625; uint8_t x_626; -lean_dec(x_545); -x_625 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_626 = lean_string_dec_eq(x_542, x_625); -if (x_626 == 0) +lean_object* x_605; uint8_t x_606; +lean_dec(x_531); +x_605 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_606 = lean_string_dec_eq(x_528, x_605); +if (x_606 == 0) { -lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_627 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_627, 0, x_536); -lean_ctor_set(x_627, 1, x_614); -lean_ctor_set_usize(x_627, 2, x_613); -lean_ctor_set(x_534, 1, x_619); -lean_ctor_set(x_534, 0, x_627); -if (lean_is_scalar(x_618)) { - x_628 = lean_alloc_ctor(1, 2, 0); +lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; +x_607 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_607, 0, x_522); +lean_ctor_set(x_607, 1, x_594); +lean_ctor_set_usize(x_607, 2, x_593); +lean_ctor_set(x_520, 1, x_599); +lean_ctor_set(x_520, 0, x_607); +if (lean_is_scalar(x_598)) { + x_608 = lean_alloc_ctor(1, 2, 0); } else { - x_628 = x_618; + x_608 = x_598; } -lean_ctor_set(x_628, 0, x_532); -lean_ctor_set(x_628, 1, x_537); -x_629 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_629, 0, x_628); -lean_ctor_set(x_629, 1, x_3); -x_630 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_5); -return x_630; +lean_ctor_set(x_608, 0, x_518); +lean_ctor_set(x_608, 1, x_523); +x_609 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_609, 0, x_608); +lean_ctor_set(x_609, 1, x_3); +x_610 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_5); +return x_610; } else { -lean_object* x_631; uint8_t x_632; -lean_dec(x_542); -x_631 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_632 = lean_string_dec_eq(x_539, x_631); -if (x_632 == 0) +lean_object* x_611; uint8_t x_612; +lean_dec(x_528); +x_611 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_612 = lean_string_dec_eq(x_525, x_611); +if (x_612 == 0) { -lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; -x_633 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_633, 0, x_536); -lean_ctor_set(x_633, 1, x_614); -lean_ctor_set_usize(x_633, 2, x_613); -lean_ctor_set(x_534, 1, x_619); -lean_ctor_set(x_534, 0, x_633); -lean_ctor_set(x_533, 1, x_625); -if (lean_is_scalar(x_618)) { - x_634 = lean_alloc_ctor(1, 2, 0); +lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; +x_613 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_613, 0, x_522); +lean_ctor_set(x_613, 1, x_594); +lean_ctor_set_usize(x_613, 2, x_593); +lean_ctor_set(x_520, 1, x_599); +lean_ctor_set(x_520, 0, x_613); +lean_ctor_set(x_519, 1, x_605); +if (lean_is_scalar(x_598)) { + x_614 = lean_alloc_ctor(1, 2, 0); } else { - x_634 = x_618; + x_614 = x_598; } -lean_ctor_set(x_634, 0, x_532); -lean_ctor_set(x_634, 1, x_537); +lean_ctor_set(x_614, 0, x_518); +lean_ctor_set(x_614, 1, x_523); +x_615 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_3); +x_616 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_616, 0, x_615); +lean_ctor_set(x_616, 1, x_5); +return x_616; +} +else +{ +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_dec(x_525); +x_617 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_617, 0, x_522); +lean_ctor_set(x_617, 1, x_594); +lean_ctor_set_usize(x_617, 2, x_593); +lean_ctor_set(x_520, 1, x_599); +lean_ctor_set(x_520, 0, x_617); +lean_ctor_set_usize(x_520, 2, x_593); +lean_ctor_set(x_519, 1, x_605); +lean_ctor_set_usize(x_519, 2, x_593); +lean_ctor_set(x_518, 1, x_611); +lean_ctor_set_usize(x_518, 2, x_593); +if (lean_is_scalar(x_598)) { + x_618 = lean_alloc_ctor(1, 2, 0); +} else { + x_618 = x_598; +} +lean_ctor_set(x_618, 0, x_518); +lean_ctor_set(x_618, 1, x_523); +x_619 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_618, x_4, x_5); +lean_dec(x_618); +x_620 = lean_ctor_get(x_619, 0); +lean_inc(x_620); +x_621 = lean_ctor_get(x_619, 1); +lean_inc(x_621); +if (lean_is_exclusive(x_619)) { + lean_ctor_release(x_619, 0); + lean_ctor_release(x_619, 1); + x_622 = x_619; +} else { + lean_dec_ref(x_619); + x_622 = lean_box(0); +} +x_623 = l_Lean_Elab_Term_mkTermIdFromIdent(x_620); +lean_inc(x_623); +x_624 = lean_array_push(x_3, x_623); +x_625 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_625, 0, x_623); +lean_ctor_set(x_625, 1, x_624); +if (lean_is_scalar(x_622)) { + x_626 = lean_alloc_ctor(0, 2, 0); +} else { + x_626 = x_622; +} +lean_ctor_set(x_626, 0, x_625); +lean_ctor_set(x_626, 1, x_621); +return x_626; +} +} +} +} +} +} +else +{ +lean_object* x_627; size_t x_628; lean_object* x_629; size_t x_630; lean_object* x_631; lean_object* x_632; uint8_t x_633; +x_627 = lean_ctor_get(x_520, 1); +x_628 = lean_ctor_get_usize(x_520, 2); +lean_inc(x_627); +lean_dec(x_520); +x_629 = lean_ctor_get(x_521, 1); +lean_inc(x_629); +x_630 = lean_ctor_get_usize(x_521, 2); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_631 = x_521; +} else { + lean_dec_ref(x_521); + x_631 = lean_box(0); +} +x_632 = l_Lean_nameToExprAux___main___closed__1; +x_633 = lean_string_dec_eq(x_629, x_632); +lean_dec(x_629); +if (x_633 == 0) +{ +lean_object* x_634; lean_object* x_635; +lean_dec(x_631); +lean_dec(x_627); +lean_free_object(x_519); +lean_dec(x_528); +lean_free_object(x_518); +lean_dec(x_525); +lean_dec(x_523); +x_634 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_634, 0, x_2); +lean_ctor_set(x_634, 1, x_3); x_635 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_635, 0, x_634); -lean_ctor_set(x_635, 1, x_3); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_5); -return x_636; +lean_ctor_set(x_635, 1, x_5); +return x_635; } else { -lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; -lean_dec(x_539); -x_637 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_637, 0, x_536); -lean_ctor_set(x_637, 1, x_614); -lean_ctor_set_usize(x_637, 2, x_613); -lean_ctor_set(x_534, 1, x_619); -lean_ctor_set(x_534, 0, x_637); -lean_ctor_set_usize(x_534, 2, x_613); -lean_ctor_set(x_533, 1, x_625); -lean_ctor_set_usize(x_533, 2, x_613); -lean_ctor_set(x_532, 1, x_631); -lean_ctor_set_usize(x_532, 2, x_613); -if (lean_is_scalar(x_618)) { - x_638 = lean_alloc_ctor(1, 2, 0); +lean_object* x_636; lean_object* x_637; uint8_t x_638; +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_636 = x_2; } else { - x_638 = x_618; + lean_dec_ref(x_2); + x_636 = lean_box(0); } -lean_ctor_set(x_638, 0, x_532); -lean_ctor_set(x_638, 1, x_537); -x_639 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_638, x_4, x_5); -lean_dec(x_638); -x_640 = lean_ctor_get(x_639, 0); -lean_inc(x_640); -x_641 = lean_ctor_get(x_639, 1); -lean_inc(x_641); -if (lean_is_exclusive(x_639)) { - lean_ctor_release(x_639, 0); - lean_ctor_release(x_639, 1); - x_642 = x_639; +x_637 = l_Lean_Syntax_formatStx___main___closed__5; +x_638 = lean_string_dec_eq(x_627, x_637); +if (x_638 == 0) +{ +lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; +if (lean_is_scalar(x_631)) { + x_639 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_639); - x_642 = lean_box(0); + x_639 = x_631; } -x_643 = l_Lean_Elab_Term_mkHole; -lean_inc(x_640); -x_644 = l_Lean_Elab_Term_mkExplicitBinder(x_640, x_643); -x_645 = lean_array_push(x_3, x_644); -x_646 = l_Lean_Elab_Term_mkTermIdFromIdent(x_640); -x_647 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_639, 0, x_522); +lean_ctor_set(x_639, 1, x_632); +lean_ctor_set_usize(x_639, 2, x_630); +x_640 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_627); +lean_ctor_set_usize(x_640, 2, x_628); +lean_ctor_set(x_519, 0, x_640); +if (lean_is_scalar(x_636)) { + x_641 = lean_alloc_ctor(1, 2, 0); +} else { + x_641 = x_636; +} +lean_ctor_set(x_641, 0, x_518); +lean_ctor_set(x_641, 1, x_523); +x_642 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_642, 0, x_641); +lean_ctor_set(x_642, 1, x_3); +x_643 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_5); +return x_643; +} +else +{ +lean_object* x_644; uint8_t x_645; +lean_dec(x_627); +x_644 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_645 = lean_string_dec_eq(x_528, x_644); +if (x_645 == 0) +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; +if (lean_is_scalar(x_631)) { + x_646 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_646 = x_631; +} +lean_ctor_set(x_646, 0, x_522); +lean_ctor_set(x_646, 1, x_632); +lean_ctor_set_usize(x_646, 2, x_630); +x_647 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -if (lean_is_scalar(x_642)) { - x_648 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_647, 1, x_637); +lean_ctor_set_usize(x_647, 2, x_628); +lean_ctor_set(x_519, 0, x_647); +if (lean_is_scalar(x_636)) { + x_648 = lean_alloc_ctor(1, 2, 0); } else { - x_648 = x_642; -} -lean_ctor_set(x_648, 0, x_647); -lean_ctor_set(x_648, 1, x_641); -return x_648; -} -} -} -} + x_648 = x_636; } +lean_ctor_set(x_648, 0, x_518); +lean_ctor_set(x_648, 1, x_523); +x_649 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_3); +x_650 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_650, 0, x_649); +lean_ctor_set(x_650, 1, x_5); +return x_650; } else { -lean_object* x_649; size_t x_650; lean_object* x_651; size_t x_652; lean_object* x_653; lean_object* x_654; uint8_t x_655; -x_649 = lean_ctor_get(x_534, 1); -x_650 = lean_ctor_get_usize(x_534, 2); -lean_inc(x_649); -lean_dec(x_534); -x_651 = lean_ctor_get(x_535, 1); -lean_inc(x_651); -x_652 = lean_ctor_get_usize(x_535, 2); -if (lean_is_exclusive(x_535)) { - lean_ctor_release(x_535, 0); - lean_ctor_release(x_535, 1); - x_653 = x_535; -} else { - lean_dec_ref(x_535); - x_653 = lean_box(0); -} -x_654 = l_Lean_nameToExprAux___main___closed__1; -x_655 = lean_string_dec_eq(x_651, x_654); -lean_dec(x_651); -if (x_655 == 0) +lean_object* x_651; uint8_t x_652; +lean_dec(x_528); +x_651 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_652 = lean_string_dec_eq(x_525, x_651); +if (x_652 == 0) { -lean_object* x_656; lean_object* x_657; -lean_dec(x_653); -lean_dec(x_649); -lean_free_object(x_533); -lean_dec(x_542); -lean_free_object(x_532); -lean_dec(x_539); -lean_dec(x_537); +lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +if (lean_is_scalar(x_631)) { + x_653 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_653 = x_631; +} +lean_ctor_set(x_653, 0, x_522); +lean_ctor_set(x_653, 1, x_632); +lean_ctor_set_usize(x_653, 2, x_630); +x_654 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_654, 0, x_653); +lean_ctor_set(x_654, 1, x_637); +lean_ctor_set_usize(x_654, 2, x_628); +lean_ctor_set(x_519, 1, x_644); +lean_ctor_set(x_519, 0, x_654); +if (lean_is_scalar(x_636)) { + x_655 = lean_alloc_ctor(1, 2, 0); +} else { + x_655 = x_636; +} +lean_ctor_set(x_655, 0, x_518); +lean_ctor_set(x_655, 1, x_523); x_656 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_656, 0, x_2); +lean_ctor_set(x_656, 0, x_655); lean_ctor_set(x_656, 1, x_3); x_657 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_657, 0, x_656); @@ -13452,833 +13588,708 @@ return x_657; } else { -lean_object* x_658; lean_object* x_659; uint8_t x_660; +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; +lean_dec(x_525); +if (lean_is_scalar(x_631)) { + x_658 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_658 = x_631; +} +lean_ctor_set(x_658, 0, x_522); +lean_ctor_set(x_658, 1, x_632); +lean_ctor_set_usize(x_658, 2, x_630); +x_659 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_659, 0, x_658); +lean_ctor_set(x_659, 1, x_637); +lean_ctor_set_usize(x_659, 2, x_630); +lean_ctor_set(x_519, 1, x_644); +lean_ctor_set(x_519, 0, x_659); +lean_ctor_set_usize(x_519, 2, x_630); +lean_ctor_set(x_518, 1, x_651); +lean_ctor_set_usize(x_518, 2, x_630); +if (lean_is_scalar(x_636)) { + x_660 = lean_alloc_ctor(1, 2, 0); +} else { + x_660 = x_636; +} +lean_ctor_set(x_660, 0, x_518); +lean_ctor_set(x_660, 1, x_523); +x_661 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_660, x_4, x_5); +lean_dec(x_660); +x_662 = lean_ctor_get(x_661, 0); +lean_inc(x_662); +x_663 = lean_ctor_get(x_661, 1); +lean_inc(x_663); +if (lean_is_exclusive(x_661)) { + lean_ctor_release(x_661, 0); + lean_ctor_release(x_661, 1); + x_664 = x_661; +} else { + lean_dec_ref(x_661); + x_664 = lean_box(0); +} +x_665 = l_Lean_Elab_Term_mkTermIdFromIdent(x_662); +lean_inc(x_665); +x_666 = lean_array_push(x_3, x_665); +x_667 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_667, 0, x_665); +lean_ctor_set(x_667, 1, x_666); +if (lean_is_scalar(x_664)) { + x_668 = lean_alloc_ctor(0, 2, 0); +} else { + x_668 = x_664; +} +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_663); +return x_668; +} +} +} +} +} +} +else +{ +lean_object* x_669; size_t x_670; lean_object* x_671; size_t x_672; lean_object* x_673; lean_object* x_674; size_t x_675; lean_object* x_676; lean_object* x_677; uint8_t x_678; +x_669 = lean_ctor_get(x_519, 1); +x_670 = lean_ctor_get_usize(x_519, 2); +lean_inc(x_669); +lean_dec(x_519); +x_671 = lean_ctor_get(x_520, 1); +lean_inc(x_671); +x_672 = lean_ctor_get_usize(x_520, 2); +if (lean_is_exclusive(x_520)) { + lean_ctor_release(x_520, 0); + lean_ctor_release(x_520, 1); + x_673 = x_520; +} else { + lean_dec_ref(x_520); + x_673 = lean_box(0); +} +x_674 = lean_ctor_get(x_521, 1); +lean_inc(x_674); +x_675 = lean_ctor_get_usize(x_521, 2); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_676 = x_521; +} else { + lean_dec_ref(x_521); + x_676 = lean_box(0); +} +x_677 = l_Lean_nameToExprAux___main___closed__1; +x_678 = lean_string_dec_eq(x_674, x_677); +lean_dec(x_674); +if (x_678 == 0) +{ +lean_object* x_679; lean_object* x_680; +lean_dec(x_676); +lean_dec(x_673); +lean_dec(x_671); +lean_dec(x_669); +lean_free_object(x_518); +lean_dec(x_525); +lean_dec(x_523); +x_679 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_679, 0, x_2); +lean_ctor_set(x_679, 1, x_3); +x_680 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_680, 0, x_679); +lean_ctor_set(x_680, 1, x_5); +return x_680; +} +else +{ +lean_object* x_681; lean_object* x_682; uint8_t x_683; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_658 = x_2; + x_681 = x_2; } else { lean_dec_ref(x_2); - x_658 = lean_box(0); + x_681 = lean_box(0); } -x_659 = l_Lean_Syntax_formatStx___main___closed__5; -x_660 = lean_string_dec_eq(x_649, x_659); -if (x_660 == 0) +x_682 = l_Lean_Syntax_formatStx___main___closed__5; +x_683 = lean_string_dec_eq(x_671, x_682); +if (x_683 == 0) { -lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -if (lean_is_scalar(x_653)) { - x_661 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; +if (lean_is_scalar(x_676)) { + x_684 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_661 = x_653; + x_684 = x_676; } -lean_ctor_set(x_661, 0, x_536); -lean_ctor_set(x_661, 1, x_654); -lean_ctor_set_usize(x_661, 2, x_652); -x_662 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_662, 0, x_661); -lean_ctor_set(x_662, 1, x_649); -lean_ctor_set_usize(x_662, 2, x_650); -lean_ctor_set(x_533, 0, x_662); -if (lean_is_scalar(x_658)) { - x_663 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_684, 0, x_522); +lean_ctor_set(x_684, 1, x_677); +lean_ctor_set_usize(x_684, 2, x_675); +if (lean_is_scalar(x_673)) { + x_685 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_663 = x_658; + x_685 = x_673; } -lean_ctor_set(x_663, 0, x_532); -lean_ctor_set(x_663, 1, x_537); -x_664 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_664, 0, x_663); -lean_ctor_set(x_664, 1, x_3); -x_665 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_665, 0, x_664); -lean_ctor_set(x_665, 1, x_5); -return x_665; +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_671); +lean_ctor_set_usize(x_685, 2, x_672); +x_686 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_686, 0, x_685); +lean_ctor_set(x_686, 1, x_669); +lean_ctor_set_usize(x_686, 2, x_670); +lean_ctor_set(x_518, 0, x_686); +if (lean_is_scalar(x_681)) { + x_687 = lean_alloc_ctor(1, 2, 0); +} else { + x_687 = x_681; +} +lean_ctor_set(x_687, 0, x_518); +lean_ctor_set(x_687, 1, x_523); +x_688 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_3); +x_689 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_5); +return x_689; } else { -lean_object* x_666; uint8_t x_667; -lean_dec(x_649); -x_666 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_667 = lean_string_dec_eq(x_542, x_666); -if (x_667 == 0) +lean_object* x_690; uint8_t x_691; +lean_dec(x_671); +x_690 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_691 = lean_string_dec_eq(x_669, x_690); +if (x_691 == 0) { -lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; -if (lean_is_scalar(x_653)) { - x_668 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; +if (lean_is_scalar(x_676)) { + x_692 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_668 = x_653; + x_692 = x_676; } -lean_ctor_set(x_668, 0, x_536); -lean_ctor_set(x_668, 1, x_654); -lean_ctor_set_usize(x_668, 2, x_652); -x_669 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_659); -lean_ctor_set_usize(x_669, 2, x_650); -lean_ctor_set(x_533, 0, x_669); -if (lean_is_scalar(x_658)) { - x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_522); +lean_ctor_set(x_692, 1, x_677); +lean_ctor_set_usize(x_692, 2, x_675); +if (lean_is_scalar(x_673)) { + x_693 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_670 = x_658; + x_693 = x_673; } -lean_ctor_set(x_670, 0, x_532); -lean_ctor_set(x_670, 1, x_537); -x_671 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_671, 0, x_670); -lean_ctor_set(x_671, 1, x_3); -x_672 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_672, 0, x_671); -lean_ctor_set(x_672, 1, x_5); -return x_672; +lean_ctor_set(x_693, 0, x_692); +lean_ctor_set(x_693, 1, x_682); +lean_ctor_set_usize(x_693, 2, x_672); +x_694 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_694, 0, x_693); +lean_ctor_set(x_694, 1, x_669); +lean_ctor_set_usize(x_694, 2, x_670); +lean_ctor_set(x_518, 0, x_694); +if (lean_is_scalar(x_681)) { + x_695 = lean_alloc_ctor(1, 2, 0); +} else { + x_695 = x_681; +} +lean_ctor_set(x_695, 0, x_518); +lean_ctor_set(x_695, 1, x_523); +x_696 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_696, 0, x_695); +lean_ctor_set(x_696, 1, x_3); +x_697 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_697, 0, x_696); +lean_ctor_set(x_697, 1, x_5); +return x_697; } else { -lean_object* x_673; uint8_t x_674; -lean_dec(x_542); -x_673 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_674 = lean_string_dec_eq(x_539, x_673); -if (x_674 == 0) +lean_object* x_698; uint8_t x_699; +lean_dec(x_669); +x_698 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_699 = lean_string_dec_eq(x_525, x_698); +if (x_699 == 0) { -lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -if (lean_is_scalar(x_653)) { - x_675 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +if (lean_is_scalar(x_676)) { + x_700 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_675 = x_653; + x_700 = x_676; } -lean_ctor_set(x_675, 0, x_536); -lean_ctor_set(x_675, 1, x_654); -lean_ctor_set_usize(x_675, 2, x_652); -x_676 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_676, 0, x_675); -lean_ctor_set(x_676, 1, x_659); -lean_ctor_set_usize(x_676, 2, x_650); -lean_ctor_set(x_533, 1, x_666); -lean_ctor_set(x_533, 0, x_676); -if (lean_is_scalar(x_658)) { - x_677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_700, 0, x_522); +lean_ctor_set(x_700, 1, x_677); +lean_ctor_set_usize(x_700, 2, x_675); +if (lean_is_scalar(x_673)) { + x_701 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_677 = x_658; + x_701 = x_673; } -lean_ctor_set(x_677, 0, x_532); -lean_ctor_set(x_677, 1, x_537); -x_678 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_678, 0, x_677); -lean_ctor_set(x_678, 1, x_3); -x_679 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_679, 0, x_678); -lean_ctor_set(x_679, 1, x_5); -return x_679; -} -else -{ -lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -lean_dec(x_539); -if (lean_is_scalar(x_653)) { - x_680 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_701, 0, x_700); +lean_ctor_set(x_701, 1, x_682); +lean_ctor_set_usize(x_701, 2, x_672); +x_702 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_702, 0, x_701); +lean_ctor_set(x_702, 1, x_690); +lean_ctor_set_usize(x_702, 2, x_670); +lean_ctor_set(x_518, 0, x_702); +if (lean_is_scalar(x_681)) { + x_703 = lean_alloc_ctor(1, 2, 0); } else { - x_680 = x_653; + x_703 = x_681; } -lean_ctor_set(x_680, 0, x_536); -lean_ctor_set(x_680, 1, x_654); -lean_ctor_set_usize(x_680, 2, x_652); -x_681 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_659); -lean_ctor_set_usize(x_681, 2, x_652); -lean_ctor_set(x_533, 1, x_666); -lean_ctor_set(x_533, 0, x_681); -lean_ctor_set_usize(x_533, 2, x_652); -lean_ctor_set(x_532, 1, x_673); -lean_ctor_set_usize(x_532, 2, x_652); -if (lean_is_scalar(x_658)) { - x_682 = lean_alloc_ctor(1, 2, 0); -} else { - x_682 = x_658; -} -lean_ctor_set(x_682, 0, x_532); -lean_ctor_set(x_682, 1, x_537); -x_683 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_682, x_4, x_5); -lean_dec(x_682); -x_684 = lean_ctor_get(x_683, 0); -lean_inc(x_684); -x_685 = lean_ctor_get(x_683, 1); -lean_inc(x_685); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_686 = x_683; -} else { - lean_dec_ref(x_683); - x_686 = lean_box(0); -} -x_687 = l_Lean_Elab_Term_mkHole; -lean_inc(x_684); -x_688 = l_Lean_Elab_Term_mkExplicitBinder(x_684, x_687); -x_689 = lean_array_push(x_3, x_688); -x_690 = l_Lean_Elab_Term_mkTermIdFromIdent(x_684); -x_691 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_691, 0, x_690); -lean_ctor_set(x_691, 1, x_689); -if (lean_is_scalar(x_686)) { - x_692 = lean_alloc_ctor(0, 2, 0); -} else { - x_692 = x_686; -} -lean_ctor_set(x_692, 0, x_691); -lean_ctor_set(x_692, 1, x_685); -return x_692; -} -} -} -} -} -} -else -{ -lean_object* x_693; size_t x_694; lean_object* x_695; size_t x_696; lean_object* x_697; lean_object* x_698; size_t x_699; lean_object* x_700; lean_object* x_701; uint8_t x_702; -x_693 = lean_ctor_get(x_533, 1); -x_694 = lean_ctor_get_usize(x_533, 2); -lean_inc(x_693); -lean_dec(x_533); -x_695 = lean_ctor_get(x_534, 1); -lean_inc(x_695); -x_696 = lean_ctor_get_usize(x_534, 2); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_697 = x_534; -} else { - lean_dec_ref(x_534); - x_697 = lean_box(0); -} -x_698 = lean_ctor_get(x_535, 1); -lean_inc(x_698); -x_699 = lean_ctor_get_usize(x_535, 2); -if (lean_is_exclusive(x_535)) { - lean_ctor_release(x_535, 0); - lean_ctor_release(x_535, 1); - x_700 = x_535; -} else { - lean_dec_ref(x_535); - x_700 = lean_box(0); -} -x_701 = l_Lean_nameToExprAux___main___closed__1; -x_702 = lean_string_dec_eq(x_698, x_701); -lean_dec(x_698); -if (x_702 == 0) -{ -lean_object* x_703; lean_object* x_704; -lean_dec(x_700); -lean_dec(x_697); -lean_dec(x_695); -lean_dec(x_693); -lean_free_object(x_532); -lean_dec(x_539); -lean_dec(x_537); -x_703 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_703, 0, x_2); -lean_ctor_set(x_703, 1, x_3); +lean_ctor_set(x_703, 0, x_518); +lean_ctor_set(x_703, 1, x_523); x_704 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_704, 0, x_703); -lean_ctor_set(x_704, 1, x_5); -return x_704; +lean_ctor_set(x_704, 1, x_3); +x_705 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_705, 0, x_704); +lean_ctor_set(x_705, 1, x_5); +return x_705; } else { -lean_object* x_705; lean_object* x_706; uint8_t x_707; -if (lean_is_exclusive(x_2)) { - lean_ctor_release(x_2, 0); - lean_ctor_release(x_2, 1); - x_705 = x_2; +lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +lean_dec(x_525); +if (lean_is_scalar(x_676)) { + x_706 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_2); - x_705 = lean_box(0); + x_706 = x_676; } -x_706 = l_Lean_Syntax_formatStx___main___closed__5; -x_707 = lean_string_dec_eq(x_695, x_706); -if (x_707 == 0) -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; -if (lean_is_scalar(x_700)) { - x_708 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_706, 0, x_522); +lean_ctor_set(x_706, 1, x_677); +lean_ctor_set_usize(x_706, 2, x_675); +if (lean_is_scalar(x_673)) { + x_707 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_708 = x_700; + x_707 = x_673; } -lean_ctor_set(x_708, 0, x_536); -lean_ctor_set(x_708, 1, x_701); -lean_ctor_set_usize(x_708, 2, x_699); -if (lean_is_scalar(x_697)) { - x_709 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_707, 0, x_706); +lean_ctor_set(x_707, 1, x_682); +lean_ctor_set_usize(x_707, 2, x_675); +x_708 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_708, 0, x_707); +lean_ctor_set(x_708, 1, x_690); +lean_ctor_set_usize(x_708, 2, x_675); +lean_ctor_set(x_518, 1, x_698); +lean_ctor_set(x_518, 0, x_708); +lean_ctor_set_usize(x_518, 2, x_675); +if (lean_is_scalar(x_681)) { + x_709 = lean_alloc_ctor(1, 2, 0); } else { - x_709 = x_697; + x_709 = x_681; } -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_695); -lean_ctor_set_usize(x_709, 2, x_696); -x_710 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_710, 0, x_709); -lean_ctor_set(x_710, 1, x_693); -lean_ctor_set_usize(x_710, 2, x_694); -lean_ctor_set(x_532, 0, x_710); -if (lean_is_scalar(x_705)) { - x_711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_709, 0, x_518); +lean_ctor_set(x_709, 1, x_523); +x_710 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_709, x_4, x_5); +lean_dec(x_709); +x_711 = lean_ctor_get(x_710, 0); +lean_inc(x_711); +x_712 = lean_ctor_get(x_710, 1); +lean_inc(x_712); +if (lean_is_exclusive(x_710)) { + lean_ctor_release(x_710, 0); + lean_ctor_release(x_710, 1); + x_713 = x_710; } else { - x_711 = x_705; + lean_dec_ref(x_710); + x_713 = lean_box(0); } -lean_ctor_set(x_711, 0, x_532); -lean_ctor_set(x_711, 1, x_537); -x_712 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_712, 0, x_711); -lean_ctor_set(x_712, 1, x_3); -x_713 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_5); -return x_713; -} -else -{ -lean_object* x_714; uint8_t x_715; -lean_dec(x_695); -x_714 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_715 = lean_string_dec_eq(x_693, x_714); -if (x_715 == 0) -{ -lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; -if (lean_is_scalar(x_700)) { - x_716 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_714 = l_Lean_Elab_Term_mkTermIdFromIdent(x_711); +lean_inc(x_714); +x_715 = lean_array_push(x_3, x_714); +x_716 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_716, 0, x_714); +lean_ctor_set(x_716, 1, x_715); +if (lean_is_scalar(x_713)) { + x_717 = lean_alloc_ctor(0, 2, 0); } else { - x_716 = x_700; -} -lean_ctor_set(x_716, 0, x_536); -lean_ctor_set(x_716, 1, x_701); -lean_ctor_set_usize(x_716, 2, x_699); -if (lean_is_scalar(x_697)) { - x_717 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_717 = x_697; + x_717 = x_713; } lean_ctor_set(x_717, 0, x_716); -lean_ctor_set(x_717, 1, x_706); -lean_ctor_set_usize(x_717, 2, x_696); -x_718 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_718, 0, x_717); -lean_ctor_set(x_718, 1, x_693); -lean_ctor_set_usize(x_718, 2, x_694); -lean_ctor_set(x_532, 0, x_718); -if (lean_is_scalar(x_705)) { - x_719 = lean_alloc_ctor(1, 2, 0); -} else { - x_719 = x_705; +lean_ctor_set(x_717, 1, x_712); +return x_717; +} +} +} +} } -lean_ctor_set(x_719, 0, x_532); -lean_ctor_set(x_719, 1, x_537); -x_720 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_720, 0, x_719); -lean_ctor_set(x_720, 1, x_3); -x_721 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_721, 0, x_720); -lean_ctor_set(x_721, 1, x_5); -return x_721; } else { -lean_object* x_722; uint8_t x_723; -lean_dec(x_693); -x_722 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_723 = lean_string_dec_eq(x_539, x_722); -if (x_723 == 0) +lean_object* x_718; size_t x_719; lean_object* x_720; size_t x_721; lean_object* x_722; lean_object* x_723; size_t x_724; lean_object* x_725; lean_object* x_726; size_t x_727; lean_object* x_728; lean_object* x_729; uint8_t x_730; +x_718 = lean_ctor_get(x_518, 1); +x_719 = lean_ctor_get_usize(x_518, 2); +lean_inc(x_718); +lean_dec(x_518); +x_720 = lean_ctor_get(x_519, 1); +lean_inc(x_720); +x_721 = lean_ctor_get_usize(x_519, 2); +if (lean_is_exclusive(x_519)) { + lean_ctor_release(x_519, 0); + lean_ctor_release(x_519, 1); + x_722 = x_519; +} else { + lean_dec_ref(x_519); + x_722 = lean_box(0); +} +x_723 = lean_ctor_get(x_520, 1); +lean_inc(x_723); +x_724 = lean_ctor_get_usize(x_520, 2); +if (lean_is_exclusive(x_520)) { + lean_ctor_release(x_520, 0); + lean_ctor_release(x_520, 1); + x_725 = x_520; +} else { + lean_dec_ref(x_520); + x_725 = lean_box(0); +} +x_726 = lean_ctor_get(x_521, 1); +lean_inc(x_726); +x_727 = lean_ctor_get_usize(x_521, 2); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_728 = x_521; +} else { + lean_dec_ref(x_521); + x_728 = lean_box(0); +} +x_729 = l_Lean_nameToExprAux___main___closed__1; +x_730 = lean_string_dec_eq(x_726, x_729); +lean_dec(x_726); +if (x_730 == 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; -if (lean_is_scalar(x_700)) { - x_724 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_724 = x_700; -} -lean_ctor_set(x_724, 0, x_536); -lean_ctor_set(x_724, 1, x_701); -lean_ctor_set_usize(x_724, 2, x_699); -if (lean_is_scalar(x_697)) { - x_725 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_725 = x_697; -} -lean_ctor_set(x_725, 0, x_724); -lean_ctor_set(x_725, 1, x_706); -lean_ctor_set_usize(x_725, 2, x_696); -x_726 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_726, 0, x_725); -lean_ctor_set(x_726, 1, x_714); -lean_ctor_set_usize(x_726, 2, x_694); -lean_ctor_set(x_532, 0, x_726); -if (lean_is_scalar(x_705)) { - x_727 = lean_alloc_ctor(1, 2, 0); -} else { - x_727 = x_705; -} -lean_ctor_set(x_727, 0, x_532); -lean_ctor_set(x_727, 1, x_537); -x_728 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_728, 0, x_727); -lean_ctor_set(x_728, 1, x_3); -x_729 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_729, 0, x_728); -lean_ctor_set(x_729, 1, x_5); -return x_729; -} -else -{ -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_dec(x_539); -if (lean_is_scalar(x_700)) { - x_730 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_730 = x_700; -} -lean_ctor_set(x_730, 0, x_536); -lean_ctor_set(x_730, 1, x_701); -lean_ctor_set_usize(x_730, 2, x_699); -if (lean_is_scalar(x_697)) { - x_731 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_731 = x_697; -} -lean_ctor_set(x_731, 0, x_730); -lean_ctor_set(x_731, 1, x_706); -lean_ctor_set_usize(x_731, 2, x_699); -x_732 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_731; lean_object* x_732; +lean_dec(x_728); +lean_dec(x_725); +lean_dec(x_723); +lean_dec(x_722); +lean_dec(x_720); +lean_dec(x_718); +lean_dec(x_523); +x_731 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_731, 0, x_2); +lean_ctor_set(x_731, 1, x_3); +x_732 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_732, 0, x_731); -lean_ctor_set(x_732, 1, x_714); -lean_ctor_set_usize(x_732, 2, x_699); -lean_ctor_set(x_532, 1, x_722); -lean_ctor_set(x_532, 0, x_732); -lean_ctor_set_usize(x_532, 2, x_699); -if (lean_is_scalar(x_705)) { - x_733 = lean_alloc_ctor(1, 2, 0); -} else { - x_733 = x_705; -} -lean_ctor_set(x_733, 0, x_532); -lean_ctor_set(x_733, 1, x_537); -x_734 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_733, x_4, x_5); -lean_dec(x_733); -x_735 = lean_ctor_get(x_734, 0); -lean_inc(x_735); -x_736 = lean_ctor_get(x_734, 1); -lean_inc(x_736); -if (lean_is_exclusive(x_734)) { - lean_ctor_release(x_734, 0); - lean_ctor_release(x_734, 1); - x_737 = x_734; -} else { - lean_dec_ref(x_734); - x_737 = lean_box(0); -} -x_738 = l_Lean_Elab_Term_mkHole; -lean_inc(x_735); -x_739 = l_Lean_Elab_Term_mkExplicitBinder(x_735, x_738); -x_740 = lean_array_push(x_3, x_739); -x_741 = l_Lean_Elab_Term_mkTermIdFromIdent(x_735); -x_742 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_742, 0, x_741); -lean_ctor_set(x_742, 1, x_740); -if (lean_is_scalar(x_737)) { - x_743 = lean_alloc_ctor(0, 2, 0); -} else { - x_743 = x_737; -} -lean_ctor_set(x_743, 0, x_742); -lean_ctor_set(x_743, 1, x_736); -return x_743; -} -} -} -} -} +lean_ctor_set(x_732, 1, x_5); +return x_732; } else { -lean_object* x_744; size_t x_745; lean_object* x_746; size_t x_747; lean_object* x_748; lean_object* x_749; size_t x_750; lean_object* x_751; lean_object* x_752; size_t x_753; lean_object* x_754; lean_object* x_755; uint8_t x_756; -x_744 = lean_ctor_get(x_532, 1); -x_745 = lean_ctor_get_usize(x_532, 2); -lean_inc(x_744); -lean_dec(x_532); -x_746 = lean_ctor_get(x_533, 1); -lean_inc(x_746); -x_747 = lean_ctor_get_usize(x_533, 2); -if (lean_is_exclusive(x_533)) { - lean_ctor_release(x_533, 0); - lean_ctor_release(x_533, 1); - x_748 = x_533; -} else { - lean_dec_ref(x_533); - x_748 = lean_box(0); -} -x_749 = lean_ctor_get(x_534, 1); -lean_inc(x_749); -x_750 = lean_ctor_get_usize(x_534, 2); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_751 = x_534; -} else { - lean_dec_ref(x_534); - x_751 = lean_box(0); -} -x_752 = lean_ctor_get(x_535, 1); -lean_inc(x_752); -x_753 = lean_ctor_get_usize(x_535, 2); -if (lean_is_exclusive(x_535)) { - lean_ctor_release(x_535, 0); - lean_ctor_release(x_535, 1); - x_754 = x_535; -} else { - lean_dec_ref(x_535); - x_754 = lean_box(0); -} -x_755 = l_Lean_nameToExprAux___main___closed__1; -x_756 = lean_string_dec_eq(x_752, x_755); -lean_dec(x_752); -if (x_756 == 0) -{ -lean_object* x_757; lean_object* x_758; -lean_dec(x_754); -lean_dec(x_751); -lean_dec(x_749); -lean_dec(x_748); -lean_dec(x_746); -lean_dec(x_744); -lean_dec(x_537); -x_757 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_757, 0, x_2); -lean_ctor_set(x_757, 1, x_3); -x_758 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_758, 0, x_757); -lean_ctor_set(x_758, 1, x_5); -return x_758; -} -else -{ -lean_object* x_759; lean_object* x_760; uint8_t x_761; +lean_object* x_733; lean_object* x_734; uint8_t x_735; if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); - x_759 = x_2; + x_733 = x_2; } else { lean_dec_ref(x_2); - x_759 = lean_box(0); + x_733 = lean_box(0); } -x_760 = l_Lean_Syntax_formatStx___main___closed__5; -x_761 = lean_string_dec_eq(x_749, x_760); -if (x_761 == 0) +x_734 = l_Lean_Syntax_formatStx___main___closed__5; +x_735 = lean_string_dec_eq(x_723, x_734); +if (x_735 == 0) { -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; -if (lean_is_scalar(x_754)) { - x_762 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +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; +if (lean_is_scalar(x_728)) { + x_736 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_762 = x_754; + x_736 = x_728; } -lean_ctor_set(x_762, 0, x_536); -lean_ctor_set(x_762, 1, x_755); -lean_ctor_set_usize(x_762, 2, x_753); -if (lean_is_scalar(x_751)) { - x_763 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_736, 0, x_522); +lean_ctor_set(x_736, 1, x_729); +lean_ctor_set_usize(x_736, 2, x_727); +if (lean_is_scalar(x_725)) { + x_737 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_763 = x_751; + x_737 = x_725; } -lean_ctor_set(x_763, 0, x_762); -lean_ctor_set(x_763, 1, x_749); -lean_ctor_set_usize(x_763, 2, x_750); -if (lean_is_scalar(x_748)) { - x_764 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_737, 0, x_736); +lean_ctor_set(x_737, 1, x_723); +lean_ctor_set_usize(x_737, 2, x_724); +if (lean_is_scalar(x_722)) { + x_738 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_764 = x_748; + x_738 = x_722; } -lean_ctor_set(x_764, 0, x_763); -lean_ctor_set(x_764, 1, x_746); -lean_ctor_set_usize(x_764, 2, x_747); -x_765 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_744); -lean_ctor_set_usize(x_765, 2, x_745); -if (lean_is_scalar(x_759)) { - x_766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_720); +lean_ctor_set_usize(x_738, 2, x_721); +x_739 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_739, 0, x_738); +lean_ctor_set(x_739, 1, x_718); +lean_ctor_set_usize(x_739, 2, x_719); +if (lean_is_scalar(x_733)) { + x_740 = lean_alloc_ctor(1, 2, 0); } else { - x_766 = x_759; + x_740 = x_733; } -lean_ctor_set(x_766, 0, x_765); -lean_ctor_set(x_766, 1, x_537); -x_767 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_767, 0, x_766); -lean_ctor_set(x_767, 1, x_3); -x_768 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_5); -return x_768; +lean_ctor_set(x_740, 0, x_739); +lean_ctor_set(x_740, 1, x_523); +x_741 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_3); +x_742 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_742, 0, x_741); +lean_ctor_set(x_742, 1, x_5); +return x_742; } else { -lean_object* x_769; uint8_t x_770; -lean_dec(x_749); -x_769 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_770 = lean_string_dec_eq(x_746, x_769); -if (x_770 == 0) +lean_object* x_743; uint8_t x_744; +lean_dec(x_723); +x_743 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_744 = lean_string_dec_eq(x_720, x_743); +if (x_744 == 0) { -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; -if (lean_is_scalar(x_754)) { - x_771 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +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; +if (lean_is_scalar(x_728)) { + x_745 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_771 = x_754; + x_745 = x_728; } -lean_ctor_set(x_771, 0, x_536); -lean_ctor_set(x_771, 1, x_755); -lean_ctor_set_usize(x_771, 2, x_753); -if (lean_is_scalar(x_751)) { - x_772 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_745, 0, x_522); +lean_ctor_set(x_745, 1, x_729); +lean_ctor_set_usize(x_745, 2, x_727); +if (lean_is_scalar(x_725)) { + x_746 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_772 = x_751; + x_746 = x_725; } -lean_ctor_set(x_772, 0, x_771); -lean_ctor_set(x_772, 1, x_760); -lean_ctor_set_usize(x_772, 2, x_750); -if (lean_is_scalar(x_748)) { - x_773 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_746, 0, x_745); +lean_ctor_set(x_746, 1, x_734); +lean_ctor_set_usize(x_746, 2, x_724); +if (lean_is_scalar(x_722)) { + x_747 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_773 = x_748; + x_747 = x_722; +} +lean_ctor_set(x_747, 0, x_746); +lean_ctor_set(x_747, 1, x_720); +lean_ctor_set_usize(x_747, 2, x_721); +x_748 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_748, 0, x_747); +lean_ctor_set(x_748, 1, x_718); +lean_ctor_set_usize(x_748, 2, x_719); +if (lean_is_scalar(x_733)) { + x_749 = lean_alloc_ctor(1, 2, 0); +} else { + x_749 = x_733; +} +lean_ctor_set(x_749, 0, x_748); +lean_ctor_set(x_749, 1, x_523); +x_750 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_750, 0, x_749); +lean_ctor_set(x_750, 1, x_3); +x_751 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_751, 0, x_750); +lean_ctor_set(x_751, 1, x_5); +return x_751; +} +else +{ +lean_object* x_752; uint8_t x_753; +lean_dec(x_720); +x_752 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; +x_753 = lean_string_dec_eq(x_718, x_752); +if (x_753 == 0) +{ +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; +if (lean_is_scalar(x_728)) { + x_754 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_754 = x_728; +} +lean_ctor_set(x_754, 0, x_522); +lean_ctor_set(x_754, 1, x_729); +lean_ctor_set_usize(x_754, 2, x_727); +if (lean_is_scalar(x_725)) { + x_755 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_755 = x_725; +} +lean_ctor_set(x_755, 0, x_754); +lean_ctor_set(x_755, 1, x_734); +lean_ctor_set_usize(x_755, 2, x_724); +if (lean_is_scalar(x_722)) { + x_756 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_756 = x_722; +} +lean_ctor_set(x_756, 0, x_755); +lean_ctor_set(x_756, 1, x_743); +lean_ctor_set_usize(x_756, 2, x_721); +x_757 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_757, 0, x_756); +lean_ctor_set(x_757, 1, x_718); +lean_ctor_set_usize(x_757, 2, x_719); +if (lean_is_scalar(x_733)) { + x_758 = lean_alloc_ctor(1, 2, 0); +} else { + x_758 = x_733; +} +lean_ctor_set(x_758, 0, x_757); +lean_ctor_set(x_758, 1, x_523); +x_759 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_759, 0, x_758); +lean_ctor_set(x_759, 1, x_3); +x_760 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_760, 0, x_759); +lean_ctor_set(x_760, 1, x_5); +return x_760; +} +else +{ +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_dec(x_718); +if (lean_is_scalar(x_728)) { + x_761 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_761 = x_728; +} +lean_ctor_set(x_761, 0, x_522); +lean_ctor_set(x_761, 1, x_729); +lean_ctor_set_usize(x_761, 2, x_727); +if (lean_is_scalar(x_725)) { + x_762 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_762 = x_725; +} +lean_ctor_set(x_762, 0, x_761); +lean_ctor_set(x_762, 1, x_734); +lean_ctor_set_usize(x_762, 2, x_727); +if (lean_is_scalar(x_722)) { + x_763 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_763 = x_722; +} +lean_ctor_set(x_763, 0, x_762); +lean_ctor_set(x_763, 1, x_743); +lean_ctor_set_usize(x_763, 2, x_727); +x_764 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_764, 0, x_763); +lean_ctor_set(x_764, 1, x_752); +lean_ctor_set_usize(x_764, 2, x_727); +if (lean_is_scalar(x_733)) { + x_765 = lean_alloc_ctor(1, 2, 0); +} else { + x_765 = x_733; +} +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_523); +x_766 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_765, x_4, x_5); +lean_dec(x_765); +x_767 = lean_ctor_get(x_766, 0); +lean_inc(x_767); +x_768 = lean_ctor_get(x_766, 1); +lean_inc(x_768); +if (lean_is_exclusive(x_766)) { + lean_ctor_release(x_766, 0); + lean_ctor_release(x_766, 1); + x_769 = x_766; +} else { + lean_dec_ref(x_766); + x_769 = lean_box(0); +} +x_770 = l_Lean_Elab_Term_mkTermIdFromIdent(x_767); +lean_inc(x_770); +x_771 = lean_array_push(x_3, x_770); +x_772 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_772, 0, x_770); +lean_ctor_set(x_772, 1, x_771); +if (lean_is_scalar(x_769)) { + x_773 = lean_alloc_ctor(0, 2, 0); +} else { + x_773 = x_769; } lean_ctor_set(x_773, 0, x_772); -lean_ctor_set(x_773, 1, x_746); -lean_ctor_set_usize(x_773, 2, x_747); -x_774 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_744); -lean_ctor_set_usize(x_774, 2, x_745); -if (lean_is_scalar(x_759)) { - x_775 = lean_alloc_ctor(1, 2, 0); -} else { - x_775 = x_759; +lean_ctor_set(x_773, 1, x_768); +return x_773; } +} +} +} +} +} +else +{ +lean_object* x_774; lean_object* x_775; +lean_dec(x_522); +lean_dec(x_521); +lean_dec(x_520); +lean_dec(x_519); +lean_dec(x_518); +x_774 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_774, 0, x_2); +lean_ctor_set(x_774, 1, x_3); +x_775 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_537); +lean_ctor_set(x_775, 1, x_5); +return x_775; +} +} +else +{ +lean_object* x_776; lean_object* x_777; +lean_dec(x_521); +lean_dec(x_520); +lean_dec(x_519); +lean_dec(x_518); x_776 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_776, 0, x_775); +lean_ctor_set(x_776, 0, x_2); lean_ctor_set(x_776, 1, x_3); x_777 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_777, 0, x_776); lean_ctor_set(x_777, 1, x_5); return x_777; } +} else { -lean_object* x_778; uint8_t x_779; -lean_dec(x_746); -x_778 = l_Lean_Parser_Term_cdot___elambda__1___rarg___closed__1; -x_779 = lean_string_dec_eq(x_744, x_778); -if (x_779 == 0) +lean_object* x_778; lean_object* x_779; +lean_dec(x_520); +lean_dec(x_519); +lean_dec(x_518); +x_778 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_778, 0, x_2); +lean_ctor_set(x_778, 1, x_3); +x_779 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_779, 0, x_778); +lean_ctor_set(x_779, 1, x_5); +return x_779; +} +} +else { -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; -if (lean_is_scalar(x_754)) { - x_780 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_780 = x_754; -} -lean_ctor_set(x_780, 0, x_536); -lean_ctor_set(x_780, 1, x_755); -lean_ctor_set_usize(x_780, 2, x_753); -if (lean_is_scalar(x_751)) { - x_781 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_781 = x_751; -} +lean_object* x_780; lean_object* x_781; +lean_dec(x_519); +lean_dec(x_518); +x_780 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_780, 0, x_2); +lean_ctor_set(x_780, 1, x_3); +x_781 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_760); -lean_ctor_set_usize(x_781, 2, x_750); -if (lean_is_scalar(x_748)) { - x_782 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_782 = x_748; +lean_ctor_set(x_781, 1, x_5); +return x_781; } -lean_ctor_set(x_782, 0, x_781); -lean_ctor_set(x_782, 1, x_769); -lean_ctor_set_usize(x_782, 2, x_747); -x_783 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} +else +{ +lean_object* x_782; lean_object* x_783; +lean_dec(x_518); +x_782 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_782, 0, x_2); +lean_ctor_set(x_782, 1, x_3); +x_783 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_744); -lean_ctor_set_usize(x_783, 2, x_745); -if (lean_is_scalar(x_759)) { - x_784 = lean_alloc_ctor(1, 2, 0); -} else { - x_784 = x_759; +lean_ctor_set(x_783, 1, x_5); +return x_783; } -lean_ctor_set(x_784, 0, x_783); -lean_ctor_set(x_784, 1, x_537); +} +else +{ +lean_object* x_784; lean_object* x_785; +x_784 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_784, 0, x_2); +lean_ctor_set(x_784, 1, x_3); x_785 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_785, 0, x_784); -lean_ctor_set(x_785, 1, x_3); -x_786 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_786, 0, x_785); -lean_ctor_set(x_786, 1, x_5); -return x_786; -} -else -{ -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_dec(x_744); -if (lean_is_scalar(x_754)) { - x_787 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_787 = x_754; -} -lean_ctor_set(x_787, 0, x_536); -lean_ctor_set(x_787, 1, x_755); -lean_ctor_set_usize(x_787, 2, x_753); -if (lean_is_scalar(x_751)) { - x_788 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_788 = x_751; -} -lean_ctor_set(x_788, 0, x_787); -lean_ctor_set(x_788, 1, x_760); -lean_ctor_set_usize(x_788, 2, x_753); -if (lean_is_scalar(x_748)) { - x_789 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_789 = x_748; -} -lean_ctor_set(x_789, 0, x_788); -lean_ctor_set(x_789, 1, x_769); -lean_ctor_set_usize(x_789, 2, x_753); -x_790 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_790, 0, x_789); -lean_ctor_set(x_790, 1, x_778); -lean_ctor_set_usize(x_790, 2, x_753); -if (lean_is_scalar(x_759)) { - x_791 = lean_alloc_ctor(1, 2, 0); -} else { - x_791 = x_759; -} -lean_ctor_set(x_791, 0, x_790); -lean_ctor_set(x_791, 1, x_537); -x_792 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_791, x_4, x_5); -lean_dec(x_791); -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -x_794 = lean_ctor_get(x_792, 1); -lean_inc(x_794); -if (lean_is_exclusive(x_792)) { - lean_ctor_release(x_792, 0); - lean_ctor_release(x_792, 1); - x_795 = x_792; -} else { - lean_dec_ref(x_792); - x_795 = lean_box(0); -} -x_796 = l_Lean_Elab_Term_mkHole; -lean_inc(x_793); -x_797 = l_Lean_Elab_Term_mkExplicitBinder(x_793, x_796); -x_798 = lean_array_push(x_3, x_797); -x_799 = l_Lean_Elab_Term_mkTermIdFromIdent(x_793); -x_800 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_800, 0, x_799); -lean_ctor_set(x_800, 1, x_798); -if (lean_is_scalar(x_795)) { - x_801 = lean_alloc_ctor(0, 2, 0); -} else { - x_801 = x_795; -} -lean_ctor_set(x_801, 0, x_800); -lean_ctor_set(x_801, 1, x_794); -return x_801; -} -} -} -} -} -} -else -{ -lean_object* x_802; lean_object* x_803; -lean_dec(x_536); -lean_dec(x_535); -lean_dec(x_534); -lean_dec(x_533); -lean_dec(x_532); -x_802 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_802, 0, x_2); -lean_ctor_set(x_802, 1, x_3); -x_803 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_5); -return x_803; -} -} -else -{ -lean_object* x_804; lean_object* x_805; -lean_dec(x_535); -lean_dec(x_534); -lean_dec(x_533); -lean_dec(x_532); -x_804 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_804, 0, x_2); -lean_ctor_set(x_804, 1, x_3); -x_805 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_805, 0, x_804); -lean_ctor_set(x_805, 1, x_5); -return x_805; -} -} -else -{ -lean_object* x_806; lean_object* x_807; -lean_dec(x_534); -lean_dec(x_533); -lean_dec(x_532); -x_806 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_806, 0, x_2); -lean_ctor_set(x_806, 1, x_3); -x_807 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_807, 0, x_806); -lean_ctor_set(x_807, 1, x_5); -return x_807; -} -} -else -{ -lean_object* x_808; lean_object* x_809; -lean_dec(x_533); -lean_dec(x_532); -x_808 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_808, 0, x_2); -lean_ctor_set(x_808, 1, x_3); -x_809 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_809, 0, x_808); -lean_ctor_set(x_809, 1, x_5); -return x_809; -} -} -else -{ -lean_object* x_810; lean_object* x_811; -lean_dec(x_532); -x_810 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_810, 0, x_2); -lean_ctor_set(x_810, 1, x_3); -x_811 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_811, 0, x_810); -lean_ctor_set(x_811, 1, x_5); -return x_811; -} -} -else -{ -lean_object* x_812; lean_object* x_813; -x_812 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_812, 0, x_2); -lean_ctor_set(x_812, 1, x_3); -x_813 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_813, 0, x_812); -lean_ctor_set(x_813, 1, x_5); -return x_813; +lean_ctor_set(x_785, 1, x_5); +return x_785; } } } @@ -14313,6 +14324,361 @@ lean_dec(x_4); return x_7; } } +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(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; uint8_t x_7; +x_6 = lean_array_get_size(x_2); +x_7 = lean_nat_dec_lt(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_1); +x_8 = l_Array_empty___closed__1; +x_9 = x_2; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t 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; +x_12 = lean_array_fget(x_2, x_1); +x_13 = lean_box(0); +lean_inc(x_12); +x_14 = x_13; +x_15 = lean_array_fset(x_2, x_1, x_14); +x_16 = 0; +lean_inc(x_12); +x_17 = l_Lean_Elab_Term_expandCDotAux___main(x_16, x_12, x_3, x_4, x_5); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_1, x_22); +x_24 = x_20; +x_25 = lean_array_fset(x_15, x_1, x_24); +lean_dec(x_1); +x_1 = x_23; +x_2 = x_25; +x_3 = x_21; +x_5 = x_19; +goto _start; +} +} +} +lean_object* l_Lean_Elab_Term_expandCDotArgs(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; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(x_5, x_1, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1___boxed(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; +x_6 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_expandCDotArgs___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_Lean_Elab_Term_expandCDotArgs(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_fget(x_2, x_4); +x_8 = l_Lean_Elab_Term_hasCDot___main(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_dec(x_4); +x_4 = x_10; +goto _start; +} +else +{ +lean_dec(x_4); +return x_8; +} +} +} +} +lean_object* _init_l_Lean_Elab_Term_expandCDot_x3f___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_fun___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_expandCDot_x3f___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_fun___elambda__1___closed__8; +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_expandCDot_x3f___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_2 = l_Lean_Elab_Term_expandCDot_x3f___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_6, x_6, x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_free_object(x_1); +lean_dec(x_6); +lean_dec(x_5); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_3); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Array_empty___closed__1; +x_13 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(x_8, x_6, x_12, x_2, x_3); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +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_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_ctor_set(x_1, 1, x_16); +x_18 = l_Lean_nullKind; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_23 = lean_array_push(x_21, x_22); +x_24 = lean_array_push(x_23, x_1); +x_25 = l_Lean_Parser_Term_fun___elambda__1___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_24); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_13, 0, x_27); +return x_13; +} +else +{ +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; +x_28 = lean_ctor_get(x_13, 0); +x_29 = lean_ctor_get(x_13, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_13); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_ctor_set(x_1, 1, x_30); +x_32 = l_Lean_nullKind; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_35 = lean_array_push(x_34, x_33); +x_36 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_37 = lean_array_push(x_35, x_36); +x_38 = lean_array_push(x_37, x_1); +x_39 = l_Lean_Parser_Term_fun___elambda__1___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_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_29); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_1, 0); +x_44 = lean_ctor_get(x_1, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_1); +x_45 = lean_array_get_size(x_44); +x_46 = lean_unsigned_to_nat(0u); +x_47 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_44, x_44, x_45, x_46); +lean_dec(x_45); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_44); +lean_dec(x_43); +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_3); +return x_49; +} +else +{ +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; +x_50 = l_Array_empty___closed__1; +x_51 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDotArgs___spec__1(x_46, x_44, x_50, x_2, x_3); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_ctor_get(x_52, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_52, 1); +lean_inc(x_56); +lean_dec(x_52); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_43); +lean_ctor_set(x_57, 1, x_55); +x_58 = l_Lean_nullKind; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +x_60 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_61 = lean_array_push(x_60, x_59); +x_62 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_63 = lean_array_push(x_61, x_62); +x_64 = lean_array_push(x_63, x_57); +x_65 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +if (lean_is_scalar(x_54)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_54; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_53); +return x_68; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_1); +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_3); +return x_70; +} +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1___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 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_expandCDot_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_expandCDot_x3f(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -26965,34 +27331,7 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(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; uint8_t x_7; -x_5 = 2; -x_6 = l_Lean_Elab_mkMessage___at_Lean_Elab_Term_decLevel___spec__2(x_2, x_5, x_1, x_3, x_4); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_ctor_set_tag(x_6, 1); -return x_6; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_6); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -} -lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -27030,7 +27369,7 @@ goto _start; } } } -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(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; uint8_t x_7; @@ -27060,54 +27399,110 @@ return x_10; lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("not implemented yet"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_match___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_expandFunBindersAux___main___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +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_expandFunBindersAux___main___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("with"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; +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_expandFunBindersAux___main___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___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_expandFunBindersAux___main___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* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +x_2 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__6; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_mkExplicitBinder___closed__5; +x_2 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__1; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__9() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string("invalid binder, simple identifier expected"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__5() { +lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__6() { +lean_object* _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__5; +x_1 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__10; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -27136,7 +27531,8 @@ else { lean_object* x_11; x_11 = lean_array_fget(x_1, x_3); -if (lean_obj_tag(x_11) == 1) +switch (lean_obj_tag(x_11)) { +case 1: { lean_object* x_12; x_12 = lean_ctor_get(x_11, 0); @@ -27183,273 +27579,2421 @@ x_23 = lean_string_dec_eq(x_21, x_22); lean_dec(x_21); if (x_23 == 0) { -lean_object* x_24; lean_object* x_25; +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_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); -lean_dec(x_4); +x_24 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_3, x_27); lean_dec(x_3); -lean_dec(x_2); -x_24 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_25 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_24, x_5, x_6); -lean_dec(x_11); -return x_25; -} -else +x_29 = l_Lean_Elab_Term_mkHole; +lean_inc(x_25); +x_30 = l_Lean_Elab_Term_mkExplicitBinder(x_25, x_29); +x_31 = lean_array_push(x_4, x_30); +x_32 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_28, x_31, x_5, x_26); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = l_Lean_Syntax_formatStx___main___closed__5; -x_27 = lean_string_dec_eq(x_20, x_26); -lean_dec(x_20); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_28 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_29 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_28, x_5, x_6); -lean_dec(x_11); -return x_29; -} -else -{ -lean_object* x_30; uint8_t x_31; -x_30 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; -x_31 = lean_string_dec_eq(x_19, x_30); -lean_dec(x_19); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_32 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_33 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_32, x_5, x_6); -lean_dec(x_11); -return x_33; -} -else +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Parser_Term_id___elambda__1___closed__1; -x_35 = lean_string_dec_eq(x_18, x_34); +x_34 = lean_ctor_get(x_32, 0); +x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { -lean_object* x_36; uint8_t x_37; -lean_dec(x_17); -x_36 = l_Lean_Parser_Level_hole___elambda__1___rarg___closed__1; -x_37 = lean_string_dec_eq(x_18, x_36); -if (x_37 == 0) +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; uint8_t x_43; +x_36 = lean_ctor_get(x_34, 1); +x_37 = l_Lean_Elab_Term_mkTermIdFromIdent(x_25); +x_38 = l_Lean_mkOptionalNode___closed__1; +x_39 = lean_array_push(x_38, x_37); +x_40 = l_Lean_nullKind___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); +lean_inc(x_11); +x_42 = lean_array_push(x_38, x_11); +x_43 = !lean_is_exclusive(x_11); +if (x_43 == 0) { -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; -x_39 = lean_string_dec_eq(x_18, x_38); +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; +x_44 = lean_ctor_get(x_11, 1); +lean_dec(x_44); +x_45 = lean_ctor_get(x_11, 0); +lean_dec(x_45); +lean_ctor_set(x_11, 1, x_42); +lean_ctor_set(x_11, 0, x_40); +x_46 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_47 = lean_array_push(x_46, x_11); +x_48 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_49 = lean_array_push(x_47, x_48); +x_50 = lean_array_push(x_49, x_36); +x_51 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_array_push(x_38, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_40); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_56 = lean_array_push(x_55, x_41); +x_57 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_60 = lean_array_push(x_58, x_59); +x_61 = lean_array_push(x_60, x_54); +x_62 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_34, 1, x_63); +return x_32; +} +else +{ +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_dec(x_11); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_40); +lean_ctor_set(x_64, 1, x_42); +x_65 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_66 = lean_array_push(x_65, x_64); +x_67 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_68 = lean_array_push(x_66, x_67); +x_69 = lean_array_push(x_68, x_36); +x_70 = l_Lean_Parser_Term_matchAlt___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 = lean_array_push(x_38, x_71); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_40); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_75 = lean_array_push(x_74, x_41); +x_76 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_77 = lean_array_push(x_75, x_76); +x_78 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_79 = lean_array_push(x_77, x_78); +x_80 = lean_array_push(x_79, x_73); +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_34, 1, x_82); +return x_32; +} +} +else +{ +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; +x_83 = lean_ctor_get(x_34, 0); +x_84 = lean_ctor_get(x_34, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_34); +x_85 = l_Lean_Elab_Term_mkTermIdFromIdent(x_25); +x_86 = l_Lean_mkOptionalNode___closed__1; +x_87 = lean_array_push(x_86, x_85); +x_88 = l_Lean_nullKind___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); +lean_inc(x_11); +x_90 = lean_array_push(x_86, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_91 = x_11; +} else { + lean_dec_ref(x_11); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_88); +lean_ctor_set(x_92, 1, x_90); +x_93 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_96 = lean_array_push(x_94, x_95); +x_97 = lean_array_push(x_96, x_84); +x_98 = l_Lean_Parser_Term_matchAlt___elambda__1___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 = lean_array_push(x_86, x_99); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_88); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_103 = lean_array_push(x_102, x_89); +x_104 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_105 = lean_array_push(x_103, x_104); +x_106 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_107 = lean_array_push(x_105, x_106); +x_108 = lean_array_push(x_107, x_101); +x_109 = l_Lean_Parser_Term_match___elambda__1___closed__2; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_83); +lean_ctor_set(x_111, 1, x_110); +lean_ctor_set(x_32, 0, x_111); +return x_32; +} +} +else +{ +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; +x_112 = lean_ctor_get(x_32, 0); +x_113 = lean_ctor_get(x_32, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_32); +x_114 = lean_ctor_get(x_112, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_116 = x_112; +} else { + lean_dec_ref(x_112); + x_116 = lean_box(0); +} +x_117 = l_Lean_Elab_Term_mkTermIdFromIdent(x_25); +x_118 = l_Lean_mkOptionalNode___closed__1; +x_119 = lean_array_push(x_118, x_117); +x_120 = l_Lean_nullKind___closed__2; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +lean_inc(x_11); +x_122 = lean_array_push(x_118, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_123 = x_11; +} else { + lean_dec_ref(x_11); + x_123 = lean_box(0); +} +if (lean_is_scalar(x_123)) { + x_124 = lean_alloc_ctor(1, 2, 0); +} else { + x_124 = x_123; +} +lean_ctor_set(x_124, 0, x_120); +lean_ctor_set(x_124, 1, x_122); +x_125 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_126 = lean_array_push(x_125, x_124); +x_127 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_128 = lean_array_push(x_126, x_127); +x_129 = lean_array_push(x_128, x_115); +x_130 = l_Lean_Parser_Term_matchAlt___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_118, x_131); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_120); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_135 = lean_array_push(x_134, x_121); +x_136 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_137 = lean_array_push(x_135, x_136); +x_138 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_139 = lean_array_push(x_137, x_138); +x_140 = lean_array_push(x_139, x_133); +x_141 = l_Lean_Parser_Term_match___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); +if (lean_is_scalar(x_116)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_116; +} +lean_ctor_set(x_143, 0, x_114); +lean_ctor_set(x_143, 1, 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_113); +return x_144; +} +} +else +{ +uint8_t x_145; +lean_dec(x_25); +lean_dec(x_11); +x_145 = !lean_is_exclusive(x_32); +if (x_145 == 0) +{ +return x_32; +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_32, 0); +x_147 = lean_ctor_get(x_32, 1); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_32); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} +} +else +{ +lean_object* x_149; uint8_t x_150; +x_149 = l_Lean_Syntax_formatStx___main___closed__5; +x_150 = lean_string_dec_eq(x_20, x_149); +lean_dec(x_20); +if (x_150 == 0) +{ +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_dec(x_19); lean_dec(x_18); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_4); +lean_dec(x_17); +x_151 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); +x_154 = lean_unsigned_to_nat(1u); +x_155 = lean_nat_add(x_3, x_154); lean_dec(x_3); -lean_dec(x_2); -x_40 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_41 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_40, x_5, x_6); -lean_dec(x_11); -return x_41; +x_156 = l_Lean_Elab_Term_mkHole; +lean_inc(x_152); +x_157 = l_Lean_Elab_Term_mkExplicitBinder(x_152, x_156); +x_158 = lean_array_push(x_4, x_157); +x_159 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_155, x_158, x_5, x_153); +if (lean_obj_tag(x_159) == 0) +{ +uint8_t x_160; +x_160 = !lean_is_exclusive(x_159); +if (x_160 == 0) +{ +lean_object* x_161; uint8_t x_162; +x_161 = lean_ctor_get(x_159, 0); +x_162 = !lean_is_exclusive(x_161); +if (x_162 == 0) +{ +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; uint8_t x_170; +x_163 = lean_ctor_get(x_161, 1); +x_164 = l_Lean_Elab_Term_mkTermIdFromIdent(x_152); +x_165 = l_Lean_mkOptionalNode___closed__1; +x_166 = lean_array_push(x_165, x_164); +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); +lean_inc(x_11); +x_169 = lean_array_push(x_165, x_11); +x_170 = !lean_is_exclusive(x_11); +if (x_170 == 0) +{ +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_171 = lean_ctor_get(x_11, 1); +lean_dec(x_171); +x_172 = lean_ctor_get(x_11, 0); +lean_dec(x_172); +lean_ctor_set(x_11, 1, x_169); +lean_ctor_set(x_11, 0, x_167); +x_173 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_174 = lean_array_push(x_173, x_11); +x_175 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_176 = lean_array_push(x_174, x_175); +x_177 = lean_array_push(x_176, x_163); +x_178 = l_Lean_Parser_Term_matchAlt___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_165, 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_Term_expandFunBindersAux___main___closed__8; +x_183 = lean_array_push(x_182, x_168); +x_184 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_185 = lean_array_push(x_183, x_184); +x_186 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_187 = lean_array_push(x_185, x_186); +x_188 = lean_array_push(x_187, x_181); +x_189 = l_Lean_Parser_Term_match___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); +lean_ctor_set(x_161, 1, x_190); +return x_159; } else { -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = lean_unsigned_to_nat(1u); -x_43 = l_Lean_Syntax_getArg(x_11, x_42); -x_44 = l_Lean_Syntax_isNone(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_unsigned_to_nat(0u); -x_46 = l_Lean_Syntax_getArg(x_43, x_45); -x_47 = l_Lean_Syntax_getArg(x_43, x_42); -lean_dec(x_43); -x_48 = l_Lean_Syntax_isNone(x_47); -if (x_48 == 0) -{ -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; uint8_t x_56; -x_49 = l_Lean_Syntax_getArg(x_47, x_45); -lean_dec(x_47); -x_50 = l_Lean_Syntax_getKind(x_49); -x_51 = lean_name_mk_string(x_16, x_22); -x_52 = lean_name_mk_string(x_51, x_26); -x_53 = lean_name_mk_string(x_52, x_30); -x_54 = l_Lean_Parser_Term_typeAscription___elambda__1___rarg___closed__1; -x_55 = lean_name_mk_string(x_53, x_54); -x_56 = lean_name_eq(x_50, x_55); -lean_dec(x_55); -lean_dec(x_50); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_49); -lean_dec(x_46); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_57 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_58 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_57, x_5, x_6); +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_dec(x_11); -return x_58; +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_167); +lean_ctor_set(x_191, 1, x_169); +x_192 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_193 = lean_array_push(x_192, x_191); +x_194 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_195 = lean_array_push(x_193, x_194); +x_196 = lean_array_push(x_195, x_163); +x_197 = l_Lean_Parser_Term_matchAlt___elambda__1___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); +x_199 = lean_array_push(x_165, x_198); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_167); +lean_ctor_set(x_200, 1, x_199); +x_201 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_202 = lean_array_push(x_201, x_168); +x_203 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_204 = lean_array_push(x_202, x_203); +x_205 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_206 = lean_array_push(x_204, x_205); +x_207 = lean_array_push(x_206, x_200); +x_208 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_208); +lean_ctor_set(x_209, 1, x_207); +lean_ctor_set(x_161, 1, x_209); +return x_159; +} } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = l_Lean_Syntax_getArg(x_49, x_42); -lean_dec(x_49); -x_60 = l_Lean_Elab_Term_getFunBinderIds_x3f(x_46, x_5, x_6); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_59); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_64 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_63, x_5, x_62); -lean_dec(x_11); -return x_64; +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; +x_210 = lean_ctor_get(x_161, 0); +x_211 = lean_ctor_get(x_161, 1); +lean_inc(x_211); +lean_inc(x_210); +lean_dec(x_161); +x_212 = l_Lean_Elab_Term_mkTermIdFromIdent(x_152); +x_213 = l_Lean_mkOptionalNode___closed__1; +x_214 = lean_array_push(x_213, x_212); +x_215 = l_Lean_nullKind___closed__2; +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_214); +lean_inc(x_11); +x_217 = lean_array_push(x_213, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_218 = x_11; +} else { + lean_dec_ref(x_11); + x_218 = lean_box(0); +} +if (lean_is_scalar(x_218)) { + x_219 = lean_alloc_ctor(1, 2, 0); +} else { + x_219 = x_218; +} +lean_ctor_set(x_219, 0, x_215); +lean_ctor_set(x_219, 1, x_217); +x_220 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_221 = lean_array_push(x_220, x_219); +x_222 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_223 = lean_array_push(x_221, x_222); +x_224 = lean_array_push(x_223, x_211); +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_213, x_226); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_215); +lean_ctor_set(x_228, 1, x_227); +x_229 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_230 = lean_array_push(x_229, x_216); +x_231 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_232 = lean_array_push(x_230, x_231); +x_233 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_234 = lean_array_push(x_232, x_233); +x_235 = lean_array_push(x_234, x_228); +x_236 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_210); +lean_ctor_set(x_238, 1, x_237); +lean_ctor_set(x_159, 0, x_238); +return x_159; +} } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +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; +x_239 = lean_ctor_get(x_159, 0); +x_240 = lean_ctor_get(x_159, 1); +lean_inc(x_240); +lean_inc(x_239); +lean_dec(x_159); +x_241 = lean_ctor_get(x_239, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_239, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_239)) { + lean_ctor_release(x_239, 0); + lean_ctor_release(x_239, 1); + x_243 = x_239; +} else { + lean_dec_ref(x_239); + x_243 = lean_box(0); +} +x_244 = l_Lean_Elab_Term_mkTermIdFromIdent(x_152); +x_245 = l_Lean_mkOptionalNode___closed__1; +x_246 = lean_array_push(x_245, x_244); +x_247 = l_Lean_nullKind___closed__2; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_246); +lean_inc(x_11); +x_249 = lean_array_push(x_245, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_250 = x_11; +} else { + lean_dec_ref(x_11); + x_250 = lean_box(0); +} +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(1, 2, 0); +} else { + x_251 = x_250; +} +lean_ctor_set(x_251, 0, x_247); +lean_ctor_set(x_251, 1, x_249); +x_252 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_253 = lean_array_push(x_252, x_251); +x_254 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_255 = lean_array_push(x_253, x_254); +x_256 = lean_array_push(x_255, x_242); +x_257 = l_Lean_Parser_Term_matchAlt___elambda__1___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_245, x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_247); +lean_ctor_set(x_260, 1, x_259); +x_261 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_262 = lean_array_push(x_261, x_248); +x_263 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_264 = lean_array_push(x_262, x_263); +x_265 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_266 = lean_array_push(x_264, x_265); +x_267 = lean_array_push(x_266, x_260); +x_268 = l_Lean_Parser_Term_match___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); +if (lean_is_scalar(x_243)) { + x_270 = lean_alloc_ctor(0, 2, 0); +} else { + x_270 = x_243; +} +lean_ctor_set(x_270, 0, x_241); +lean_ctor_set(x_270, 1, x_269); +x_271 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_240); +return x_271; +} +} +else +{ +uint8_t x_272; +lean_dec(x_152); lean_dec(x_11); -x_65 = lean_ctor_get(x_60, 1); -lean_inc(x_65); -lean_dec(x_60); -x_66 = lean_ctor_get(x_61, 0); -lean_inc(x_66); -lean_dec(x_61); -x_67 = lean_nat_add(x_3, x_42); +x_272 = !lean_is_exclusive(x_159); +if (x_272 == 0) +{ +return x_159; +} +else +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_273 = lean_ctor_get(x_159, 0); +x_274 = lean_ctor_get(x_159, 1); +lean_inc(x_274); +lean_inc(x_273); +lean_dec(x_159); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_273); +lean_ctor_set(x_275, 1, x_274); +return x_275; +} +} +} +else +{ +lean_object* x_276; uint8_t x_277; +x_276 = l_Lean_Parser_Term_mkAntiquot___elambda__1___rarg___closed__1; +x_277 = lean_string_dec_eq(x_19, x_276); +lean_dec(x_19); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_18); +lean_dec(x_17); +x_278 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_278, 1); +lean_inc(x_280); +lean_dec(x_278); +x_281 = lean_unsigned_to_nat(1u); +x_282 = lean_nat_add(x_3, x_281); lean_dec(x_3); -x_68 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_59, x_45, x_66); -x_69 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_68, x_68, x_45, x_4); -lean_dec(x_68); -x_3 = x_67; -x_4 = x_69; -x_6 = x_65; +x_283 = l_Lean_Elab_Term_mkHole; +lean_inc(x_279); +x_284 = l_Lean_Elab_Term_mkExplicitBinder(x_279, x_283); +x_285 = lean_array_push(x_4, x_284); +x_286 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_282, x_285, x_5, x_280); +if (lean_obj_tag(x_286) == 0) +{ +uint8_t x_287; +x_287 = !lean_is_exclusive(x_286); +if (x_287 == 0) +{ +lean_object* x_288; uint8_t x_289; +x_288 = lean_ctor_get(x_286, 0); +x_289 = !lean_is_exclusive(x_288); +if (x_289 == 0) +{ +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; uint8_t x_297; +x_290 = lean_ctor_get(x_288, 1); +x_291 = l_Lean_Elab_Term_mkTermIdFromIdent(x_279); +x_292 = l_Lean_mkOptionalNode___closed__1; +x_293 = lean_array_push(x_292, x_291); +x_294 = l_Lean_nullKind___closed__2; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +lean_inc(x_11); +x_296 = lean_array_push(x_292, x_11); +x_297 = !lean_is_exclusive(x_11); +if (x_297 == 0) +{ +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; +x_298 = lean_ctor_get(x_11, 1); +lean_dec(x_298); +x_299 = lean_ctor_get(x_11, 0); +lean_dec(x_299); +lean_ctor_set(x_11, 1, x_296); +lean_ctor_set(x_11, 0, x_294); +x_300 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_301 = lean_array_push(x_300, x_11); +x_302 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_303 = lean_array_push(x_301, x_302); +x_304 = lean_array_push(x_303, x_290); +x_305 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_305); +lean_ctor_set(x_306, 1, x_304); +x_307 = lean_array_push(x_292, x_306); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_294); +lean_ctor_set(x_308, 1, x_307); +x_309 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_310 = lean_array_push(x_309, x_295); +x_311 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_312 = lean_array_push(x_310, x_311); +x_313 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_314 = lean_array_push(x_312, x_313); +x_315 = lean_array_push(x_314, x_308); +x_316 = l_Lean_Parser_Term_match___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); +lean_ctor_set(x_288, 1, x_317); +return x_286; +} +else +{ +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_dec(x_11); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_294); +lean_ctor_set(x_318, 1, x_296); +x_319 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_320 = lean_array_push(x_319, x_318); +x_321 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_322 = lean_array_push(x_320, x_321); +x_323 = lean_array_push(x_322, x_290); +x_324 = l_Lean_Parser_Term_matchAlt___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_292, x_325); +x_327 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_327, 0, x_294); +lean_ctor_set(x_327, 1, x_326); +x_328 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_329 = lean_array_push(x_328, x_295); +x_330 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_331 = lean_array_push(x_329, x_330); +x_332 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_333 = lean_array_push(x_331, x_332); +x_334 = lean_array_push(x_333, x_327); +x_335 = l_Lean_Parser_Term_match___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); +lean_ctor_set(x_288, 1, x_336); +return x_286; +} +} +else +{ +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; +x_337 = lean_ctor_get(x_288, 0); +x_338 = lean_ctor_get(x_288, 1); +lean_inc(x_338); +lean_inc(x_337); +lean_dec(x_288); +x_339 = l_Lean_Elab_Term_mkTermIdFromIdent(x_279); +x_340 = l_Lean_mkOptionalNode___closed__1; +x_341 = lean_array_push(x_340, x_339); +x_342 = l_Lean_nullKind___closed__2; +x_343 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_341); +lean_inc(x_11); +x_344 = lean_array_push(x_340, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_345 = x_11; +} else { + lean_dec_ref(x_11); + x_345 = lean_box(0); +} +if (lean_is_scalar(x_345)) { + x_346 = lean_alloc_ctor(1, 2, 0); +} else { + x_346 = x_345; +} +lean_ctor_set(x_346, 0, x_342); +lean_ctor_set(x_346, 1, x_344); +x_347 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_348 = lean_array_push(x_347, x_346); +x_349 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_350 = lean_array_push(x_348, x_349); +x_351 = lean_array_push(x_350, x_338); +x_352 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_351); +x_354 = lean_array_push(x_340, x_353); +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_342); +lean_ctor_set(x_355, 1, x_354); +x_356 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_357 = lean_array_push(x_356, x_343); +x_358 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_359 = lean_array_push(x_357, x_358); +x_360 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_361 = lean_array_push(x_359, x_360); +x_362 = lean_array_push(x_361, x_355); +x_363 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_363); +lean_ctor_set(x_364, 1, x_362); +x_365 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_365, 0, x_337); +lean_ctor_set(x_365, 1, x_364); +lean_ctor_set(x_286, 0, x_365); +return x_286; +} +} +else +{ +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; +x_366 = lean_ctor_get(x_286, 0); +x_367 = lean_ctor_get(x_286, 1); +lean_inc(x_367); +lean_inc(x_366); +lean_dec(x_286); +x_368 = lean_ctor_get(x_366, 0); +lean_inc(x_368); +x_369 = lean_ctor_get(x_366, 1); +lean_inc(x_369); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + x_370 = x_366; +} else { + lean_dec_ref(x_366); + x_370 = lean_box(0); +} +x_371 = l_Lean_Elab_Term_mkTermIdFromIdent(x_279); +x_372 = l_Lean_mkOptionalNode___closed__1; +x_373 = lean_array_push(x_372, x_371); +x_374 = l_Lean_nullKind___closed__2; +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +lean_inc(x_11); +x_376 = lean_array_push(x_372, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_377 = x_11; +} else { + lean_dec_ref(x_11); + x_377 = lean_box(0); +} +if (lean_is_scalar(x_377)) { + x_378 = lean_alloc_ctor(1, 2, 0); +} else { + x_378 = x_377; +} +lean_ctor_set(x_378, 0, x_374); +lean_ctor_set(x_378, 1, x_376); +x_379 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_380 = lean_array_push(x_379, x_378); +x_381 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_382 = lean_array_push(x_380, x_381); +x_383 = lean_array_push(x_382, x_369); +x_384 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_383); +x_386 = lean_array_push(x_372, x_385); +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_374); +lean_ctor_set(x_387, 1, x_386); +x_388 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_389 = lean_array_push(x_388, x_375); +x_390 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_391 = lean_array_push(x_389, x_390); +x_392 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_393 = lean_array_push(x_391, x_392); +x_394 = lean_array_push(x_393, x_387); +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); +if (lean_is_scalar(x_370)) { + x_397 = lean_alloc_ctor(0, 2, 0); +} else { + x_397 = x_370; +} +lean_ctor_set(x_397, 0, x_368); +lean_ctor_set(x_397, 1, x_396); +x_398 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_398, 0, x_397); +lean_ctor_set(x_398, 1, x_367); +return x_398; +} +} +else +{ +uint8_t x_399; +lean_dec(x_279); +lean_dec(x_11); +x_399 = !lean_is_exclusive(x_286); +if (x_399 == 0) +{ +return x_286; +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_400 = lean_ctor_get(x_286, 0); +x_401 = lean_ctor_get(x_286, 1); +lean_inc(x_401); +lean_inc(x_400); +lean_dec(x_286); +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_400); +lean_ctor_set(x_402, 1, x_401); +return x_402; +} +} +} +else +{ +lean_object* x_403; uint8_t x_404; +x_403 = l_Lean_Parser_Term_id___elambda__1___closed__1; +x_404 = lean_string_dec_eq(x_18, x_403); +if (x_404 == 0) +{ +lean_object* x_405; uint8_t x_406; +lean_dec(x_17); +x_405 = l_Lean_Parser_Level_hole___elambda__1___rarg___closed__1; +x_406 = lean_string_dec_eq(x_18, x_405); +if (x_406 == 0) +{ +lean_object* x_407; uint8_t x_408; +x_407 = l_Lean_Parser_Level_paren___elambda__1___rarg___closed__3; +x_408 = lean_string_dec_eq(x_18, x_407); +lean_dec(x_18); +if (x_408 == 0) +{ +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; +x_409 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +x_412 = lean_unsigned_to_nat(1u); +x_413 = lean_nat_add(x_3, x_412); +lean_dec(x_3); +x_414 = l_Lean_Elab_Term_mkHole; +lean_inc(x_410); +x_415 = l_Lean_Elab_Term_mkExplicitBinder(x_410, x_414); +x_416 = lean_array_push(x_4, x_415); +x_417 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_413, x_416, x_5, x_411); +if (lean_obj_tag(x_417) == 0) +{ +uint8_t x_418; +x_418 = !lean_is_exclusive(x_417); +if (x_418 == 0) +{ +lean_object* x_419; uint8_t x_420; +x_419 = lean_ctor_get(x_417, 0); +x_420 = !lean_is_exclusive(x_419); +if (x_420 == 0) +{ +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; uint8_t x_428; +x_421 = lean_ctor_get(x_419, 1); +x_422 = l_Lean_Elab_Term_mkTermIdFromIdent(x_410); +x_423 = l_Lean_mkOptionalNode___closed__1; +x_424 = lean_array_push(x_423, x_422); +x_425 = l_Lean_nullKind___closed__2; +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_425); +lean_ctor_set(x_426, 1, x_424); +lean_inc(x_11); +x_427 = lean_array_push(x_423, x_11); +x_428 = !lean_is_exclusive(x_11); +if (x_428 == 0) +{ +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; +x_429 = lean_ctor_get(x_11, 1); +lean_dec(x_429); +x_430 = lean_ctor_get(x_11, 0); +lean_dec(x_430); +lean_ctor_set(x_11, 1, x_427); +lean_ctor_set(x_11, 0, x_425); +x_431 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_432 = lean_array_push(x_431, x_11); +x_433 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_434 = lean_array_push(x_432, x_433); +x_435 = lean_array_push(x_434, x_421); +x_436 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_437, 0, x_436); +lean_ctor_set(x_437, 1, x_435); +x_438 = lean_array_push(x_423, x_437); +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_425); +lean_ctor_set(x_439, 1, x_438); +x_440 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_441 = lean_array_push(x_440, x_426); +x_442 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_443 = lean_array_push(x_441, x_442); +x_444 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_445 = lean_array_push(x_443, x_444); +x_446 = lean_array_push(x_445, x_439); +x_447 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_419, 1, x_448); +return x_417; +} +else +{ +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_dec(x_11); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_425); +lean_ctor_set(x_449, 1, x_427); +x_450 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_451 = lean_array_push(x_450, x_449); +x_452 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_453 = lean_array_push(x_451, x_452); +x_454 = lean_array_push(x_453, x_421); +x_455 = l_Lean_Parser_Term_matchAlt___elambda__1___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 = lean_array_push(x_423, x_456); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_425); +lean_ctor_set(x_458, 1, x_457); +x_459 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_460 = lean_array_push(x_459, x_426); +x_461 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_462 = lean_array_push(x_460, x_461); +x_463 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_464 = lean_array_push(x_462, x_463); +x_465 = lean_array_push(x_464, x_458); +x_466 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_465); +lean_ctor_set(x_419, 1, x_467); +return x_417; +} +} +else +{ +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; +x_468 = lean_ctor_get(x_419, 0); +x_469 = lean_ctor_get(x_419, 1); +lean_inc(x_469); +lean_inc(x_468); +lean_dec(x_419); +x_470 = l_Lean_Elab_Term_mkTermIdFromIdent(x_410); +x_471 = l_Lean_mkOptionalNode___closed__1; +x_472 = lean_array_push(x_471, x_470); +x_473 = l_Lean_nullKind___closed__2; +x_474 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_474, 0, x_473); +lean_ctor_set(x_474, 1, x_472); +lean_inc(x_11); +x_475 = lean_array_push(x_471, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_476 = x_11; +} else { + lean_dec_ref(x_11); + x_476 = lean_box(0); +} +if (lean_is_scalar(x_476)) { + x_477 = lean_alloc_ctor(1, 2, 0); +} else { + x_477 = x_476; +} +lean_ctor_set(x_477, 0, x_473); +lean_ctor_set(x_477, 1, x_475); +x_478 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_479 = lean_array_push(x_478, x_477); +x_480 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_481 = lean_array_push(x_479, x_480); +x_482 = lean_array_push(x_481, x_469); +x_483 = l_Lean_Parser_Term_matchAlt___elambda__1___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 = lean_array_push(x_471, x_484); +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_473); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_488 = lean_array_push(x_487, x_474); +x_489 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_490 = lean_array_push(x_488, x_489); +x_491 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_492 = lean_array_push(x_490, x_491); +x_493 = lean_array_push(x_492, x_486); +x_494 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_493); +x_496 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_496, 0, x_468); +lean_ctor_set(x_496, 1, x_495); +lean_ctor_set(x_417, 0, x_496); +return x_417; +} +} +else +{ +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; +x_497 = lean_ctor_get(x_417, 0); +x_498 = lean_ctor_get(x_417, 1); +lean_inc(x_498); +lean_inc(x_497); +lean_dec(x_417); +x_499 = lean_ctor_get(x_497, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_497, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_497)) { + lean_ctor_release(x_497, 0); + lean_ctor_release(x_497, 1); + x_501 = x_497; +} else { + lean_dec_ref(x_497); + x_501 = lean_box(0); +} +x_502 = l_Lean_Elab_Term_mkTermIdFromIdent(x_410); +x_503 = l_Lean_mkOptionalNode___closed__1; +x_504 = lean_array_push(x_503, x_502); +x_505 = l_Lean_nullKind___closed__2; +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_505); +lean_ctor_set(x_506, 1, x_504); +lean_inc(x_11); +x_507 = lean_array_push(x_503, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_508 = x_11; +} else { + lean_dec_ref(x_11); + x_508 = lean_box(0); +} +if (lean_is_scalar(x_508)) { + x_509 = lean_alloc_ctor(1, 2, 0); +} else { + x_509 = x_508; +} +lean_ctor_set(x_509, 0, x_505); +lean_ctor_set(x_509, 1, x_507); +x_510 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_511 = lean_array_push(x_510, x_509); +x_512 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_513 = lean_array_push(x_511, x_512); +x_514 = lean_array_push(x_513, x_500); +x_515 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_515); +lean_ctor_set(x_516, 1, x_514); +x_517 = lean_array_push(x_503, x_516); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_505); +lean_ctor_set(x_518, 1, x_517); +x_519 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_520 = lean_array_push(x_519, x_506); +x_521 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_522 = lean_array_push(x_520, x_521); +x_523 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_524 = lean_array_push(x_522, x_523); +x_525 = lean_array_push(x_524, x_518); +x_526 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_501)) { + x_528 = lean_alloc_ctor(0, 2, 0); +} else { + x_528 = x_501; +} +lean_ctor_set(x_528, 0, x_499); +lean_ctor_set(x_528, 1, x_527); +x_529 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_529, 0, x_528); +lean_ctor_set(x_529, 1, x_498); +return x_529; +} +} +else +{ +uint8_t x_530; +lean_dec(x_410); +lean_dec(x_11); +x_530 = !lean_is_exclusive(x_417); +if (x_530 == 0) +{ +return x_417; +} +else +{ +lean_object* x_531; lean_object* x_532; lean_object* x_533; +x_531 = lean_ctor_get(x_417, 0); +x_532 = lean_ctor_get(x_417, 1); +lean_inc(x_532); +lean_inc(x_531); +lean_dec(x_417); +x_533 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_533, 0, x_531); +lean_ctor_set(x_533, 1, x_532); +return x_533; +} +} +} +else +{ +lean_object* x_534; lean_object* x_535; uint8_t x_536; +x_534 = lean_unsigned_to_nat(1u); +x_535 = l_Lean_Syntax_getArg(x_11, x_534); +x_536 = l_Lean_Syntax_isNone(x_535); +if (x_536 == 0) +{ +lean_object* x_537; lean_object* x_538; lean_object* x_539; uint8_t x_540; +x_537 = lean_unsigned_to_nat(0u); +x_538 = l_Lean_Syntax_getArg(x_535, x_537); +x_539 = l_Lean_Syntax_getArg(x_535, x_534); +lean_dec(x_535); +x_540 = l_Lean_Syntax_isNone(x_539); +if (x_540 == 0) +{ +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; uint8_t x_548; +x_541 = l_Lean_Syntax_getArg(x_539, x_537); +lean_dec(x_539); +x_542 = l_Lean_Syntax_getKind(x_541); +x_543 = lean_name_mk_string(x_16, x_22); +x_544 = lean_name_mk_string(x_543, x_149); +x_545 = lean_name_mk_string(x_544, x_276); +x_546 = l_Lean_Parser_Term_typeAscription___elambda__1___rarg___closed__1; +x_547 = lean_name_mk_string(x_545, x_546); +x_548 = lean_name_eq(x_542, x_547); +lean_dec(x_547); +lean_dec(x_542); +if (x_548 == 0) +{ +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_dec(x_541); +lean_dec(x_538); +x_549 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_550 = lean_ctor_get(x_549, 0); +lean_inc(x_550); +x_551 = lean_ctor_get(x_549, 1); +lean_inc(x_551); +lean_dec(x_549); +x_552 = lean_nat_add(x_3, x_534); +lean_dec(x_3); +x_553 = l_Lean_Elab_Term_mkHole; +lean_inc(x_550); +x_554 = l_Lean_Elab_Term_mkExplicitBinder(x_550, x_553); +x_555 = lean_array_push(x_4, x_554); +x_556 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_552, x_555, x_5, x_551); +if (lean_obj_tag(x_556) == 0) +{ +uint8_t x_557; +x_557 = !lean_is_exclusive(x_556); +if (x_557 == 0) +{ +lean_object* x_558; uint8_t x_559; +x_558 = lean_ctor_get(x_556, 0); +x_559 = !lean_is_exclusive(x_558); +if (x_559 == 0) +{ +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; uint8_t x_567; +x_560 = lean_ctor_get(x_558, 1); +x_561 = l_Lean_Elab_Term_mkTermIdFromIdent(x_550); +x_562 = l_Lean_mkOptionalNode___closed__1; +x_563 = lean_array_push(x_562, x_561); +x_564 = l_Lean_nullKind___closed__2; +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_564); +lean_ctor_set(x_565, 1, x_563); +lean_inc(x_11); +x_566 = lean_array_push(x_562, x_11); +x_567 = !lean_is_exclusive(x_11); +if (x_567 == 0) +{ +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; +x_568 = lean_ctor_get(x_11, 1); +lean_dec(x_568); +x_569 = lean_ctor_get(x_11, 0); +lean_dec(x_569); +lean_ctor_set(x_11, 1, x_566); +lean_ctor_set(x_11, 0, x_564); +x_570 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_571 = lean_array_push(x_570, x_11); +x_572 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_573 = lean_array_push(x_571, x_572); +x_574 = lean_array_push(x_573, x_560); +x_575 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_576 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_576, 0, x_575); +lean_ctor_set(x_576, 1, x_574); +x_577 = lean_array_push(x_562, x_576); +x_578 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_578, 0, x_564); +lean_ctor_set(x_578, 1, x_577); +x_579 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_580 = lean_array_push(x_579, x_565); +x_581 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_582 = lean_array_push(x_580, x_581); +x_583 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_584 = lean_array_push(x_582, x_583); +x_585 = lean_array_push(x_584, x_578); +x_586 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_586); +lean_ctor_set(x_587, 1, x_585); +lean_ctor_set(x_558, 1, x_587); +return x_556; +} +else +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +lean_dec(x_11); +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_564); +lean_ctor_set(x_588, 1, x_566); +x_589 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_590 = lean_array_push(x_589, x_588); +x_591 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_592 = lean_array_push(x_590, x_591); +x_593 = lean_array_push(x_592, x_560); +x_594 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_595, 0, x_594); +lean_ctor_set(x_595, 1, x_593); +x_596 = lean_array_push(x_562, x_595); +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_564); +lean_ctor_set(x_597, 1, x_596); +x_598 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_599 = lean_array_push(x_598, x_565); +x_600 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_601 = lean_array_push(x_599, x_600); +x_602 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_603 = lean_array_push(x_601, x_602); +x_604 = lean_array_push(x_603, x_597); +x_605 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_606, 0, x_605); +lean_ctor_set(x_606, 1, x_604); +lean_ctor_set(x_558, 1, x_606); +return x_556; +} +} +else +{ +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; +x_607 = lean_ctor_get(x_558, 0); +x_608 = lean_ctor_get(x_558, 1); +lean_inc(x_608); +lean_inc(x_607); +lean_dec(x_558); +x_609 = l_Lean_Elab_Term_mkTermIdFromIdent(x_550); +x_610 = l_Lean_mkOptionalNode___closed__1; +x_611 = lean_array_push(x_610, x_609); +x_612 = l_Lean_nullKind___closed__2; +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_611); +lean_inc(x_11); +x_614 = lean_array_push(x_610, 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_612); +lean_ctor_set(x_616, 1, x_614); +x_617 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_618 = lean_array_push(x_617, x_616); +x_619 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_620 = lean_array_push(x_618, x_619); +x_621 = lean_array_push(x_620, x_608); +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_610, x_623); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_612); +lean_ctor_set(x_625, 1, x_624); +x_626 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_627 = lean_array_push(x_626, x_613); +x_628 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_629 = lean_array_push(x_627, x_628); +x_630 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_631 = lean_array_push(x_629, x_630); +x_632 = lean_array_push(x_631, x_625); +x_633 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_632); +x_635 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_635, 0, x_607); +lean_ctor_set(x_635, 1, x_634); +lean_ctor_set(x_556, 0, x_635); +return x_556; +} +} +else +{ +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; +x_636 = lean_ctor_get(x_556, 0); +x_637 = lean_ctor_get(x_556, 1); +lean_inc(x_637); +lean_inc(x_636); +lean_dec(x_556); +x_638 = lean_ctor_get(x_636, 0); +lean_inc(x_638); +x_639 = lean_ctor_get(x_636, 1); +lean_inc(x_639); +if (lean_is_exclusive(x_636)) { + lean_ctor_release(x_636, 0); + lean_ctor_release(x_636, 1); + x_640 = x_636; +} else { + lean_dec_ref(x_636); + x_640 = lean_box(0); +} +x_641 = l_Lean_Elab_Term_mkTermIdFromIdent(x_550); +x_642 = l_Lean_mkOptionalNode___closed__1; +x_643 = lean_array_push(x_642, x_641); +x_644 = l_Lean_nullKind___closed__2; +x_645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_645, 0, x_644); +lean_ctor_set(x_645, 1, x_643); +lean_inc(x_11); +x_646 = lean_array_push(x_642, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_647 = x_11; +} else { + lean_dec_ref(x_11); + x_647 = lean_box(0); +} +if (lean_is_scalar(x_647)) { + x_648 = lean_alloc_ctor(1, 2, 0); +} else { + x_648 = x_647; +} +lean_ctor_set(x_648, 0, x_644); +lean_ctor_set(x_648, 1, x_646); +x_649 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_650 = lean_array_push(x_649, x_648); +x_651 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_652 = lean_array_push(x_650, x_651); +x_653 = lean_array_push(x_652, x_639); +x_654 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_655, 0, x_654); +lean_ctor_set(x_655, 1, x_653); +x_656 = lean_array_push(x_642, x_655); +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_644); +lean_ctor_set(x_657, 1, x_656); +x_658 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_659 = lean_array_push(x_658, x_645); +x_660 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_661 = lean_array_push(x_659, x_660); +x_662 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_663 = lean_array_push(x_661, x_662); +x_664 = lean_array_push(x_663, x_657); +x_665 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_665); +lean_ctor_set(x_666, 1, x_664); +if (lean_is_scalar(x_640)) { + x_667 = lean_alloc_ctor(0, 2, 0); +} else { + x_667 = x_640; +} +lean_ctor_set(x_667, 0, x_638); +lean_ctor_set(x_667, 1, x_666); +x_668 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_637); +return x_668; +} +} +else +{ +uint8_t x_669; +lean_dec(x_550); +lean_dec(x_11); +x_669 = !lean_is_exclusive(x_556); +if (x_669 == 0) +{ +return x_556; +} +else +{ +lean_object* x_670; lean_object* x_671; lean_object* x_672; +x_670 = lean_ctor_get(x_556, 0); +x_671 = lean_ctor_get(x_556, 1); +lean_inc(x_671); +lean_inc(x_670); +lean_dec(x_556); +x_672 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_672, 0, x_670); +lean_ctor_set(x_672, 1, x_671); +return x_672; +} +} +} +else +{ +lean_object* x_673; lean_object* x_674; lean_object* x_675; +x_673 = l_Lean_Syntax_getArg(x_541, x_534); +lean_dec(x_541); +x_674 = l_Lean_Elab_Term_getFunBinderIds_x3f(x_538, x_5, x_6); +x_675 = lean_ctor_get(x_674, 0); +lean_inc(x_675); +if (lean_obj_tag(x_675) == 0) +{ +lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; +lean_dec(x_673); +x_676 = lean_ctor_get(x_674, 1); +lean_inc(x_676); +lean_dec(x_674); +x_677 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_676); +x_678 = lean_ctor_get(x_677, 0); +lean_inc(x_678); +x_679 = lean_ctor_get(x_677, 1); +lean_inc(x_679); +lean_dec(x_677); +x_680 = lean_nat_add(x_3, x_534); +lean_dec(x_3); +x_681 = l_Lean_Elab_Term_mkHole; +lean_inc(x_678); +x_682 = l_Lean_Elab_Term_mkExplicitBinder(x_678, x_681); +x_683 = lean_array_push(x_4, x_682); +x_684 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_680, x_683, x_5, x_679); +if (lean_obj_tag(x_684) == 0) +{ +uint8_t x_685; +x_685 = !lean_is_exclusive(x_684); +if (x_685 == 0) +{ +lean_object* x_686; uint8_t x_687; +x_686 = lean_ctor_get(x_684, 0); +x_687 = !lean_is_exclusive(x_686); +if (x_687 == 0) +{ +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; uint8_t x_695; +x_688 = lean_ctor_get(x_686, 1); +x_689 = l_Lean_Elab_Term_mkTermIdFromIdent(x_678); +x_690 = l_Lean_mkOptionalNode___closed__1; +x_691 = lean_array_push(x_690, x_689); +x_692 = l_Lean_nullKind___closed__2; +x_693 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_693, 0, x_692); +lean_ctor_set(x_693, 1, x_691); +lean_inc(x_11); +x_694 = lean_array_push(x_690, x_11); +x_695 = !lean_is_exclusive(x_11); +if (x_695 == 0) +{ +lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; +x_696 = lean_ctor_get(x_11, 1); +lean_dec(x_696); +x_697 = lean_ctor_get(x_11, 0); +lean_dec(x_697); +lean_ctor_set(x_11, 1, x_694); +lean_ctor_set(x_11, 0, x_692); +x_698 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_699 = lean_array_push(x_698, x_11); +x_700 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_701 = lean_array_push(x_699, x_700); +x_702 = lean_array_push(x_701, x_688); +x_703 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_704, 0, x_703); +lean_ctor_set(x_704, 1, x_702); +x_705 = lean_array_push(x_690, x_704); +x_706 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_706, 0, x_692); +lean_ctor_set(x_706, 1, x_705); +x_707 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_708 = lean_array_push(x_707, x_693); +x_709 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_710 = lean_array_push(x_708, x_709); +x_711 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_712 = lean_array_push(x_710, x_711); +x_713 = lean_array_push(x_712, x_706); +x_714 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_715 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_715, 0, x_714); +lean_ctor_set(x_715, 1, x_713); +lean_ctor_set(x_686, 1, x_715); +return x_684; +} +else +{ +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; +lean_dec(x_11); +x_716 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_716, 0, x_692); +lean_ctor_set(x_716, 1, x_694); +x_717 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_718 = lean_array_push(x_717, x_716); +x_719 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_720 = lean_array_push(x_718, x_719); +x_721 = lean_array_push(x_720, x_688); +x_722 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_723 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_723, 0, x_722); +lean_ctor_set(x_723, 1, x_721); +x_724 = lean_array_push(x_690, x_723); +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_692); +lean_ctor_set(x_725, 1, x_724); +x_726 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_727 = lean_array_push(x_726, x_693); +x_728 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_729 = lean_array_push(x_727, x_728); +x_730 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_731 = lean_array_push(x_729, x_730); +x_732 = lean_array_push(x_731, x_725); +x_733 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_734, 0, x_733); +lean_ctor_set(x_734, 1, x_732); +lean_ctor_set(x_686, 1, x_734); +return x_684; +} +} +else +{ +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; +x_735 = lean_ctor_get(x_686, 0); +x_736 = lean_ctor_get(x_686, 1); +lean_inc(x_736); +lean_inc(x_735); +lean_dec(x_686); +x_737 = l_Lean_Elab_Term_mkTermIdFromIdent(x_678); +x_738 = l_Lean_mkOptionalNode___closed__1; +x_739 = lean_array_push(x_738, x_737); +x_740 = l_Lean_nullKind___closed__2; +x_741 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_739); +lean_inc(x_11); +x_742 = lean_array_push(x_738, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_743 = x_11; +} else { + lean_dec_ref(x_11); + x_743 = lean_box(0); +} +if (lean_is_scalar(x_743)) { + x_744 = lean_alloc_ctor(1, 2, 0); +} else { + x_744 = x_743; +} +lean_ctor_set(x_744, 0, x_740); +lean_ctor_set(x_744, 1, x_742); +x_745 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_746 = lean_array_push(x_745, x_744); +x_747 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_748 = lean_array_push(x_746, x_747); +x_749 = lean_array_push(x_748, x_736); +x_750 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_751, 0, x_750); +lean_ctor_set(x_751, 1, x_749); +x_752 = lean_array_push(x_738, x_751); +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_740); +lean_ctor_set(x_753, 1, x_752); +x_754 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_755 = lean_array_push(x_754, x_741); +x_756 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_757 = lean_array_push(x_755, x_756); +x_758 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_759 = lean_array_push(x_757, x_758); +x_760 = lean_array_push(x_759, x_753); +x_761 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_762 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_762, 0, x_761); +lean_ctor_set(x_762, 1, x_760); +x_763 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_763, 0, x_735); +lean_ctor_set(x_763, 1, x_762); +lean_ctor_set(x_684, 0, x_763); +return x_684; +} +} +else +{ +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; lean_object* x_795; lean_object* x_796; +x_764 = lean_ctor_get(x_684, 0); +x_765 = lean_ctor_get(x_684, 1); +lean_inc(x_765); +lean_inc(x_764); +lean_dec(x_684); +x_766 = lean_ctor_get(x_764, 0); +lean_inc(x_766); +x_767 = lean_ctor_get(x_764, 1); +lean_inc(x_767); +if (lean_is_exclusive(x_764)) { + lean_ctor_release(x_764, 0); + lean_ctor_release(x_764, 1); + x_768 = x_764; +} else { + lean_dec_ref(x_764); + x_768 = lean_box(0); +} +x_769 = l_Lean_Elab_Term_mkTermIdFromIdent(x_678); +x_770 = l_Lean_mkOptionalNode___closed__1; +x_771 = lean_array_push(x_770, x_769); +x_772 = l_Lean_nullKind___closed__2; +x_773 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_773, 0, x_772); +lean_ctor_set(x_773, 1, x_771); +lean_inc(x_11); +x_774 = lean_array_push(x_770, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_775 = x_11; +} else { + lean_dec_ref(x_11); + x_775 = lean_box(0); +} +if (lean_is_scalar(x_775)) { + x_776 = lean_alloc_ctor(1, 2, 0); +} else { + x_776 = x_775; +} +lean_ctor_set(x_776, 0, x_772); +lean_ctor_set(x_776, 1, x_774); +x_777 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_778 = lean_array_push(x_777, x_776); +x_779 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_780 = lean_array_push(x_778, x_779); +x_781 = lean_array_push(x_780, x_767); +x_782 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_782); +lean_ctor_set(x_783, 1, x_781); +x_784 = lean_array_push(x_770, x_783); +x_785 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_785, 0, x_772); +lean_ctor_set(x_785, 1, x_784); +x_786 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_787 = lean_array_push(x_786, x_773); +x_788 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_789 = lean_array_push(x_787, x_788); +x_790 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_791 = lean_array_push(x_789, x_790); +x_792 = lean_array_push(x_791, x_785); +x_793 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_792); +if (lean_is_scalar(x_768)) { + x_795 = lean_alloc_ctor(0, 2, 0); +} else { + x_795 = x_768; +} +lean_ctor_set(x_795, 0, x_766); +lean_ctor_set(x_795, 1, x_794); +x_796 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_765); +return x_796; +} +} +else +{ +uint8_t x_797; +lean_dec(x_678); +lean_dec(x_11); +x_797 = !lean_is_exclusive(x_684); +if (x_797 == 0) +{ +return x_684; +} +else +{ +lean_object* x_798; lean_object* x_799; lean_object* x_800; +x_798 = lean_ctor_get(x_684, 0); +x_799 = lean_ctor_get(x_684, 1); +lean_inc(x_799); +lean_inc(x_798); +lean_dec(x_684); +x_800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_800, 0, x_798); +lean_ctor_set(x_800, 1, x_799); +return x_800; +} +} +} +else +{ +lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; +lean_dec(x_11); +x_801 = lean_ctor_get(x_674, 1); +lean_inc(x_801); +lean_dec(x_674); +x_802 = lean_ctor_get(x_675, 0); +lean_inc(x_802); +lean_dec(x_675); +x_803 = lean_nat_add(x_3, x_534); +lean_dec(x_3); +x_804 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_673, x_537, x_802); +x_805 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_804, x_804, x_537, x_4); +lean_dec(x_804); +x_3 = x_803; +x_4 = x_805; +x_6 = x_801; goto _start; } } } else { -lean_object* x_71; lean_object* x_72; -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_4); +lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; +lean_dec(x_539); +lean_dec(x_538); +x_807 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_808 = lean_ctor_get(x_807, 0); +lean_inc(x_808); +x_809 = lean_ctor_get(x_807, 1); +lean_inc(x_809); +lean_dec(x_807); +x_810 = lean_nat_add(x_3, x_534); lean_dec(x_3); -lean_dec(x_2); -x_71 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_72 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_71, x_5, x_6); +x_811 = l_Lean_Elab_Term_mkHole; +lean_inc(x_808); +x_812 = l_Lean_Elab_Term_mkExplicitBinder(x_808, x_811); +x_813 = lean_array_push(x_4, x_812); +x_814 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_810, x_813, x_5, x_809); +if (lean_obj_tag(x_814) == 0) +{ +uint8_t x_815; +x_815 = !lean_is_exclusive(x_814); +if (x_815 == 0) +{ +lean_object* x_816; uint8_t x_817; +x_816 = lean_ctor_get(x_814, 0); +x_817 = !lean_is_exclusive(x_816); +if (x_817 == 0) +{ +lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; uint8_t x_825; +x_818 = lean_ctor_get(x_816, 1); +x_819 = l_Lean_Elab_Term_mkTermIdFromIdent(x_808); +x_820 = l_Lean_mkOptionalNode___closed__1; +x_821 = lean_array_push(x_820, x_819); +x_822 = l_Lean_nullKind___closed__2; +x_823 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_823, 0, x_822); +lean_ctor_set(x_823, 1, x_821); +lean_inc(x_11); +x_824 = lean_array_push(x_820, x_11); +x_825 = !lean_is_exclusive(x_11); +if (x_825 == 0) +{ +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; +x_826 = lean_ctor_get(x_11, 1); +lean_dec(x_826); +x_827 = lean_ctor_get(x_11, 0); +lean_dec(x_827); +lean_ctor_set(x_11, 1, x_824); +lean_ctor_set(x_11, 0, x_822); +x_828 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_829 = lean_array_push(x_828, x_11); +x_830 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_831 = lean_array_push(x_829, x_830); +x_832 = lean_array_push(x_831, x_818); +x_833 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_834, 0, x_833); +lean_ctor_set(x_834, 1, x_832); +x_835 = lean_array_push(x_820, x_834); +x_836 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_836, 0, x_822); +lean_ctor_set(x_836, 1, x_835); +x_837 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_838 = lean_array_push(x_837, x_823); +x_839 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_840 = lean_array_push(x_838, x_839); +x_841 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_842 = lean_array_push(x_840, x_841); +x_843 = lean_array_push(x_842, x_836); +x_844 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_845, 0, x_844); +lean_ctor_set(x_845, 1, x_843); +lean_ctor_set(x_816, 1, x_845); +return x_814; +} +else +{ +lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_dec(x_11); -return x_72; +x_846 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_846, 0, x_822); +lean_ctor_set(x_846, 1, x_824); +x_847 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_848 = lean_array_push(x_847, x_846); +x_849 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_850 = lean_array_push(x_848, x_849); +x_851 = lean_array_push(x_850, x_818); +x_852 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_852); +lean_ctor_set(x_853, 1, x_851); +x_854 = lean_array_push(x_820, x_853); +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_822); +lean_ctor_set(x_855, 1, x_854); +x_856 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_857 = lean_array_push(x_856, x_823); +x_858 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_859 = lean_array_push(x_857, x_858); +x_860 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_861 = lean_array_push(x_859, x_860); +x_862 = lean_array_push(x_861, x_855); +x_863 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_864, 0, x_863); +lean_ctor_set(x_864, 1, x_862); +lean_ctor_set(x_816, 1, x_864); +return x_814; } } else { -lean_object* x_73; lean_object* x_74; -lean_dec(x_43); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_73 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_74 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_73, x_5, x_6); +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_865 = lean_ctor_get(x_816, 0); +x_866 = lean_ctor_get(x_816, 1); +lean_inc(x_866); +lean_inc(x_865); +lean_dec(x_816); +x_867 = l_Lean_Elab_Term_mkTermIdFromIdent(x_808); +x_868 = l_Lean_mkOptionalNode___closed__1; +x_869 = lean_array_push(x_868, x_867); +x_870 = l_Lean_nullKind___closed__2; +x_871 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_871, 0, x_870); +lean_ctor_set(x_871, 1, x_869); +lean_inc(x_11); +x_872 = lean_array_push(x_868, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_873 = x_11; +} else { + lean_dec_ref(x_11); + x_873 = lean_box(0); +} +if (lean_is_scalar(x_873)) { + x_874 = lean_alloc_ctor(1, 2, 0); +} else { + x_874 = x_873; +} +lean_ctor_set(x_874, 0, x_870); +lean_ctor_set(x_874, 1, x_872); +x_875 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_876 = lean_array_push(x_875, x_874); +x_877 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_878 = lean_array_push(x_876, x_877); +x_879 = lean_array_push(x_878, x_866); +x_880 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_881 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_881, 0, x_880); +lean_ctor_set(x_881, 1, x_879); +x_882 = lean_array_push(x_868, x_881); +x_883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_883, 0, x_870); +lean_ctor_set(x_883, 1, x_882); +x_884 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_885 = lean_array_push(x_884, x_871); +x_886 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_887 = lean_array_push(x_885, x_886); +x_888 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_889 = lean_array_push(x_887, x_888); +x_890 = lean_array_push(x_889, x_883); +x_891 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_892 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_892, 0, x_891); +lean_ctor_set(x_892, 1, x_890); +x_893 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_893, 0, x_865); +lean_ctor_set(x_893, 1, x_892); +lean_ctor_set(x_814, 0, x_893); +return x_814; +} +} +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; +x_894 = lean_ctor_get(x_814, 0); +x_895 = lean_ctor_get(x_814, 1); +lean_inc(x_895); +lean_inc(x_894); +lean_dec(x_814); +x_896 = lean_ctor_get(x_894, 0); +lean_inc(x_896); +x_897 = lean_ctor_get(x_894, 1); +lean_inc(x_897); +if (lean_is_exclusive(x_894)) { + lean_ctor_release(x_894, 0); + lean_ctor_release(x_894, 1); + x_898 = x_894; +} else { + lean_dec_ref(x_894); + x_898 = lean_box(0); +} +x_899 = l_Lean_Elab_Term_mkTermIdFromIdent(x_808); +x_900 = l_Lean_mkOptionalNode___closed__1; +x_901 = lean_array_push(x_900, x_899); +x_902 = l_Lean_nullKind___closed__2; +x_903 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_903, 0, x_902); +lean_ctor_set(x_903, 1, x_901); +lean_inc(x_11); +x_904 = lean_array_push(x_900, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_905 = x_11; +} else { + lean_dec_ref(x_11); + x_905 = lean_box(0); +} +if (lean_is_scalar(x_905)) { + x_906 = lean_alloc_ctor(1, 2, 0); +} else { + x_906 = x_905; +} +lean_ctor_set(x_906, 0, x_902); +lean_ctor_set(x_906, 1, x_904); +x_907 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_908 = lean_array_push(x_907, x_906); +x_909 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_910 = lean_array_push(x_908, x_909); +x_911 = lean_array_push(x_910, x_897); +x_912 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_911); +x_914 = lean_array_push(x_900, x_913); +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_902); +lean_ctor_set(x_915, 1, x_914); +x_916 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_917 = lean_array_push(x_916, x_903); +x_918 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_919 = lean_array_push(x_917, x_918); +x_920 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_921 = lean_array_push(x_919, x_920); +x_922 = lean_array_push(x_921, x_915); +x_923 = l_Lean_Parser_Term_match___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); +if (lean_is_scalar(x_898)) { + x_925 = lean_alloc_ctor(0, 2, 0); +} else { + x_925 = x_898; +} +lean_ctor_set(x_925, 0, x_896); +lean_ctor_set(x_925, 1, x_924); +x_926 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_926, 0, x_925); +lean_ctor_set(x_926, 1, x_895); +return x_926; +} +} +else +{ +uint8_t x_927; +lean_dec(x_808); lean_dec(x_11); -return x_74; +x_927 = !lean_is_exclusive(x_814); +if (x_927 == 0) +{ +return x_814; +} +else +{ +lean_object* x_928; lean_object* x_929; lean_object* x_930; +x_928 = lean_ctor_get(x_814, 0); +x_929 = lean_ctor_get(x_814, 1); +lean_inc(x_929); +lean_inc(x_928); +lean_dec(x_814); +x_930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_930, 0, x_928); +lean_ctor_set(x_930, 1, x_929); +return x_930; +} } } } else { -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_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_dec(x_535); +x_931 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_932 = lean_ctor_get(x_931, 0); +lean_inc(x_932); +x_933 = lean_ctor_get(x_931, 1); +lean_inc(x_933); +lean_dec(x_931); +x_934 = lean_nat_add(x_3, x_534); +lean_dec(x_3); +x_935 = l_Lean_Elab_Term_mkHole; +lean_inc(x_932); +x_936 = l_Lean_Elab_Term_mkExplicitBinder(x_932, x_935); +x_937 = lean_array_push(x_4, x_936); +x_938 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_934, x_937, x_5, x_933); +if (lean_obj_tag(x_938) == 0) +{ +uint8_t x_939; +x_939 = !lean_is_exclusive(x_938); +if (x_939 == 0) +{ +lean_object* x_940; uint8_t x_941; +x_940 = lean_ctor_get(x_938, 0); +x_941 = !lean_is_exclusive(x_940); +if (x_941 == 0) +{ +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; uint8_t x_949; +x_942 = lean_ctor_get(x_940, 1); +x_943 = l_Lean_Elab_Term_mkTermIdFromIdent(x_932); +x_944 = l_Lean_mkOptionalNode___closed__1; +x_945 = lean_array_push(x_944, x_943); +x_946 = l_Lean_nullKind___closed__2; +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_946); +lean_ctor_set(x_947, 1, x_945); +lean_inc(x_11); +x_948 = lean_array_push(x_944, x_11); +x_949 = !lean_is_exclusive(x_11); +if (x_949 == 0) +{ +lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; +x_950 = lean_ctor_get(x_11, 1); +lean_dec(x_950); +x_951 = lean_ctor_get(x_11, 0); +lean_dec(x_951); +lean_ctor_set(x_11, 1, x_948); +lean_ctor_set(x_11, 0, x_946); +x_952 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_953 = lean_array_push(x_952, x_11); +x_954 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_955 = lean_array_push(x_953, x_954); +x_956 = lean_array_push(x_955, x_942); +x_957 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_958, 0, x_957); +lean_ctor_set(x_958, 1, x_956); +x_959 = lean_array_push(x_944, x_958); +x_960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_960, 0, x_946); +lean_ctor_set(x_960, 1, x_959); +x_961 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_962 = lean_array_push(x_961, x_947); +x_963 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_964 = lean_array_push(x_962, x_963); +x_965 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_966 = lean_array_push(x_964, x_965); +x_967 = lean_array_push(x_966, x_960); +x_968 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_969, 0, x_968); +lean_ctor_set(x_969, 1, x_967); +lean_ctor_set(x_940, 1, x_969); +return x_938; +} +else +{ +lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; +lean_dec(x_11); +x_970 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_970, 0, x_946); +lean_ctor_set(x_970, 1, x_948); +x_971 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_972 = lean_array_push(x_971, x_970); +x_973 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_974 = lean_array_push(x_972, x_973); +x_975 = lean_array_push(x_974, x_942); +x_976 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_977 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_977, 0, x_976); +lean_ctor_set(x_977, 1, x_975); +x_978 = lean_array_push(x_944, x_977); +x_979 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_979, 0, x_946); +lean_ctor_set(x_979, 1, x_978); +x_980 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_981 = lean_array_push(x_980, x_947); +x_982 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_983 = lean_array_push(x_981, x_982); +x_984 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_985 = lean_array_push(x_983, x_984); +x_986 = lean_array_push(x_985, x_979); +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_940, 1, x_988); +return x_938; +} +} +else +{ +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_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; +x_989 = lean_ctor_get(x_940, 0); +x_990 = lean_ctor_get(x_940, 1); +lean_inc(x_990); +lean_inc(x_989); +lean_dec(x_940); +x_991 = l_Lean_Elab_Term_mkTermIdFromIdent(x_932); +x_992 = l_Lean_mkOptionalNode___closed__1; +x_993 = lean_array_push(x_992, x_991); +x_994 = l_Lean_nullKind___closed__2; +x_995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_995, 0, x_994); +lean_ctor_set(x_995, 1, x_993); +lean_inc(x_11); +x_996 = lean_array_push(x_992, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_997 = x_11; +} else { + lean_dec_ref(x_11); + x_997 = lean_box(0); +} +if (lean_is_scalar(x_997)) { + x_998 = lean_alloc_ctor(1, 2, 0); +} else { + x_998 = x_997; +} +lean_ctor_set(x_998, 0, x_994); +lean_ctor_set(x_998, 1, x_996); +x_999 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1000 = lean_array_push(x_999, x_998); +x_1001 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1002 = lean_array_push(x_1000, x_1001); +x_1003 = lean_array_push(x_1002, x_990); +x_1004 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1005 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1005, 0, x_1004); +lean_ctor_set(x_1005, 1, x_1003); +x_1006 = lean_array_push(x_992, x_1005); +x_1007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1007, 0, x_994); +lean_ctor_set(x_1007, 1, x_1006); +x_1008 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1009 = lean_array_push(x_1008, x_995); +x_1010 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1011 = lean_array_push(x_1009, x_1010); +x_1012 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1013 = lean_array_push(x_1011, x_1012); +x_1014 = lean_array_push(x_1013, x_1007); +x_1015 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1016 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1016, 0, x_1015); +lean_ctor_set(x_1016, 1, x_1014); +x_1017 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1017, 0, x_989); +lean_ctor_set(x_1017, 1, x_1016); +lean_ctor_set(x_938, 0, x_1017); +return x_938; +} +} +else +{ +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; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; +x_1018 = lean_ctor_get(x_938, 0); +x_1019 = lean_ctor_get(x_938, 1); +lean_inc(x_1019); +lean_inc(x_1018); +lean_dec(x_938); +x_1020 = lean_ctor_get(x_1018, 0); +lean_inc(x_1020); +x_1021 = lean_ctor_get(x_1018, 1); +lean_inc(x_1021); +if (lean_is_exclusive(x_1018)) { + lean_ctor_release(x_1018, 0); + lean_ctor_release(x_1018, 1); + x_1022 = x_1018; +} else { + lean_dec_ref(x_1018); + x_1022 = lean_box(0); +} +x_1023 = l_Lean_Elab_Term_mkTermIdFromIdent(x_932); +x_1024 = l_Lean_mkOptionalNode___closed__1; +x_1025 = lean_array_push(x_1024, x_1023); +x_1026 = l_Lean_nullKind___closed__2; +x_1027 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1027, 0, x_1026); +lean_ctor_set(x_1027, 1, x_1025); +lean_inc(x_11); +x_1028 = lean_array_push(x_1024, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1029 = x_11; +} else { + lean_dec_ref(x_11); + x_1029 = lean_box(0); +} +if (lean_is_scalar(x_1029)) { + x_1030 = lean_alloc_ctor(1, 2, 0); +} else { + x_1030 = x_1029; +} +lean_ctor_set(x_1030, 0, x_1026); +lean_ctor_set(x_1030, 1, x_1028); +x_1031 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1032 = lean_array_push(x_1031, x_1030); +x_1033 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1034 = lean_array_push(x_1032, x_1033); +x_1035 = lean_array_push(x_1034, x_1021); +x_1036 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1037 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1037, 0, x_1036); +lean_ctor_set(x_1037, 1, x_1035); +x_1038 = lean_array_push(x_1024, x_1037); +x_1039 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1039, 0, x_1026); +lean_ctor_set(x_1039, 1, x_1038); +x_1040 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1041 = lean_array_push(x_1040, x_1027); +x_1042 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1043 = lean_array_push(x_1041, x_1042); +x_1044 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1045 = lean_array_push(x_1043, x_1044); +x_1046 = lean_array_push(x_1045, x_1039); +x_1047 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_1022)) { + x_1049 = lean_alloc_ctor(0, 2, 0); +} else { + x_1049 = x_1022; +} +lean_ctor_set(x_1049, 0, x_1020); +lean_ctor_set(x_1049, 1, x_1048); +x_1050 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1050, 0, x_1049); +lean_ctor_set(x_1050, 1, x_1019); +return x_1050; +} +} +else +{ +uint8_t x_1051; +lean_dec(x_932); +lean_dec(x_11); +x_1051 = !lean_is_exclusive(x_938); +if (x_1051 == 0) +{ +return x_938; +} +else +{ +lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; +x_1052 = lean_ctor_get(x_938, 0); +x_1053 = lean_ctor_get(x_938, 1); +lean_inc(x_1053); +lean_inc(x_1052); +lean_dec(x_938); +x_1054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1054, 0, x_1052); +lean_ctor_set(x_1054, 1, x_1053); +return x_1054; +} +} +} +} +} +else +{ +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_dec(x_18); -x_75 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_unsigned_to_nat(1u); -x_79 = lean_nat_add(x_3, x_78); +x_1055 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1056 = lean_ctor_get(x_1055, 0); +lean_inc(x_1056); +x_1057 = lean_ctor_get(x_1055, 1); +lean_inc(x_1057); +lean_dec(x_1055); +x_1058 = lean_unsigned_to_nat(1u); +x_1059 = lean_nat_add(x_3, x_1058); lean_dec(x_3); -x_80 = l_Lean_Elab_Term_mkExplicitBinder(x_76, x_11); -x_81 = lean_array_push(x_4, x_80); -x_3 = x_79; -x_4 = x_81; -x_6 = x_77; +x_1060 = l_Lean_Elab_Term_mkExplicitBinder(x_1056, x_11); +x_1061 = lean_array_push(x_4, x_1060); +x_3 = x_1059; +x_4 = x_1061; +x_6 = x_1057; goto _start; } } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; uint8_t x_1066; lean_dec(x_18); -x_83 = lean_unsigned_to_nat(1u); -x_84 = lean_box(0); -x_85 = l_Array_getD___rarg(x_17, x_83, x_84); -x_86 = l_Lean_Syntax_isNone(x_85); -lean_dec(x_85); -if (x_86 == 0) +x_1063 = lean_unsigned_to_nat(1u); +x_1064 = lean_box(0); +x_1065 = l_Array_getD___rarg(x_17, x_1063, x_1064); +x_1066 = l_Lean_Syntax_isNone(x_1065); +lean_dec(x_1065); +if (x_1066 == 0) { -lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_object* x_1067; lean_object* x_1068; uint8_t x_1069; lean_dec(x_17); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_87 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__6; -x_88 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_11, x_87, x_5, x_6); +x_1067 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__11; +x_1068 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_11, x_1067, x_5, x_6); lean_dec(x_11); -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) +x_1069 = !lean_is_exclusive(x_1068); +if (x_1069 == 0) { -return x_88; +return x_1068; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_88, 0); -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_88); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; +x_1070 = lean_ctor_get(x_1068, 0); +x_1071 = lean_ctor_get(x_1068, 1); +lean_inc(x_1071); +lean_inc(x_1070); +lean_dec(x_1068); +x_1072 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1072, 0, x_1070); +lean_ctor_set(x_1072, 1, x_1071); +return x_1072; } } else { -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_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_dec(x_11); -x_93 = lean_unsigned_to_nat(0u); -x_94 = l_Array_getD___rarg(x_17, x_93, x_84); +x_1073 = lean_unsigned_to_nat(0u); +x_1074 = l_Array_getD___rarg(x_17, x_1073, x_1064); lean_dec(x_17); -x_95 = lean_nat_add(x_3, x_83); +x_1075 = lean_nat_add(x_3, x_1063); lean_dec(x_3); -x_96 = l_Lean_Elab_Term_mkHole; -x_97 = l_Lean_Elab_Term_mkExplicitBinder(x_94, x_96); -x_98 = lean_array_push(x_4, x_97); -x_3 = x_95; -x_4 = x_98; +x_1076 = l_Lean_Elab_Term_mkHole; +x_1077 = l_Lean_Elab_Term_mkExplicitBinder(x_1074, x_1076); +x_1078 = lean_array_push(x_4, x_1077); +x_3 = x_1075; +x_4 = x_1078; goto _start; } } @@ -27459,108 +30003,1927 @@ goto _start; } else { -lean_object* x_100; lean_object* x_101; +lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_4); +x_1080 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1081 = lean_ctor_get(x_1080, 0); +lean_inc(x_1081); +x_1082 = lean_ctor_get(x_1080, 1); +lean_inc(x_1082); +lean_dec(x_1080); +x_1083 = lean_unsigned_to_nat(1u); +x_1084 = lean_nat_add(x_3, x_1083); lean_dec(x_3); -lean_dec(x_2); -x_100 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_101 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_100, x_5, x_6); +x_1085 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1081); +x_1086 = l_Lean_Elab_Term_mkExplicitBinder(x_1081, x_1085); +x_1087 = lean_array_push(x_4, x_1086); +x_1088 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1084, x_1087, x_5, x_1082); +if (lean_obj_tag(x_1088) == 0) +{ +uint8_t x_1089; +x_1089 = !lean_is_exclusive(x_1088); +if (x_1089 == 0) +{ +lean_object* x_1090; uint8_t x_1091; +x_1090 = lean_ctor_get(x_1088, 0); +x_1091 = !lean_is_exclusive(x_1090); +if (x_1091 == 0) +{ +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; uint8_t x_1099; +x_1092 = lean_ctor_get(x_1090, 1); +x_1093 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1081); +x_1094 = l_Lean_mkOptionalNode___closed__1; +x_1095 = lean_array_push(x_1094, x_1093); +x_1096 = l_Lean_nullKind___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); +lean_inc(x_11); +x_1098 = lean_array_push(x_1094, x_11); +x_1099 = !lean_is_exclusive(x_11); +if (x_1099 == 0) +{ +lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_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; +x_1100 = lean_ctor_get(x_11, 1); +lean_dec(x_1100); +x_1101 = lean_ctor_get(x_11, 0); +lean_dec(x_1101); +lean_ctor_set(x_11, 1, x_1098); +lean_ctor_set(x_11, 0, x_1096); +x_1102 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1103 = lean_array_push(x_1102, x_11); +x_1104 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1105 = lean_array_push(x_1103, x_1104); +x_1106 = lean_array_push(x_1105, x_1092); +x_1107 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1106); +x_1109 = lean_array_push(x_1094, x_1108); +x_1110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1110, 0, x_1096); +lean_ctor_set(x_1110, 1, x_1109); +x_1111 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1112 = lean_array_push(x_1111, x_1097); +x_1113 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1114 = lean_array_push(x_1112, x_1113); +x_1115 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1116 = lean_array_push(x_1114, x_1115); +x_1117 = lean_array_push(x_1116, x_1110); +x_1118 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1119, 0, x_1118); +lean_ctor_set(x_1119, 1, x_1117); +lean_ctor_set(x_1090, 1, x_1119); +return x_1088; +} +else +{ +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; lean_dec(x_11); -return x_101; +x_1120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1120, 0, x_1096); +lean_ctor_set(x_1120, 1, x_1098); +x_1121 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1122 = lean_array_push(x_1121, x_1120); +x_1123 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1124 = lean_array_push(x_1122, x_1123); +x_1125 = lean_array_push(x_1124, x_1092); +x_1126 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1127, 0, x_1126); +lean_ctor_set(x_1127, 1, x_1125); +x_1128 = lean_array_push(x_1094, x_1127); +x_1129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1129, 0, x_1096); +lean_ctor_set(x_1129, 1, x_1128); +x_1130 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1131 = lean_array_push(x_1130, x_1097); +x_1132 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1133 = lean_array_push(x_1131, x_1132); +x_1134 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1135 = lean_array_push(x_1133, x_1134); +x_1136 = lean_array_push(x_1135, x_1129); +x_1137 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1138, 0, x_1137); +lean_ctor_set(x_1138, 1, x_1136); +lean_ctor_set(x_1090, 1, x_1138); +return x_1088; } } else { -lean_object* x_102; lean_object* x_103; +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; lean_object* x_1166; lean_object* x_1167; +x_1139 = lean_ctor_get(x_1090, 0); +x_1140 = lean_ctor_get(x_1090, 1); +lean_inc(x_1140); +lean_inc(x_1139); +lean_dec(x_1090); +x_1141 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1081); +x_1142 = l_Lean_mkOptionalNode___closed__1; +x_1143 = lean_array_push(x_1142, x_1141); +x_1144 = l_Lean_nullKind___closed__2; +x_1145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1145, 0, x_1144); +lean_ctor_set(x_1145, 1, x_1143); +lean_inc(x_11); +x_1146 = lean_array_push(x_1142, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1147 = x_11; +} else { + lean_dec_ref(x_11); + x_1147 = lean_box(0); +} +if (lean_is_scalar(x_1147)) { + x_1148 = lean_alloc_ctor(1, 2, 0); +} else { + x_1148 = x_1147; +} +lean_ctor_set(x_1148, 0, x_1144); +lean_ctor_set(x_1148, 1, x_1146); +x_1149 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1150 = lean_array_push(x_1149, x_1148); +x_1151 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1152 = lean_array_push(x_1150, x_1151); +x_1153 = lean_array_push(x_1152, x_1140); +x_1154 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1155, 0, x_1154); +lean_ctor_set(x_1155, 1, x_1153); +x_1156 = lean_array_push(x_1142, x_1155); +x_1157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1157, 0, x_1144); +lean_ctor_set(x_1157, 1, x_1156); +x_1158 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1159 = lean_array_push(x_1158, x_1145); +x_1160 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1161 = lean_array_push(x_1159, x_1160); +x_1162 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1163 = lean_array_push(x_1161, x_1162); +x_1164 = lean_array_push(x_1163, x_1157); +x_1165 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1166, 0, x_1165); +lean_ctor_set(x_1166, 1, x_1164); +x_1167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1167, 0, x_1139); +lean_ctor_set(x_1167, 1, x_1166); +lean_ctor_set(x_1088, 0, x_1167); +return x_1088; +} +} +else +{ +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; +x_1168 = lean_ctor_get(x_1088, 0); +x_1169 = lean_ctor_get(x_1088, 1); +lean_inc(x_1169); +lean_inc(x_1168); +lean_dec(x_1088); +x_1170 = lean_ctor_get(x_1168, 0); +lean_inc(x_1170); +x_1171 = lean_ctor_get(x_1168, 1); +lean_inc(x_1171); +if (lean_is_exclusive(x_1168)) { + lean_ctor_release(x_1168, 0); + lean_ctor_release(x_1168, 1); + x_1172 = x_1168; +} else { + lean_dec_ref(x_1168); + x_1172 = lean_box(0); +} +x_1173 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1081); +x_1174 = l_Lean_mkOptionalNode___closed__1; +x_1175 = lean_array_push(x_1174, x_1173); +x_1176 = l_Lean_nullKind___closed__2; +x_1177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1177, 0, x_1176); +lean_ctor_set(x_1177, 1, x_1175); +lean_inc(x_11); +x_1178 = lean_array_push(x_1174, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1179 = x_11; +} else { + lean_dec_ref(x_11); + x_1179 = lean_box(0); +} +if (lean_is_scalar(x_1179)) { + x_1180 = lean_alloc_ctor(1, 2, 0); +} else { + x_1180 = x_1179; +} +lean_ctor_set(x_1180, 0, x_1176); +lean_ctor_set(x_1180, 1, x_1178); +x_1181 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1182 = lean_array_push(x_1181, x_1180); +x_1183 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1184 = lean_array_push(x_1182, x_1183); +x_1185 = lean_array_push(x_1184, x_1171); +x_1186 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1187, 0, x_1186); +lean_ctor_set(x_1187, 1, x_1185); +x_1188 = lean_array_push(x_1174, x_1187); +x_1189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1189, 0, x_1176); +lean_ctor_set(x_1189, 1, x_1188); +x_1190 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1191 = lean_array_push(x_1190, x_1177); +x_1192 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1193 = lean_array_push(x_1191, x_1192); +x_1194 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1195 = lean_array_push(x_1193, x_1194); +x_1196 = lean_array_push(x_1195, x_1189); +x_1197 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1197); +lean_ctor_set(x_1198, 1, x_1196); +if (lean_is_scalar(x_1172)) { + x_1199 = lean_alloc_ctor(0, 2, 0); +} else { + x_1199 = x_1172; +} +lean_ctor_set(x_1199, 0, x_1170); +lean_ctor_set(x_1199, 1, x_1198); +x_1200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1200, 0, x_1199); +lean_ctor_set(x_1200, 1, x_1169); +return x_1200; +} +} +else +{ +uint8_t x_1201; +lean_dec(x_1081); +lean_dec(x_11); +x_1201 = !lean_is_exclusive(x_1088); +if (x_1201 == 0) +{ +return x_1088; +} +else +{ +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; +x_1202 = lean_ctor_get(x_1088, 0); +x_1203 = lean_ctor_get(x_1088, 1); +lean_inc(x_1203); +lean_inc(x_1202); +lean_dec(x_1088); +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1202); +lean_ctor_set(x_1204, 1, x_1203); +return x_1204; +} +} +} +} +else +{ +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_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_4); +x_1205 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1206 = lean_ctor_get(x_1205, 0); +lean_inc(x_1206); +x_1207 = lean_ctor_get(x_1205, 1); +lean_inc(x_1207); +lean_dec(x_1205); +x_1208 = lean_unsigned_to_nat(1u); +x_1209 = lean_nat_add(x_3, x_1208); lean_dec(x_3); -lean_dec(x_2); -x_102 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_103 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_102, x_5, x_6); +x_1210 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1206); +x_1211 = l_Lean_Elab_Term_mkExplicitBinder(x_1206, x_1210); +x_1212 = lean_array_push(x_4, x_1211); +x_1213 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1209, x_1212, x_5, x_1207); +if (lean_obj_tag(x_1213) == 0) +{ +uint8_t x_1214; +x_1214 = !lean_is_exclusive(x_1213); +if (x_1214 == 0) +{ +lean_object* x_1215; uint8_t x_1216; +x_1215 = lean_ctor_get(x_1213, 0); +x_1216 = !lean_is_exclusive(x_1215); +if (x_1216 == 0) +{ +lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; uint8_t x_1224; +x_1217 = lean_ctor_get(x_1215, 1); +x_1218 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1206); +x_1219 = l_Lean_mkOptionalNode___closed__1; +x_1220 = lean_array_push(x_1219, x_1218); +x_1221 = l_Lean_nullKind___closed__2; +x_1222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1222, 0, x_1221); +lean_ctor_set(x_1222, 1, x_1220); +lean_inc(x_11); +x_1223 = lean_array_push(x_1219, x_11); +x_1224 = !lean_is_exclusive(x_11); +if (x_1224 == 0) +{ +lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; +x_1225 = lean_ctor_get(x_11, 1); +lean_dec(x_1225); +x_1226 = lean_ctor_get(x_11, 0); +lean_dec(x_1226); +lean_ctor_set(x_11, 1, x_1223); +lean_ctor_set(x_11, 0, x_1221); +x_1227 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1228 = lean_array_push(x_1227, x_11); +x_1229 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1230 = lean_array_push(x_1228, x_1229); +x_1231 = lean_array_push(x_1230, x_1217); +x_1232 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1233, 0, x_1232); +lean_ctor_set(x_1233, 1, x_1231); +x_1234 = lean_array_push(x_1219, x_1233); +x_1235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1235, 0, x_1221); +lean_ctor_set(x_1235, 1, x_1234); +x_1236 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1237 = lean_array_push(x_1236, x_1222); +x_1238 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1239 = lean_array_push(x_1237, x_1238); +x_1240 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1241 = lean_array_push(x_1239, x_1240); +x_1242 = lean_array_push(x_1241, x_1235); +x_1243 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1244, 0, x_1243); +lean_ctor_set(x_1244, 1, x_1242); +lean_ctor_set(x_1215, 1, x_1244); +return x_1213; +} +else +{ +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_dec(x_11); -return x_103; +x_1245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1245, 0, x_1221); +lean_ctor_set(x_1245, 1, x_1223); +x_1246 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1247 = lean_array_push(x_1246, x_1245); +x_1248 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1249 = lean_array_push(x_1247, x_1248); +x_1250 = lean_array_push(x_1249, x_1217); +x_1251 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1252, 0, x_1251); +lean_ctor_set(x_1252, 1, x_1250); +x_1253 = lean_array_push(x_1219, x_1252); +x_1254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1254, 0, x_1221); +lean_ctor_set(x_1254, 1, x_1253); +x_1255 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1256 = lean_array_push(x_1255, x_1222); +x_1257 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1258 = lean_array_push(x_1256, x_1257); +x_1259 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1260 = lean_array_push(x_1258, x_1259); +x_1261 = lean_array_push(x_1260, x_1254); +x_1262 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1263 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1263, 0, x_1262); +lean_ctor_set(x_1263, 1, x_1261); +lean_ctor_set(x_1215, 1, x_1263); +return x_1213; } } else { -lean_object* x_104; lean_object* x_105; +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; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; +x_1264 = lean_ctor_get(x_1215, 0); +x_1265 = lean_ctor_get(x_1215, 1); +lean_inc(x_1265); +lean_inc(x_1264); +lean_dec(x_1215); +x_1266 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1206); +x_1267 = l_Lean_mkOptionalNode___closed__1; +x_1268 = lean_array_push(x_1267, x_1266); +x_1269 = l_Lean_nullKind___closed__2; +x_1270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1270, 0, x_1269); +lean_ctor_set(x_1270, 1, x_1268); +lean_inc(x_11); +x_1271 = lean_array_push(x_1267, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1272 = x_11; +} else { + lean_dec_ref(x_11); + x_1272 = lean_box(0); +} +if (lean_is_scalar(x_1272)) { + x_1273 = lean_alloc_ctor(1, 2, 0); +} else { + x_1273 = x_1272; +} +lean_ctor_set(x_1273, 0, x_1269); +lean_ctor_set(x_1273, 1, x_1271); +x_1274 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1275 = lean_array_push(x_1274, x_1273); +x_1276 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1277 = lean_array_push(x_1275, x_1276); +x_1278 = lean_array_push(x_1277, x_1265); +x_1279 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1280, 0, x_1279); +lean_ctor_set(x_1280, 1, x_1278); +x_1281 = lean_array_push(x_1267, x_1280); +x_1282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1282, 0, x_1269); +lean_ctor_set(x_1282, 1, x_1281); +x_1283 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1284 = lean_array_push(x_1283, x_1270); +x_1285 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1286 = lean_array_push(x_1284, x_1285); +x_1287 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1288 = lean_array_push(x_1286, x_1287); +x_1289 = lean_array_push(x_1288, x_1282); +x_1290 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1291, 0, x_1290); +lean_ctor_set(x_1291, 1, x_1289); +x_1292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1292, 0, x_1264); +lean_ctor_set(x_1292, 1, x_1291); +lean_ctor_set(x_1213, 0, x_1292); +return x_1213; +} +} +else +{ +lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; +x_1293 = lean_ctor_get(x_1213, 0); +x_1294 = lean_ctor_get(x_1213, 1); +lean_inc(x_1294); +lean_inc(x_1293); +lean_dec(x_1213); +x_1295 = lean_ctor_get(x_1293, 0); +lean_inc(x_1295); +x_1296 = lean_ctor_get(x_1293, 1); +lean_inc(x_1296); +if (lean_is_exclusive(x_1293)) { + lean_ctor_release(x_1293, 0); + lean_ctor_release(x_1293, 1); + x_1297 = x_1293; +} else { + lean_dec_ref(x_1293); + x_1297 = lean_box(0); +} +x_1298 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1206); +x_1299 = l_Lean_mkOptionalNode___closed__1; +x_1300 = lean_array_push(x_1299, x_1298); +x_1301 = l_Lean_nullKind___closed__2; +x_1302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1302, 0, x_1301); +lean_ctor_set(x_1302, 1, x_1300); +lean_inc(x_11); +x_1303 = lean_array_push(x_1299, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1304 = x_11; +} else { + lean_dec_ref(x_11); + x_1304 = lean_box(0); +} +if (lean_is_scalar(x_1304)) { + x_1305 = lean_alloc_ctor(1, 2, 0); +} else { + x_1305 = x_1304; +} +lean_ctor_set(x_1305, 0, x_1301); +lean_ctor_set(x_1305, 1, x_1303); +x_1306 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1307 = lean_array_push(x_1306, x_1305); +x_1308 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1309 = lean_array_push(x_1307, x_1308); +x_1310 = lean_array_push(x_1309, x_1296); +x_1311 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1312, 0, x_1311); +lean_ctor_set(x_1312, 1, x_1310); +x_1313 = lean_array_push(x_1299, x_1312); +x_1314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1314, 0, x_1301); +lean_ctor_set(x_1314, 1, x_1313); +x_1315 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1316 = lean_array_push(x_1315, x_1302); +x_1317 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1318 = lean_array_push(x_1316, x_1317); +x_1319 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1320 = lean_array_push(x_1318, x_1319); +x_1321 = lean_array_push(x_1320, x_1314); +x_1322 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1321); +if (lean_is_scalar(x_1297)) { + x_1324 = lean_alloc_ctor(0, 2, 0); +} else { + x_1324 = x_1297; +} +lean_ctor_set(x_1324, 0, x_1295); +lean_ctor_set(x_1324, 1, x_1323); +x_1325 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1325, 0, x_1324); +lean_ctor_set(x_1325, 1, x_1294); +return x_1325; +} +} +else +{ +uint8_t x_1326; +lean_dec(x_1206); +lean_dec(x_11); +x_1326 = !lean_is_exclusive(x_1213); +if (x_1326 == 0) +{ +return x_1213; +} +else +{ +lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; +x_1327 = lean_ctor_get(x_1213, 0); +x_1328 = lean_ctor_get(x_1213, 1); +lean_inc(x_1328); +lean_inc(x_1327); +lean_dec(x_1213); +x_1329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1329, 0, x_1327); +lean_ctor_set(x_1329, 1, x_1328); +return x_1329; +} +} +} +} +else +{ +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_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_4); +x_1330 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1331 = lean_ctor_get(x_1330, 0); +lean_inc(x_1331); +x_1332 = lean_ctor_get(x_1330, 1); +lean_inc(x_1332); +lean_dec(x_1330); +x_1333 = lean_unsigned_to_nat(1u); +x_1334 = lean_nat_add(x_3, x_1333); lean_dec(x_3); -lean_dec(x_2); -x_104 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_105 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_104, x_5, x_6); +x_1335 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1331); +x_1336 = l_Lean_Elab_Term_mkExplicitBinder(x_1331, x_1335); +x_1337 = lean_array_push(x_4, x_1336); +x_1338 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1334, x_1337, x_5, x_1332); +if (lean_obj_tag(x_1338) == 0) +{ +uint8_t x_1339; +x_1339 = !lean_is_exclusive(x_1338); +if (x_1339 == 0) +{ +lean_object* x_1340; uint8_t x_1341; +x_1340 = lean_ctor_get(x_1338, 0); +x_1341 = !lean_is_exclusive(x_1340); +if (x_1341 == 0) +{ +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; uint8_t x_1349; +x_1342 = lean_ctor_get(x_1340, 1); +x_1343 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1331); +x_1344 = l_Lean_mkOptionalNode___closed__1; +x_1345 = lean_array_push(x_1344, x_1343); +x_1346 = l_Lean_nullKind___closed__2; +x_1347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1347, 0, x_1346); +lean_ctor_set(x_1347, 1, x_1345); +lean_inc(x_11); +x_1348 = lean_array_push(x_1344, x_11); +x_1349 = !lean_is_exclusive(x_11); +if (x_1349 == 0) +{ +lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; +x_1350 = lean_ctor_get(x_11, 1); +lean_dec(x_1350); +x_1351 = lean_ctor_get(x_11, 0); +lean_dec(x_1351); +lean_ctor_set(x_11, 1, x_1348); +lean_ctor_set(x_11, 0, x_1346); +x_1352 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1353 = lean_array_push(x_1352, x_11); +x_1354 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1355 = lean_array_push(x_1353, x_1354); +x_1356 = lean_array_push(x_1355, x_1342); +x_1357 = l_Lean_Parser_Term_matchAlt___elambda__1___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_1344, x_1358); +x_1360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1360, 0, x_1346); +lean_ctor_set(x_1360, 1, x_1359); +x_1361 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1362 = lean_array_push(x_1361, x_1347); +x_1363 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1364 = lean_array_push(x_1362, x_1363); +x_1365 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1366 = lean_array_push(x_1364, x_1365); +x_1367 = lean_array_push(x_1366, x_1360); +x_1368 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1369, 0, x_1368); +lean_ctor_set(x_1369, 1, x_1367); +lean_ctor_set(x_1340, 1, x_1369); +return x_1338; +} +else +{ +lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_dec(x_11); -return x_105; +x_1370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1370, 0, x_1346); +lean_ctor_set(x_1370, 1, x_1348); +x_1371 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1372 = lean_array_push(x_1371, x_1370); +x_1373 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1374 = lean_array_push(x_1372, x_1373); +x_1375 = lean_array_push(x_1374, x_1342); +x_1376 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1377, 0, x_1376); +lean_ctor_set(x_1377, 1, x_1375); +x_1378 = lean_array_push(x_1344, x_1377); +x_1379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1379, 0, x_1346); +lean_ctor_set(x_1379, 1, x_1378); +x_1380 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1381 = lean_array_push(x_1380, x_1347); +x_1382 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1383 = lean_array_push(x_1381, x_1382); +x_1384 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1385 = lean_array_push(x_1383, x_1384); +x_1386 = lean_array_push(x_1385, x_1379); +x_1387 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1388, 0, x_1387); +lean_ctor_set(x_1388, 1, x_1386); +lean_ctor_set(x_1340, 1, x_1388); +return x_1338; } } else { -lean_object* x_106; lean_object* x_107; +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; +x_1389 = lean_ctor_get(x_1340, 0); +x_1390 = lean_ctor_get(x_1340, 1); +lean_inc(x_1390); +lean_inc(x_1389); +lean_dec(x_1340); +x_1391 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1331); +x_1392 = l_Lean_mkOptionalNode___closed__1; +x_1393 = lean_array_push(x_1392, x_1391); +x_1394 = l_Lean_nullKind___closed__2; +x_1395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1395, 0, x_1394); +lean_ctor_set(x_1395, 1, x_1393); +lean_inc(x_11); +x_1396 = lean_array_push(x_1392, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1397 = x_11; +} else { + lean_dec_ref(x_11); + x_1397 = lean_box(0); +} +if (lean_is_scalar(x_1397)) { + x_1398 = lean_alloc_ctor(1, 2, 0); +} else { + x_1398 = x_1397; +} +lean_ctor_set(x_1398, 0, x_1394); +lean_ctor_set(x_1398, 1, x_1396); +x_1399 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1400 = lean_array_push(x_1399, x_1398); +x_1401 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1402 = lean_array_push(x_1400, x_1401); +x_1403 = lean_array_push(x_1402, x_1390); +x_1404 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1405, 0, x_1404); +lean_ctor_set(x_1405, 1, x_1403); +x_1406 = lean_array_push(x_1392, x_1405); +x_1407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1407, 0, x_1394); +lean_ctor_set(x_1407, 1, x_1406); +x_1408 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1409 = lean_array_push(x_1408, x_1395); +x_1410 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1411 = lean_array_push(x_1409, x_1410); +x_1412 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1413 = lean_array_push(x_1411, x_1412); +x_1414 = lean_array_push(x_1413, x_1407); +x_1415 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1416, 0, x_1415); +lean_ctor_set(x_1416, 1, x_1414); +x_1417 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1417, 0, x_1389); +lean_ctor_set(x_1417, 1, x_1416); +lean_ctor_set(x_1338, 0, x_1417); +return x_1338; +} +} +else +{ +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; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; +x_1418 = lean_ctor_get(x_1338, 0); +x_1419 = lean_ctor_get(x_1338, 1); +lean_inc(x_1419); +lean_inc(x_1418); +lean_dec(x_1338); +x_1420 = lean_ctor_get(x_1418, 0); +lean_inc(x_1420); +x_1421 = lean_ctor_get(x_1418, 1); +lean_inc(x_1421); +if (lean_is_exclusive(x_1418)) { + lean_ctor_release(x_1418, 0); + lean_ctor_release(x_1418, 1); + x_1422 = x_1418; +} else { + lean_dec_ref(x_1418); + x_1422 = lean_box(0); +} +x_1423 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1331); +x_1424 = l_Lean_mkOptionalNode___closed__1; +x_1425 = lean_array_push(x_1424, x_1423); +x_1426 = l_Lean_nullKind___closed__2; +x_1427 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1427, 0, x_1426); +lean_ctor_set(x_1427, 1, x_1425); +lean_inc(x_11); +x_1428 = lean_array_push(x_1424, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1429 = x_11; +} else { + lean_dec_ref(x_11); + x_1429 = lean_box(0); +} +if (lean_is_scalar(x_1429)) { + x_1430 = lean_alloc_ctor(1, 2, 0); +} else { + x_1430 = x_1429; +} +lean_ctor_set(x_1430, 0, x_1426); +lean_ctor_set(x_1430, 1, x_1428); +x_1431 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1432 = lean_array_push(x_1431, x_1430); +x_1433 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1434 = lean_array_push(x_1432, x_1433); +x_1435 = lean_array_push(x_1434, x_1421); +x_1436 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1437, 0, x_1436); +lean_ctor_set(x_1437, 1, x_1435); +x_1438 = lean_array_push(x_1424, x_1437); +x_1439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1439, 0, x_1426); +lean_ctor_set(x_1439, 1, x_1438); +x_1440 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1441 = lean_array_push(x_1440, x_1427); +x_1442 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1443 = lean_array_push(x_1441, x_1442); +x_1444 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1445 = lean_array_push(x_1443, x_1444); +x_1446 = lean_array_push(x_1445, x_1439); +x_1447 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1448, 0, x_1447); +lean_ctor_set(x_1448, 1, x_1446); +if (lean_is_scalar(x_1422)) { + x_1449 = lean_alloc_ctor(0, 2, 0); +} else { + x_1449 = x_1422; +} +lean_ctor_set(x_1449, 0, x_1420); +lean_ctor_set(x_1449, 1, x_1448); +x_1450 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1450, 0, x_1449); +lean_ctor_set(x_1450, 1, x_1419); +return x_1450; +} +} +else +{ +uint8_t x_1451; +lean_dec(x_1331); +lean_dec(x_11); +x_1451 = !lean_is_exclusive(x_1338); +if (x_1451 == 0) +{ +return x_1338; +} +else +{ +lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; +x_1452 = lean_ctor_get(x_1338, 0); +x_1453 = lean_ctor_get(x_1338, 1); +lean_inc(x_1453); +lean_inc(x_1452); +lean_dec(x_1338); +x_1454 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1454, 0, x_1452); +lean_ctor_set(x_1454, 1, x_1453); +return x_1454; +} +} +} +} +else +{ +lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_dec(x_13); lean_dec(x_12); -lean_dec(x_4); +x_1455 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1456 = lean_ctor_get(x_1455, 0); +lean_inc(x_1456); +x_1457 = lean_ctor_get(x_1455, 1); +lean_inc(x_1457); +lean_dec(x_1455); +x_1458 = lean_unsigned_to_nat(1u); +x_1459 = lean_nat_add(x_3, x_1458); lean_dec(x_3); -lean_dec(x_2); -x_106 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_107 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_106, x_5, x_6); +x_1460 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1456); +x_1461 = l_Lean_Elab_Term_mkExplicitBinder(x_1456, x_1460); +x_1462 = lean_array_push(x_4, x_1461); +x_1463 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1459, x_1462, x_5, x_1457); +if (lean_obj_tag(x_1463) == 0) +{ +uint8_t x_1464; +x_1464 = !lean_is_exclusive(x_1463); +if (x_1464 == 0) +{ +lean_object* x_1465; uint8_t x_1466; +x_1465 = lean_ctor_get(x_1463, 0); +x_1466 = !lean_is_exclusive(x_1465); +if (x_1466 == 0) +{ +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; uint8_t x_1474; +x_1467 = lean_ctor_get(x_1465, 1); +x_1468 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1456); +x_1469 = l_Lean_mkOptionalNode___closed__1; +x_1470 = lean_array_push(x_1469, x_1468); +x_1471 = l_Lean_nullKind___closed__2; +x_1472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1472, 0, x_1471); +lean_ctor_set(x_1472, 1, x_1470); +lean_inc(x_11); +x_1473 = lean_array_push(x_1469, x_11); +x_1474 = !lean_is_exclusive(x_11); +if (x_1474 == 0) +{ +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; +x_1475 = lean_ctor_get(x_11, 1); +lean_dec(x_1475); +x_1476 = lean_ctor_get(x_11, 0); +lean_dec(x_1476); +lean_ctor_set(x_11, 1, x_1473); +lean_ctor_set(x_11, 0, x_1471); +x_1477 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1478 = lean_array_push(x_1477, x_11); +x_1479 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1480 = lean_array_push(x_1478, x_1479); +x_1481 = lean_array_push(x_1480, x_1467); +x_1482 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1483 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1483, 0, x_1482); +lean_ctor_set(x_1483, 1, x_1481); +x_1484 = lean_array_push(x_1469, x_1483); +x_1485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1485, 0, x_1471); +lean_ctor_set(x_1485, 1, x_1484); +x_1486 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1487 = lean_array_push(x_1486, x_1472); +x_1488 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1489 = lean_array_push(x_1487, x_1488); +x_1490 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1491 = lean_array_push(x_1489, x_1490); +x_1492 = lean_array_push(x_1491, x_1485); +x_1493 = l_Lean_Parser_Term_match___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); +lean_ctor_set(x_1465, 1, x_1494); +return x_1463; +} +else +{ +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_dec(x_11); -return x_107; +x_1495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1495, 0, x_1471); +lean_ctor_set(x_1495, 1, x_1473); +x_1496 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1497 = lean_array_push(x_1496, x_1495); +x_1498 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1499 = lean_array_push(x_1497, x_1498); +x_1500 = lean_array_push(x_1499, x_1467); +x_1501 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1502, 0, x_1501); +lean_ctor_set(x_1502, 1, x_1500); +x_1503 = lean_array_push(x_1469, x_1502); +x_1504 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1504, 0, x_1471); +lean_ctor_set(x_1504, 1, x_1503); +x_1505 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1506 = lean_array_push(x_1505, x_1472); +x_1507 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1508 = lean_array_push(x_1506, x_1507); +x_1509 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1510 = lean_array_push(x_1508, x_1509); +x_1511 = lean_array_push(x_1510, x_1504); +x_1512 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1513 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1513, 0, x_1512); +lean_ctor_set(x_1513, 1, x_1511); +lean_ctor_set(x_1465, 1, x_1513); +return x_1463; } } else { -lean_object* x_108; lean_object* x_109; +lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; +x_1514 = lean_ctor_get(x_1465, 0); +x_1515 = lean_ctor_get(x_1465, 1); +lean_inc(x_1515); +lean_inc(x_1514); +lean_dec(x_1465); +x_1516 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1456); +x_1517 = l_Lean_mkOptionalNode___closed__1; +x_1518 = lean_array_push(x_1517, x_1516); +x_1519 = l_Lean_nullKind___closed__2; +x_1520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1520, 0, x_1519); +lean_ctor_set(x_1520, 1, x_1518); +lean_inc(x_11); +x_1521 = lean_array_push(x_1517, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1522 = x_11; +} else { + lean_dec_ref(x_11); + x_1522 = lean_box(0); +} +if (lean_is_scalar(x_1522)) { + x_1523 = lean_alloc_ctor(1, 2, 0); +} else { + x_1523 = x_1522; +} +lean_ctor_set(x_1523, 0, x_1519); +lean_ctor_set(x_1523, 1, x_1521); +x_1524 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1525 = lean_array_push(x_1524, x_1523); +x_1526 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1527 = lean_array_push(x_1525, x_1526); +x_1528 = lean_array_push(x_1527, x_1515); +x_1529 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1530, 0, x_1529); +lean_ctor_set(x_1530, 1, x_1528); +x_1531 = lean_array_push(x_1517, x_1530); +x_1532 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1532, 0, x_1519); +lean_ctor_set(x_1532, 1, x_1531); +x_1533 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1534 = lean_array_push(x_1533, x_1520); +x_1535 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1536 = lean_array_push(x_1534, x_1535); +x_1537 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1538 = lean_array_push(x_1536, x_1537); +x_1539 = lean_array_push(x_1538, x_1532); +x_1540 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1541, 0, x_1540); +lean_ctor_set(x_1541, 1, x_1539); +x_1542 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1542, 0, x_1514); +lean_ctor_set(x_1542, 1, x_1541); +lean_ctor_set(x_1463, 0, x_1542); +return x_1463; +} +} +else +{ +lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; +x_1543 = lean_ctor_get(x_1463, 0); +x_1544 = lean_ctor_get(x_1463, 1); +lean_inc(x_1544); +lean_inc(x_1543); +lean_dec(x_1463); +x_1545 = lean_ctor_get(x_1543, 0); +lean_inc(x_1545); +x_1546 = lean_ctor_get(x_1543, 1); +lean_inc(x_1546); +if (lean_is_exclusive(x_1543)) { + lean_ctor_release(x_1543, 0); + lean_ctor_release(x_1543, 1); + x_1547 = x_1543; +} else { + lean_dec_ref(x_1543); + x_1547 = lean_box(0); +} +x_1548 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1456); +x_1549 = l_Lean_mkOptionalNode___closed__1; +x_1550 = lean_array_push(x_1549, x_1548); +x_1551 = l_Lean_nullKind___closed__2; +x_1552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1552, 0, x_1551); +lean_ctor_set(x_1552, 1, x_1550); +lean_inc(x_11); +x_1553 = lean_array_push(x_1549, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1554 = x_11; +} else { + lean_dec_ref(x_11); + x_1554 = lean_box(0); +} +if (lean_is_scalar(x_1554)) { + x_1555 = lean_alloc_ctor(1, 2, 0); +} else { + x_1555 = x_1554; +} +lean_ctor_set(x_1555, 0, x_1551); +lean_ctor_set(x_1555, 1, x_1553); +x_1556 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1557 = lean_array_push(x_1556, x_1555); +x_1558 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1559 = lean_array_push(x_1557, x_1558); +x_1560 = lean_array_push(x_1559, x_1546); +x_1561 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1562, 0, x_1561); +lean_ctor_set(x_1562, 1, x_1560); +x_1563 = lean_array_push(x_1549, x_1562); +x_1564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1564, 0, x_1551); +lean_ctor_set(x_1564, 1, x_1563); +x_1565 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1566 = lean_array_push(x_1565, x_1552); +x_1567 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1568 = lean_array_push(x_1566, x_1567); +x_1569 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1570 = lean_array_push(x_1568, x_1569); +x_1571 = lean_array_push(x_1570, x_1564); +x_1572 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1573, 0, x_1572); +lean_ctor_set(x_1573, 1, x_1571); +if (lean_is_scalar(x_1547)) { + x_1574 = lean_alloc_ctor(0, 2, 0); +} else { + x_1574 = x_1547; +} +lean_ctor_set(x_1574, 0, x_1545); +lean_ctor_set(x_1574, 1, x_1573); +x_1575 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1575, 0, x_1574); +lean_ctor_set(x_1575, 1, x_1544); +return x_1575; +} +} +else +{ +uint8_t x_1576; +lean_dec(x_1456); +lean_dec(x_11); +x_1576 = !lean_is_exclusive(x_1463); +if (x_1576 == 0) +{ +return x_1463; +} +else +{ +lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; +x_1577 = lean_ctor_get(x_1463, 0); +x_1578 = lean_ctor_get(x_1463, 1); +lean_inc(x_1578); +lean_inc(x_1577); +lean_dec(x_1463); +x_1579 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1579, 0, x_1577); +lean_ctor_set(x_1579, 1, x_1578); +return x_1579; +} +} +} +} +else +{ +lean_object* x_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_dec(x_12); -lean_dec(x_4); +x_1580 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1581 = lean_ctor_get(x_1580, 0); +lean_inc(x_1581); +x_1582 = lean_ctor_get(x_1580, 1); +lean_inc(x_1582); +lean_dec(x_1580); +x_1583 = lean_unsigned_to_nat(1u); +x_1584 = lean_nat_add(x_3, x_1583); lean_dec(x_3); -lean_dec(x_2); -x_108 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_109 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_108, x_5, x_6); +x_1585 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1581); +x_1586 = l_Lean_Elab_Term_mkExplicitBinder(x_1581, x_1585); +x_1587 = lean_array_push(x_4, x_1586); +x_1588 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1584, x_1587, x_5, x_1582); +if (lean_obj_tag(x_1588) == 0) +{ +uint8_t x_1589; +x_1589 = !lean_is_exclusive(x_1588); +if (x_1589 == 0) +{ +lean_object* x_1590; uint8_t x_1591; +x_1590 = lean_ctor_get(x_1588, 0); +x_1591 = !lean_is_exclusive(x_1590); +if (x_1591 == 0) +{ +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; uint8_t x_1599; +x_1592 = lean_ctor_get(x_1590, 1); +x_1593 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1581); +x_1594 = l_Lean_mkOptionalNode___closed__1; +x_1595 = lean_array_push(x_1594, x_1593); +x_1596 = l_Lean_nullKind___closed__2; +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1596); +lean_ctor_set(x_1597, 1, x_1595); +lean_inc(x_11); +x_1598 = lean_array_push(x_1594, x_11); +x_1599 = !lean_is_exclusive(x_11); +if (x_1599 == 0) +{ +lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; +x_1600 = lean_ctor_get(x_11, 1); +lean_dec(x_1600); +x_1601 = lean_ctor_get(x_11, 0); +lean_dec(x_1601); +lean_ctor_set(x_11, 1, x_1598); +lean_ctor_set(x_11, 0, x_1596); +x_1602 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1603 = lean_array_push(x_1602, x_11); +x_1604 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1605 = lean_array_push(x_1603, x_1604); +x_1606 = lean_array_push(x_1605, x_1592); +x_1607 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1608, 0, x_1607); +lean_ctor_set(x_1608, 1, x_1606); +x_1609 = lean_array_push(x_1594, x_1608); +x_1610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1610, 0, x_1596); +lean_ctor_set(x_1610, 1, x_1609); +x_1611 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1612 = lean_array_push(x_1611, x_1597); +x_1613 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1614 = lean_array_push(x_1612, x_1613); +x_1615 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1616 = lean_array_push(x_1614, x_1615); +x_1617 = lean_array_push(x_1616, x_1610); +x_1618 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1619, 0, x_1618); +lean_ctor_set(x_1619, 1, x_1617); +lean_ctor_set(x_1590, 1, x_1619); +return x_1588; +} +else +{ +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_dec(x_11); -return x_109; +x_1620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1620, 0, x_1596); +lean_ctor_set(x_1620, 1, x_1598); +x_1621 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1622 = lean_array_push(x_1621, x_1620); +x_1623 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1624 = lean_array_push(x_1622, x_1623); +x_1625 = lean_array_push(x_1624, x_1592); +x_1626 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1627, 0, x_1626); +lean_ctor_set(x_1627, 1, x_1625); +x_1628 = lean_array_push(x_1594, x_1627); +x_1629 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1629, 0, x_1596); +lean_ctor_set(x_1629, 1, x_1628); +x_1630 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1631 = lean_array_push(x_1630, x_1597); +x_1632 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1633 = lean_array_push(x_1631, x_1632); +x_1634 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1635 = lean_array_push(x_1633, x_1634); +x_1636 = lean_array_push(x_1635, x_1629); +x_1637 = l_Lean_Parser_Term_match___elambda__1___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); +lean_ctor_set(x_1590, 1, x_1638); +return x_1588; } } else { -lean_object* x_110; lean_object* x_111; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_110 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__3; -x_111 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_11, x_110, x_5, x_6); +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; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; +x_1639 = lean_ctor_get(x_1590, 0); +x_1640 = lean_ctor_get(x_1590, 1); +lean_inc(x_1640); +lean_inc(x_1639); +lean_dec(x_1590); +x_1641 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1581); +x_1642 = l_Lean_mkOptionalNode___closed__1; +x_1643 = lean_array_push(x_1642, x_1641); +x_1644 = l_Lean_nullKind___closed__2; +x_1645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1645, 0, x_1644); +lean_ctor_set(x_1645, 1, x_1643); +lean_inc(x_11); +x_1646 = lean_array_push(x_1642, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1647 = x_11; +} else { + lean_dec_ref(x_11); + x_1647 = lean_box(0); +} +if (lean_is_scalar(x_1647)) { + x_1648 = lean_alloc_ctor(1, 2, 0); +} else { + x_1648 = x_1647; +} +lean_ctor_set(x_1648, 0, x_1644); +lean_ctor_set(x_1648, 1, x_1646); +x_1649 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1650 = lean_array_push(x_1649, x_1648); +x_1651 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1652 = lean_array_push(x_1650, x_1651); +x_1653 = lean_array_push(x_1652, x_1640); +x_1654 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1655, 0, x_1654); +lean_ctor_set(x_1655, 1, x_1653); +x_1656 = lean_array_push(x_1642, x_1655); +x_1657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1657, 0, x_1644); +lean_ctor_set(x_1657, 1, x_1656); +x_1658 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1659 = lean_array_push(x_1658, x_1645); +x_1660 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1661 = lean_array_push(x_1659, x_1660); +x_1662 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1663 = lean_array_push(x_1661, x_1662); +x_1664 = lean_array_push(x_1663, x_1657); +x_1665 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1666, 0, x_1665); +lean_ctor_set(x_1666, 1, x_1664); +x_1667 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1667, 0, x_1639); +lean_ctor_set(x_1667, 1, x_1666); +lean_ctor_set(x_1588, 0, x_1667); +return x_1588; +} +} +else +{ +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; +x_1668 = lean_ctor_get(x_1588, 0); +x_1669 = lean_ctor_get(x_1588, 1); +lean_inc(x_1669); +lean_inc(x_1668); +lean_dec(x_1588); +x_1670 = lean_ctor_get(x_1668, 0); +lean_inc(x_1670); +x_1671 = lean_ctor_get(x_1668, 1); +lean_inc(x_1671); +if (lean_is_exclusive(x_1668)) { + lean_ctor_release(x_1668, 0); + lean_ctor_release(x_1668, 1); + x_1672 = x_1668; +} else { + lean_dec_ref(x_1668); + x_1672 = lean_box(0); +} +x_1673 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1581); +x_1674 = l_Lean_mkOptionalNode___closed__1; +x_1675 = lean_array_push(x_1674, x_1673); +x_1676 = l_Lean_nullKind___closed__2; +x_1677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1677, 0, x_1676); +lean_ctor_set(x_1677, 1, x_1675); +lean_inc(x_11); +x_1678 = lean_array_push(x_1674, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1679 = x_11; +} else { + lean_dec_ref(x_11); + x_1679 = lean_box(0); +} +if (lean_is_scalar(x_1679)) { + x_1680 = lean_alloc_ctor(1, 2, 0); +} else { + x_1680 = x_1679; +} +lean_ctor_set(x_1680, 0, x_1676); +lean_ctor_set(x_1680, 1, x_1678); +x_1681 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1682 = lean_array_push(x_1681, x_1680); +x_1683 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1684 = lean_array_push(x_1682, x_1683); +x_1685 = lean_array_push(x_1684, x_1671); +x_1686 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1687 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1687, 0, x_1686); +lean_ctor_set(x_1687, 1, x_1685); +x_1688 = lean_array_push(x_1674, x_1687); +x_1689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1689, 0, x_1676); +lean_ctor_set(x_1689, 1, x_1688); +x_1690 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1691 = lean_array_push(x_1690, x_1677); +x_1692 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1693 = lean_array_push(x_1691, x_1692); +x_1694 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1695 = lean_array_push(x_1693, x_1694); +x_1696 = lean_array_push(x_1695, x_1689); +x_1697 = l_Lean_Parser_Term_match___elambda__1___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); +if (lean_is_scalar(x_1672)) { + x_1699 = lean_alloc_ctor(0, 2, 0); +} else { + x_1699 = x_1672; +} +lean_ctor_set(x_1699, 0, x_1670); +lean_ctor_set(x_1699, 1, x_1698); +x_1700 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1700, 0, x_1699); +lean_ctor_set(x_1700, 1, x_1669); +return x_1700; +} +} +else +{ +uint8_t x_1701; +lean_dec(x_1581); lean_dec(x_11); -return x_111; -} -} -} -} -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +x_1701 = !lean_is_exclusive(x_1588); +if (x_1701 == 0) { -lean_object* x_5; -x_5 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__1(x_1, x_2, x_3, x_4); +return x_1588; +} +else +{ +lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; +x_1702 = lean_ctor_get(x_1588, 0); +x_1703 = lean_ctor_get(x_1588, 1); +lean_inc(x_1703); +lean_inc(x_1702); +lean_dec(x_1588); +x_1704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1704, 0, x_1702); +lean_ctor_set(x_1704, 1, x_1703); +return x_1704; +} +} +} +} +case 2: +{ +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; +x_1705 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1706 = lean_ctor_get(x_1705, 0); +lean_inc(x_1706); +x_1707 = lean_ctor_get(x_1705, 1); +lean_inc(x_1707); +lean_dec(x_1705); +x_1708 = lean_unsigned_to_nat(1u); +x_1709 = lean_nat_add(x_3, x_1708); lean_dec(x_3); -lean_dec(x_1); -return x_5; +x_1710 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1706); +x_1711 = l_Lean_Elab_Term_mkExplicitBinder(x_1706, x_1710); +x_1712 = lean_array_push(x_4, x_1711); +x_1713 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1709, x_1712, x_5, x_1707); +if (lean_obj_tag(x_1713) == 0) +{ +uint8_t x_1714; +x_1714 = !lean_is_exclusive(x_1713); +if (x_1714 == 0) +{ +lean_object* x_1715; uint8_t x_1716; +x_1715 = lean_ctor_get(x_1713, 0); +x_1716 = !lean_is_exclusive(x_1715); +if (x_1716 == 0) +{ +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; uint8_t x_1724; +x_1717 = lean_ctor_get(x_1715, 1); +x_1718 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1706); +x_1719 = l_Lean_mkOptionalNode___closed__1; +x_1720 = lean_array_push(x_1719, x_1718); +x_1721 = l_Lean_nullKind___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); +lean_inc(x_11); +x_1723 = lean_array_push(x_1719, x_11); +x_1724 = !lean_is_exclusive(x_11); +if (x_1724 == 0) +{ +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; +x_1725 = lean_ctor_get(x_11, 1); +lean_dec(x_1725); +x_1726 = lean_ctor_get(x_11, 0); +lean_dec(x_1726); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 1, x_1723); +lean_ctor_set(x_11, 0, x_1721); +x_1727 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1728 = lean_array_push(x_1727, x_11); +x_1729 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1730 = lean_array_push(x_1728, x_1729); +x_1731 = lean_array_push(x_1730, x_1717); +x_1732 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1733 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1733, 0, x_1732); +lean_ctor_set(x_1733, 1, x_1731); +x_1734 = lean_array_push(x_1719, x_1733); +x_1735 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1735, 0, x_1721); +lean_ctor_set(x_1735, 1, x_1734); +x_1736 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1737 = lean_array_push(x_1736, x_1722); +x_1738 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1739 = lean_array_push(x_1737, x_1738); +x_1740 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1741 = lean_array_push(x_1739, x_1740); +x_1742 = lean_array_push(x_1741, x_1735); +x_1743 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1744 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1744, 0, x_1743); +lean_ctor_set(x_1744, 1, x_1742); +lean_ctor_set(x_1715, 1, x_1744); +return x_1713; +} +else +{ +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_dec(x_11); +x_1745 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1745, 0, x_1721); +lean_ctor_set(x_1745, 1, x_1723); +x_1746 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1747 = lean_array_push(x_1746, x_1745); +x_1748 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1749 = lean_array_push(x_1747, x_1748); +x_1750 = lean_array_push(x_1749, x_1717); +x_1751 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1752, 0, x_1751); +lean_ctor_set(x_1752, 1, x_1750); +x_1753 = lean_array_push(x_1719, x_1752); +x_1754 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1754, 0, x_1721); +lean_ctor_set(x_1754, 1, x_1753); +x_1755 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1756 = lean_array_push(x_1755, x_1722); +x_1757 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1758 = lean_array_push(x_1756, x_1757); +x_1759 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1760 = lean_array_push(x_1758, x_1759); +x_1761 = lean_array_push(x_1760, x_1754); +x_1762 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1763 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1763, 0, x_1762); +lean_ctor_set(x_1763, 1, x_1761); +lean_ctor_set(x_1715, 1, x_1763); +return x_1713; } } -lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +else +{ +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; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; +x_1764 = lean_ctor_get(x_1715, 0); +x_1765 = lean_ctor_get(x_1715, 1); +lean_inc(x_1765); +lean_inc(x_1764); +lean_dec(x_1715); +x_1766 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1706); +x_1767 = l_Lean_mkOptionalNode___closed__1; +x_1768 = lean_array_push(x_1767, x_1766); +x_1769 = l_Lean_nullKind___closed__2; +x_1770 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1770, 0, x_1769); +lean_ctor_set(x_1770, 1, x_1768); +lean_inc(x_11); +x_1771 = lean_array_push(x_1767, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1772 = x_11; +} else { + lean_dec_ref(x_11); + x_1772 = lean_box(0); +} +if (lean_is_scalar(x_1772)) { + x_1773 = lean_alloc_ctor(1, 2, 0); +} else { + x_1773 = x_1772; + lean_ctor_set_tag(x_1773, 1); +} +lean_ctor_set(x_1773, 0, x_1769); +lean_ctor_set(x_1773, 1, x_1771); +x_1774 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1775 = lean_array_push(x_1774, x_1773); +x_1776 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1777 = lean_array_push(x_1775, x_1776); +x_1778 = lean_array_push(x_1777, x_1765); +x_1779 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1780 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1780, 0, x_1779); +lean_ctor_set(x_1780, 1, x_1778); +x_1781 = lean_array_push(x_1767, x_1780); +x_1782 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1782, 0, x_1769); +lean_ctor_set(x_1782, 1, x_1781); +x_1783 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1784 = lean_array_push(x_1783, x_1770); +x_1785 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1786 = lean_array_push(x_1784, x_1785); +x_1787 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1788 = lean_array_push(x_1786, x_1787); +x_1789 = lean_array_push(x_1788, x_1782); +x_1790 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1791, 0, x_1790); +lean_ctor_set(x_1791, 1, x_1789); +x_1792 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1792, 0, x_1764); +lean_ctor_set(x_1792, 1, x_1791); +lean_ctor_set(x_1713, 0, x_1792); +return x_1713; +} +} +else +{ +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_1793 = lean_ctor_get(x_1713, 0); +x_1794 = lean_ctor_get(x_1713, 1); +lean_inc(x_1794); +lean_inc(x_1793); +lean_dec(x_1713); +x_1795 = lean_ctor_get(x_1793, 0); +lean_inc(x_1795); +x_1796 = lean_ctor_get(x_1793, 1); +lean_inc(x_1796); +if (lean_is_exclusive(x_1793)) { + lean_ctor_release(x_1793, 0); + lean_ctor_release(x_1793, 1); + x_1797 = x_1793; +} else { + lean_dec_ref(x_1793); + x_1797 = lean_box(0); +} +x_1798 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1706); +x_1799 = l_Lean_mkOptionalNode___closed__1; +x_1800 = lean_array_push(x_1799, x_1798); +x_1801 = l_Lean_nullKind___closed__2; +x_1802 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1802, 0, x_1801); +lean_ctor_set(x_1802, 1, x_1800); +lean_inc(x_11); +x_1803 = lean_array_push(x_1799, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1804 = x_11; +} else { + lean_dec_ref(x_11); + x_1804 = lean_box(0); +} +if (lean_is_scalar(x_1804)) { + x_1805 = lean_alloc_ctor(1, 2, 0); +} else { + x_1805 = x_1804; + lean_ctor_set_tag(x_1805, 1); +} +lean_ctor_set(x_1805, 0, x_1801); +lean_ctor_set(x_1805, 1, x_1803); +x_1806 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1807 = lean_array_push(x_1806, x_1805); +x_1808 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1809 = lean_array_push(x_1807, x_1808); +x_1810 = lean_array_push(x_1809, x_1796); +x_1811 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1812 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1812, 0, x_1811); +lean_ctor_set(x_1812, 1, x_1810); +x_1813 = lean_array_push(x_1799, x_1812); +x_1814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1814, 0, x_1801); +lean_ctor_set(x_1814, 1, x_1813); +x_1815 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1816 = lean_array_push(x_1815, x_1802); +x_1817 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1818 = lean_array_push(x_1816, x_1817); +x_1819 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1820 = lean_array_push(x_1818, x_1819); +x_1821 = lean_array_push(x_1820, x_1814); +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_1797)) { + x_1824 = lean_alloc_ctor(0, 2, 0); +} else { + x_1824 = x_1797; +} +lean_ctor_set(x_1824, 0, x_1795); +lean_ctor_set(x_1824, 1, x_1823); +x_1825 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1825, 0, x_1824); +lean_ctor_set(x_1825, 1, x_1794); +return x_1825; +} +} +else +{ +uint8_t x_1826; +lean_dec(x_1706); +lean_dec(x_11); +x_1826 = !lean_is_exclusive(x_1713); +if (x_1826 == 0) +{ +return x_1713; +} +else +{ +lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; +x_1827 = lean_ctor_get(x_1713, 0); +x_1828 = lean_ctor_get(x_1713, 1); +lean_inc(x_1828); +lean_inc(x_1827); +lean_dec(x_1713); +x_1829 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1829, 0, x_1827); +lean_ctor_set(x_1829, 1, x_1828); +return x_1829; +} +} +} +default: +{ +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; +x_1830 = l___private_Init_Lean_Elab_Term_5__mkFreshAnonymousIdent(x_11, x_5, x_6); +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 = lean_unsigned_to_nat(1u); +x_1834 = lean_nat_add(x_3, x_1833); +lean_dec(x_3); +x_1835 = l_Lean_Elab_Term_mkHole; +lean_inc(x_1831); +x_1836 = l_Lean_Elab_Term_mkExplicitBinder(x_1831, x_1835); +x_1837 = lean_array_push(x_4, x_1836); +x_1838 = l_Lean_Elab_Term_expandFunBindersAux___main(x_1, x_2, x_1834, x_1837, x_5, x_1832); +if (lean_obj_tag(x_1838) == 0) +{ +uint8_t x_1839; +x_1839 = !lean_is_exclusive(x_1838); +if (x_1839 == 0) +{ +lean_object* x_1840; uint8_t x_1841; +x_1840 = lean_ctor_get(x_1838, 0); +x_1841 = !lean_is_exclusive(x_1840); +if (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; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; +x_1842 = lean_ctor_get(x_1840, 1); +x_1843 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1831); +x_1844 = l_Lean_mkOptionalNode___closed__1; +x_1845 = lean_array_push(x_1844, x_1843); +x_1846 = l_Lean_nullKind___closed__2; +x_1847 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1847, 0, x_1846); +lean_ctor_set(x_1847, 1, x_1845); +x_1848 = lean_array_push(x_1844, x_11); +x_1849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1849, 0, x_1846); +lean_ctor_set(x_1849, 1, x_1848); +x_1850 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1851 = lean_array_push(x_1850, x_1849); +x_1852 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1853 = lean_array_push(x_1851, x_1852); +x_1854 = lean_array_push(x_1853, x_1842); +x_1855 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1856 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1856, 0, x_1855); +lean_ctor_set(x_1856, 1, x_1854); +x_1857 = lean_array_push(x_1844, x_1856); +x_1858 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1858, 0, x_1846); +lean_ctor_set(x_1858, 1, x_1857); +x_1859 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1860 = lean_array_push(x_1859, x_1847); +x_1861 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1862 = lean_array_push(x_1860, x_1861); +x_1863 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1864 = lean_array_push(x_1862, x_1863); +x_1865 = lean_array_push(x_1864, x_1858); +x_1866 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1867, 0, x_1866); +lean_ctor_set(x_1867, 1, x_1865); +lean_ctor_set(x_1840, 1, x_1867); +return x_1838; +} +else +{ +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; +x_1868 = lean_ctor_get(x_1840, 0); +x_1869 = lean_ctor_get(x_1840, 1); +lean_inc(x_1869); +lean_inc(x_1868); +lean_dec(x_1840); +x_1870 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1831); +x_1871 = l_Lean_mkOptionalNode___closed__1; +x_1872 = lean_array_push(x_1871, x_1870); +x_1873 = l_Lean_nullKind___closed__2; +x_1874 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1874, 0, x_1873); +lean_ctor_set(x_1874, 1, x_1872); +x_1875 = lean_array_push(x_1871, x_11); +x_1876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1876, 0, x_1873); +lean_ctor_set(x_1876, 1, x_1875); +x_1877 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1878 = lean_array_push(x_1877, x_1876); +x_1879 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1880 = lean_array_push(x_1878, x_1879); +x_1881 = lean_array_push(x_1880, x_1869); +x_1882 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1883, 0, x_1882); +lean_ctor_set(x_1883, 1, x_1881); +x_1884 = lean_array_push(x_1871, x_1883); +x_1885 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1885, 0, x_1873); +lean_ctor_set(x_1885, 1, x_1884); +x_1886 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1887 = lean_array_push(x_1886, x_1874); +x_1888 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1889 = lean_array_push(x_1887, x_1888); +x_1890 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1891 = lean_array_push(x_1889, x_1890); +x_1892 = lean_array_push(x_1891, x_1885); +x_1893 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1894, 0, x_1893); +lean_ctor_set(x_1894, 1, x_1892); +x_1895 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1895, 0, x_1868); +lean_ctor_set(x_1895, 1, x_1894); +lean_ctor_set(x_1838, 0, x_1895); +return x_1838; +} +} +else +{ +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; +x_1896 = lean_ctor_get(x_1838, 0); +x_1897 = lean_ctor_get(x_1838, 1); +lean_inc(x_1897); +lean_inc(x_1896); +lean_dec(x_1838); +x_1898 = lean_ctor_get(x_1896, 0); +lean_inc(x_1898); +x_1899 = lean_ctor_get(x_1896, 1); +lean_inc(x_1899); +if (lean_is_exclusive(x_1896)) { + lean_ctor_release(x_1896, 0); + lean_ctor_release(x_1896, 1); + x_1900 = x_1896; +} else { + lean_dec_ref(x_1896); + x_1900 = lean_box(0); +} +x_1901 = l_Lean_Elab_Term_mkTermIdFromIdent(x_1831); +x_1902 = l_Lean_mkOptionalNode___closed__1; +x_1903 = lean_array_push(x_1902, x_1901); +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 = lean_array_push(x_1902, x_11); +x_1907 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1907, 0, x_1904); +lean_ctor_set(x_1907, 1, x_1906); +x_1908 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__7; +x_1909 = lean_array_push(x_1908, x_1907); +x_1910 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_1911 = lean_array_push(x_1909, x_1910); +x_1912 = lean_array_push(x_1911, x_1899); +x_1913 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1914 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1914, 0, x_1913); +lean_ctor_set(x_1914, 1, x_1912); +x_1915 = lean_array_push(x_1902, x_1914); +x_1916 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1916, 0, x_1904); +lean_ctor_set(x_1916, 1, x_1915); +x_1917 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__8; +x_1918 = lean_array_push(x_1917, x_1905); +x_1919 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_1920 = lean_array_push(x_1918, x_1919); +x_1921 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__4; +x_1922 = lean_array_push(x_1920, x_1921); +x_1923 = lean_array_push(x_1922, x_1916); +x_1924 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1925 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1925, 0, x_1924); +lean_ctor_set(x_1925, 1, x_1923); +if (lean_is_scalar(x_1900)) { + x_1926 = lean_alloc_ctor(0, 2, 0); +} else { + x_1926 = x_1900; +} +lean_ctor_set(x_1926, 0, x_1898); +lean_ctor_set(x_1926, 1, x_1925); +x_1927 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1927, 0, x_1926); +lean_ctor_set(x_1927, 1, x_1897); +return x_1927; +} +} +else +{ +uint8_t x_1928; +lean_dec(x_1831); +lean_dec(x_11); +x_1928 = !lean_is_exclusive(x_1838); +if (x_1928 == 0) +{ +return x_1838; +} +else +{ +lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; +x_1929 = lean_ctor_get(x_1838, 0); +x_1930 = lean_ctor_get(x_1838, 1); +lean_inc(x_1930); +lean_inc(x_1929); +lean_dec(x_1838); +x_1931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1931, 0, x_1929); +lean_ctor_set(x_1931, 1, x_1930); +return x_1931; +} +} +} +} +} +} +} +lean_object* l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2___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_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_1); return x_5; @@ -29656,30 +34019,530 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("type mismatch"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_ensureHasType___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_ensureHasType___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_ensureHasType(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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_7; +lean_dec(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +lean_inc(x_5); +lean_inc(x_8); +lean_inc(x_3); +x_9 = l_Lean_Elab_Term_isDefEq(x_1, x_3, x_8, x_5, x_6); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +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; 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; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +lean_inc(x_5); +x_13 = l_Lean_Elab_Term_instantiateMVars(x_1, x_4, x_5, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_5); +x_16 = l_Lean_Elab_Term_instantiateMVars(x_1, x_3, x_5, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_5); +x_19 = l_Lean_Elab_Term_instantiateMVars(x_1, x_8, x_5, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_22, 0, x_14); +x_23 = l_Lean_indentExpr(x_22); +x_24 = l_Lean_Elab_Term_ensureHasType___closed__3; +x_25 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_MessageData_ofList___closed__3; +x_27 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__8; +x_29 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_17); +x_31 = l_Lean_indentExpr(x_30); +x_32 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_26); +x_34 = l_Lean_KernelException_toMessageData___closed__12; +x_35 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_20); +x_37 = l_Lean_indentExpr(x_36); +x_38 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1(x_1, x_38, x_5, x_21); +lean_dec(x_5); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_9); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_9, 0); +lean_dec(x_41); +lean_ctor_set(x_9, 0, x_4); +return x_9; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_9, 1); +lean_inc(x_42); +lean_dec(x_9); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_4); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_9); +if (x_44 == 0) +{ +return x_9; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_9, 0); +x_46 = lean_ctor_get(x_9, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_9); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +} +} +lean_object* l_Lean_Elab_Term_ensureHasType___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_Lean_Elab_Term_ensureHasType(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_1); +return x_7; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Prod.mk"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_mkPairsAux___main___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_mkPairsAux___main___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_mkPairsAux___main___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Prod"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("mk"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_mkPairsAux___main___closed__5; +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_mkPairsAux___main___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__7; +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_Term_mkPairsAux___main___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_mkPairsAux___main___closed__8; +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_Term_mkPairsAux___main(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; uint8_t x_7; +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_lt(x_6, x_2); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_5); +return x_8; +} +else +{ +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; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_sub(x_2, x_9); +lean_dec(x_2); +x_11 = l_Lean_stxInh; +x_12 = lean_array_get(x_11, x_1, x_10); +x_13 = lean_ctor_get(x_4, 8); +x_14 = l_List_head_x21___at_Lean_Elab_Term_TermElabM_MonadQuotation___spec__2(x_13); +x_15 = lean_box(0); +x_16 = l_Lean_Elab_Term_mkPairsAux___main___closed__7; +x_17 = lean_name_mk_numeral(x_16, x_14); +x_18 = l_Lean_Elab_Term_mkPairsAux___main___closed__3; +x_19 = l_Lean_Elab_Term_mkPairsAux___main___closed__9; +x_20 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_18); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_19); +x_21 = l_Array_iterateMAux___main___at_Lean_mkAppStx___spec__1___closed__1; +x_22 = lean_array_push(x_21, x_20); +x_23 = l_Lean_Elab_Term_expandFunBindersAux___main___closed__2; +x_24 = lean_array_push(x_22, x_23); +x_25 = l_Lean_Parser_Term_id___elambda__1___closed__4; +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_array_push(x_21, x_26); +x_28 = lean_array_push(x_27, x_12); +x_29 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_array_push(x_21, x_30); +x_32 = lean_array_push(x_31, x_3); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_32); +x_2 = x_10; +x_3 = x_33; +goto _start; +} +} +} +lean_object* l_Lean_Elab_Term_mkPairsAux___main___boxed(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; +x_6 = l_Lean_Elab_Term_mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_mkPairsAux(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; +x_6 = l_Lean_Elab_Term_mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_mkPairsAux___boxed(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; +x_6 = l_Lean_Elab_Term_mkPairsAux(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_mkPairs(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_array_get_size(x_1); +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_nat_sub(x_4, x_5); +lean_dec(x_4); +x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_1); +x_8 = l_Lean_Elab_Term_mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); +return x_8; +} +} +lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Term_mkPairs(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_Elab_Term_elabCDot(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_inc(x_1); +x_5 = l_Lean_Elab_Term_expandCDot_x3f(x_1, x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = l_Lean_Elab_Term_elabTerm(x_1, x_2, x_3, x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = !lean_is_exclusive(x_3); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 7); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_3, 7, x_13); +x_14 = l_Lean_Elab_Term_elabTerm(x_10, x_2, x_3, x_9); +return x_14; +} +else +{ +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; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); +x_17 = lean_ctor_get(x_3, 2); +x_18 = lean_ctor_get(x_3, 3); +x_19 = lean_ctor_get(x_3, 4); +x_20 = lean_ctor_get(x_3, 5); +x_21 = lean_ctor_get(x_3, 6); +x_22 = lean_ctor_get(x_3, 7); +x_23 = lean_ctor_get(x_3, 8); +x_24 = lean_ctor_get_uint8(x_3, sizeof(void*)*9); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_3); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_22); +x_26 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_16); +lean_ctor_set(x_26, 2, x_17); +lean_ctor_set(x_26, 3, x_18); +lean_ctor_set(x_26, 4, x_19); +lean_ctor_set(x_26, 5, x_20); +lean_ctor_set(x_26, 6, x_21); +lean_ctor_set(x_26, 7, x_25); +lean_ctor_set(x_26, 8, x_23); +lean_ctor_set_uint8(x_26, sizeof(void*)*9, x_24); +x_27 = l_Lean_Elab_Term_elabTerm(x_10, x_2, x_26, x_9); +return x_27; +} +} +} +} lean_object* _init_l_Lean_Elab_Term_elabParen___closed__1() { _start: { lean_object* x_1; +x_1 = lean_mk_string("unexpected parentheses notation"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabParen___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabParen___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__4() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string("unit"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__2() { +lean_object* _init_l_Lean_Elab_Term_elabParen___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_declareBuiltinParser___closed__5; -x_2 = l_Lean_Elab_Term_elabParen___closed__1; +x_2 = l_Lean_Elab_Term_elabParen___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_elabParen___closed__3() { +lean_object* _init_l_Lean_Elab_Term_elabParen___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_elabParen___closed__2; +x_2 = l_Lean_Elab_Term_elabParen___closed__5; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } @@ -29689,40 +34552,265 @@ _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); x_6 = l_Lean_stxInh; x_7 = lean_unsigned_to_nat(1u); x_8 = lean_array_get(x_6, x_5, x_7); +lean_dec(x_5); x_9 = l_Lean_Syntax_isNone(x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_10 = lean_unsigned_to_nat(0u); x_11 = l_Lean_Syntax_getArg(x_8, x_10); +x_12 = l_Lean_Syntax_getArg(x_8, x_7); lean_dec(x_8); -x_12 = l_Lean_Elab_Term_elabTerm(x_11, x_2, x_3, x_4); -return x_12; +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = l_Lean_Syntax_getArg(x_12, x_10); +lean_dec(x_12); +x_15 = l_Lean_Syntax_getKind(x_14); +x_16 = l_Lean_Parser_Term_typeAscription___elambda__1___rarg___closed__2; +x_17 = lean_name_eq(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +x_19 = lean_name_eq(x_15, x_18); +lean_dec(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_2); +x_20 = l_Lean_Elab_Term_elabParen___closed__3; +x_21 = l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1(x_1, x_20, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_21; } else { -lean_object* x_13; lean_object* x_14; +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; uint8_t x_31; +x_22 = l_Lean_Syntax_getArg(x_14, x_7); +lean_dec(x_14); +x_23 = l_Lean_mkOptionalNode___closed__1; +x_24 = lean_array_push(x_23, x_11); +x_25 = l_Lean_Syntax_getArgs(x_22); +lean_dec(x_22); +x_26 = lean_unsigned_to_nat(2u); +x_27 = l_Lean_Syntax_foldArgsAuxM___main___at_Lean_Syntax_foldSepRevArgsM___spec__1(x_26, x_25, x_10, x_24); +lean_dec(x_25); +x_28 = l_Lean_Elab_Term_mkPairs(x_27, x_3, x_4); +lean_dec(x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = !lean_is_exclusive(x_3); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_3, 7); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_3, 7, x_33); +x_34 = l_Lean_Elab_Term_elabTerm(x_29, x_2, x_3, x_30); +return x_34; +} +else +{ +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; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_35 = lean_ctor_get(x_3, 0); +x_36 = lean_ctor_get(x_3, 1); +x_37 = lean_ctor_get(x_3, 2); +x_38 = lean_ctor_get(x_3, 3); +x_39 = lean_ctor_get(x_3, 4); +x_40 = lean_ctor_get(x_3, 5); +x_41 = lean_ctor_get(x_3, 6); +x_42 = lean_ctor_get(x_3, 7); +x_43 = lean_ctor_get(x_3, 8); +x_44 = lean_ctor_get_uint8(x_3, sizeof(void*)*9); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_3); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_1); +lean_ctor_set(x_45, 1, x_42); +x_46 = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(x_46, 0, x_35); +lean_ctor_set(x_46, 1, x_36); +lean_ctor_set(x_46, 2, x_37); +lean_ctor_set(x_46, 3, x_38); +lean_ctor_set(x_46, 4, x_39); +lean_ctor_set(x_46, 5, x_40); +lean_ctor_set(x_46, 6, x_41); +lean_ctor_set(x_46, 7, x_45); +lean_ctor_set(x_46, 8, x_43); +lean_ctor_set_uint8(x_46, sizeof(void*)*9, x_44); +x_47 = l_Lean_Elab_Term_elabTerm(x_29, x_2, x_46, x_30); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_15); +x_48 = l_Lean_Syntax_getArg(x_14, x_7); +lean_dec(x_14); +lean_inc(x_3); +x_49 = l_Lean_Elab_Term_elabType(x_48, x_3, x_4); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +lean_inc(x_3); +x_52 = l_Lean_Elab_Term_elabCDot(x_11, x_2, x_3, x_51); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +lean_inc(x_3); +lean_inc(x_53); +x_55 = l_Lean_Elab_Term_inferType(x_1, x_53, x_3, x_54); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_50); +x_59 = l_Lean_Elab_Term_ensureHasType(x_1, x_58, x_56, x_53, x_3, x_57); +lean_dec(x_1); +return x_59; +} +else +{ +uint8_t x_60; +lean_dec(x_53); +lean_dec(x_50); +lean_dec(x_3); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_55); +if (x_60 == 0) +{ +return x_55; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_55, 0); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_55); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_50); +lean_dec(x_3); +lean_dec(x_1); +x_64 = !lean_is_exclusive(x_52); +if (x_64 == 0) +{ +return x_52; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_52, 0); +x_66 = lean_ctor_get(x_52, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_52); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +uint8_t x_68; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = !lean_is_exclusive(x_49); +if (x_68 == 0) +{ +return x_49; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_49, 0); +x_70 = lean_ctor_get(x_49, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_49); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +} +else +{ +lean_object* x_72; +lean_dec(x_12); +lean_dec(x_1); +x_72 = l_Lean_Elab_Term_elabCDot(x_11, x_2, x_3, x_4); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_13 = l_Lean_Elab_Term_elabParen___closed__3; -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_4); -return x_14; -} -} -} -lean_object* l_Lean_Elab_Term_elabParen___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_Lean_Elab_Term_elabParen(x_1, x_2, x_3, x_4); lean_dec(x_1); -return x_5; +x_73 = l_Lean_Elab_Term_elabParen___closed__6; +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_4); +return x_74; +} } } lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1() { @@ -29747,7 +34835,7 @@ lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__3() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen), 4, 0); return x_1; } } @@ -30199,7 +35287,7 @@ x_18 = l_Lean_Elab_Term_addNamedArg___closed__6; x_19 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_19, x_4, x_5); +x_20 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_19, x_4, x_5); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -30919,7 +36007,7 @@ lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_free_object(x_11); lean_dec(x_13); x_16 = l_Lean_Elab_Term_mkConst___closed__7; -x_17 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_16, x_5, x_14); +x_17 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_16, x_5, x_14); lean_dec(x_5); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) @@ -30964,7 +36052,7 @@ else 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_dec(x_22); x_26 = l_Lean_Elab_Term_mkConst___closed__7; -x_27 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_26, x_5, x_23); +x_27 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_26, x_5, x_23); lean_dec(x_5); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); @@ -31040,7 +36128,7 @@ lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_free_object(x_43); lean_dec(x_45); x_48 = l_Lean_Elab_Term_mkConst___closed__7; -x_49 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_48, x_5, x_46); +x_49 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_48, x_5, x_46); lean_dec(x_5); x_50 = !lean_is_exclusive(x_49); if (x_50 == 0) @@ -31085,7 +36173,7 @@ else 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_dec(x_54); x_58 = l_Lean_Elab_Term_mkConst___closed__7; -x_59 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_58, x_5, x_55); +x_59 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_58, x_5, x_55); lean_dec(x_5); x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); @@ -31129,7 +36217,7 @@ x_70 = l_Lean_Elab_Term_mkConst___closed__4; x_71 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_71, 0, x_69); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_71, x_5, x_40); +x_72 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_71, x_5, x_40); lean_dec(x_5); x_73 = !lean_is_exclusive(x_72); if (x_73 == 0) @@ -31192,7 +36280,7 @@ x_90 = l_Lean_Elab_Term_resolveName___closed__9; x_91 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_91, 0, x_89); lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_91, x_5, x_79); +x_92 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_91, x_5, x_79); lean_dec(x_5); x_93 = !lean_is_exclusive(x_92); if (x_93 == 0) @@ -31256,7 +36344,7 @@ x_109 = l_Lean_Elab_Term_resolveName___closed__9; x_110 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_110, 0, x_108); lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_110, x_5, x_99); +x_111 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_110, x_5, x_99); lean_dec(x_5); x_112 = lean_ctor_get(x_111, 0); lean_inc(x_112); @@ -31306,195 +36394,6 @@ lean_dec(x_1); return x_7; } } -lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type mismatch"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_ensureHasType___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_ensureHasType___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_ensureHasType___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Lean_Elab_Term_ensureHasType(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: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_7; -lean_dec(x_5); -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_6); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -lean_dec(x_2); -lean_inc(x_5); -lean_inc(x_8); -lean_inc(x_3); -x_9 = l_Lean_Elab_Term_isDefEq(x_1, x_3, x_8, x_5, x_6); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_unbox(x_10); -lean_dec(x_10); -if (x_11 == 0) -{ -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; 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; -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_dec(x_9); -lean_inc(x_5); -x_13 = l_Lean_Elab_Term_instantiateMVars(x_1, x_4, x_5, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_5); -x_16 = l_Lean_Elab_Term_instantiateMVars(x_1, x_3, x_5, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_5); -x_19 = l_Lean_Elab_Term_instantiateMVars(x_1, x_8, x_5, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_22, 0, x_14); -x_23 = l_Lean_indentExpr(x_22); -x_24 = l_Lean_Elab_Term_ensureHasType___closed__3; -x_25 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = l_Lean_MessageData_ofList___closed__3; -x_27 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__8; -x_29 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_30, 0, x_17); -x_31 = l_Lean_indentExpr(x_30); -x_32 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_26); -x_34 = l_Lean_KernelException_toMessageData___closed__12; -x_35 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_36, 0, x_20); -x_37 = l_Lean_indentExpr(x_36); -x_38 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1(x_1, x_38, x_5, x_21); -lean_dec(x_5); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -x_40 = !lean_is_exclusive(x_9); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_9, 0); -lean_dec(x_41); -lean_ctor_set(x_9, 0, x_4); -return x_9; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_9, 1); -lean_inc(x_42); -lean_dec(x_9); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_4); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -else -{ -uint8_t x_44; -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_44 = !lean_is_exclusive(x_9); -if (x_44 == 0) -{ -return x_9; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_9, 0); -x_46 = lean_ctor_get(x_9, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_9); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} -} -} -lean_object* l_Lean_Elab_Term_ensureHasType___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_Lean_Elab_Term_ensureHasType(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_1); -return x_7; -} -} lean_object* l_Lean_Elab_Term_consumeDefaultParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -31656,7 +36555,7 @@ x_21 = l_Lean_Elab_Term_synthesizeInstMVar___closed__3; x_22 = lean_alloc_ctor(8, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_22, x_3, x_18); +x_23 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_22, x_3, x_18); lean_dec(x_3); return x_23; } @@ -33515,7 +38414,7 @@ lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); x_50 = l___private_Init_Lean_Elab_Term_21__resolveLValAux___closed__18; -x_51 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_50, x_5, x_6); +x_51 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_50, x_5, x_6); x_52 = !lean_is_exclusive(x_51); if (x_52 == 0) { @@ -36444,7 +41343,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_12 = l___private_Init_Lean_Elab_Term_27__elabAppLVals___closed__3; -x_13 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__3(x_1, x_12, x_8, x_9); +x_13 = l_Lean_Elab_throwError___at_Lean_Elab_Term_expandFunBindersAux___main___spec__2(x_1, x_12, x_8, x_9); lean_dec(x_8); lean_dec(x_1); x_14 = !lean_is_exclusive(x_13); @@ -38671,6 +43570,91 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Lean_Elab_Term_elabBadCDot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid occurrence of `·` notation, it must be surrounded by parentheses (e.g. `(· + 1)`)"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_elabBadCDot___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabBadCDot___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_elabBadCDot___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_elabBadCDot___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot(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; +x_5 = l_Lean_Elab_Term_elabBadCDot___closed__3; +x_6 = l_Lean_Elab_throwError___at_Lean_Elab_Term_elabTerm___spec__1(x_1, x_5, x_3, x_4); +return x_6; +} +} +lean_object* l_Lean_Elab_Term_elabBadCDot___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_Lean_Elab_Term_elabBadCDot(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabBadCDot"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; +x_2 = l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBadCDot___boxed), 4, 0); +return x_1; +} +} +lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot(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_cdot___elambda__1___rarg___closed__2; +x_3 = l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2; +x_4 = l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; +x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* _init_l_Lean_Elab_Term_elabStr___closed__1() { _start: { @@ -39373,6 +44357,12 @@ l_Lean_Elab_Term_exceptionToSorry___closed__2 = _init_l_Lean_Elab_Term_exception lean_mark_persistent(l_Lean_Elab_Term_exceptionToSorry___closed__2); l_Lean_Elab_Term_exceptionToSorry___closed__3 = _init_l_Lean_Elab_Term_exceptionToSorry___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_exceptionToSorry___closed__3); +l_Lean_Elab_Term_expandCDot_x3f___closed__1 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__1); +l_Lean_Elab_Term_expandCDot_x3f___closed__2 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__2); +l_Lean_Elab_Term_expandCDot_x3f___closed__3 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__3); l_Lean_Elab_Term_elabTerm___closed__1 = _init_l_Lean_Elab_Term_elabTerm___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabTerm___closed__1); l_Lean_Elab_Term_elabTerm___closed__2 = _init_l_Lean_Elab_Term_elabTerm___closed__2(); @@ -39480,6 +44470,16 @@ l_Lean_Elab_Term_expandFunBindersAux___main___closed__5 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__5); l_Lean_Elab_Term_expandFunBindersAux___main___closed__6 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__6(); lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__6); +l_Lean_Elab_Term_expandFunBindersAux___main___closed__7 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__7); +l_Lean_Elab_Term_expandFunBindersAux___main___closed__8 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__8); +l_Lean_Elab_Term_expandFunBindersAux___main___closed__9 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__9); +l_Lean_Elab_Term_expandFunBindersAux___main___closed__10 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__10); +l_Lean_Elab_Term_expandFunBindersAux___main___closed__11 = _init_l_Lean_Elab_Term_expandFunBindersAux___main___closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_expandFunBindersAux___main___closed__11); 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(); @@ -39489,12 +44489,42 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__3); res = l___regBuiltinTermElab_Lean_Elab_Term_elabFun(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_ensureHasType___closed__1 = _init_l_Lean_Elab_Term_ensureHasType___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__1); +l_Lean_Elab_Term_ensureHasType___closed__2 = _init_l_Lean_Elab_Term_ensureHasType___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__2); +l_Lean_Elab_Term_ensureHasType___closed__3 = _init_l_Lean_Elab_Term_ensureHasType___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__3); +l_Lean_Elab_Term_mkPairsAux___main___closed__1 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__1); +l_Lean_Elab_Term_mkPairsAux___main___closed__2 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__2); +l_Lean_Elab_Term_mkPairsAux___main___closed__3 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__3); +l_Lean_Elab_Term_mkPairsAux___main___closed__4 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__4); +l_Lean_Elab_Term_mkPairsAux___main___closed__5 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__5); +l_Lean_Elab_Term_mkPairsAux___main___closed__6 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__6); +l_Lean_Elab_Term_mkPairsAux___main___closed__7 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__7); +l_Lean_Elab_Term_mkPairsAux___main___closed__8 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__8); +l_Lean_Elab_Term_mkPairsAux___main___closed__9 = _init_l_Lean_Elab_Term_mkPairsAux___main___closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_mkPairsAux___main___closed__9); l_Lean_Elab_Term_elabParen___closed__1 = _init_l_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__1); l_Lean_Elab_Term_elabParen___closed__2 = _init_l_Lean_Elab_Term_elabParen___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__2); l_Lean_Elab_Term_elabParen___closed__3 = _init_l_Lean_Elab_Term_elabParen___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__3); +l_Lean_Elab_Term_elabParen___closed__4 = _init_l_Lean_Elab_Term_elabParen___closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__4); +l_Lean_Elab_Term_elabParen___closed__5 = _init_l_Lean_Elab_Term_elabParen___closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__5); +l_Lean_Elab_Term_elabParen___closed__6 = _init_l_Lean_Elab_Term_elabParen___closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__6); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2(); @@ -39575,12 +44605,6 @@ l_Lean_Elab_Term_resolveName___closed__8 = _init_l_Lean_Elab_Term_resolveName___ lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__8); l_Lean_Elab_Term_resolveName___closed__9 = _init_l_Lean_Elab_Term_resolveName___closed__9(); lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__9); -l_Lean_Elab_Term_ensureHasType___closed__1 = _init_l_Lean_Elab_Term_ensureHasType___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__1); -l_Lean_Elab_Term_ensureHasType___closed__2 = _init_l_Lean_Elab_Term_ensureHasType___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__2); -l_Lean_Elab_Term_ensureHasType___closed__3 = _init_l_Lean_Elab_Term_ensureHasType___closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_ensureHasType___closed__3); l_Lean_Elab_Term_synthesizeInstMVar___closed__1 = _init_l_Lean_Elab_Term_synthesizeInstMVar___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVar___closed__1); l_Lean_Elab_Term_synthesizeInstMVar___closed__2 = _init_l_Lean_Elab_Term_synthesizeInstMVar___closed__2(); @@ -39785,6 +44809,21 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed res = l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_elabBadCDot___closed__1 = _init_l_Lean_Elab_Term_elabBadCDot___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___closed__1); +l_Lean_Elab_Term_elabBadCDot___closed__2 = _init_l_Lean_Elab_Term_elabBadCDot___closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___closed__2); +l_Lean_Elab_Term_elabBadCDot___closed__3 = _init_l_Lean_Elab_Term_elabBadCDot___closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_elabBadCDot___closed__3); +l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__1); +l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__2); +l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3(); +lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3); +res = l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Term_elabStr___closed__1 = _init_l_Lean_Elab_Term_elabStr___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabStr___closed__1); l_Lean_Elab_Term_elabStr___closed__2 = _init_l_Lean_Elab_Term_elabStr___closed__2();